You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
otherwise:
error[E0432]: unresolved import `crate::sys::IoSourceState`
--> /home/user/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/mio-1.0.3/src/io_source.rs:14:5
|
14 | use crate::sys::IoSourceState;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IoSourceState` in `sys`
tokio-rs/mio#1850tokio-rs/mio#1681tokio-rs/mio#1856
and something like this when openssl is also included:
DEBUG: CMAKECONFIGDIR = /home/user/SOURCE/my/quickstart-chat/server/target/wasm32-unknown-unknown/release/build/openssl-sys-756c4c8b4d61ba02/out/openssl-build/install/lib/cmake/OpenSSL => CMAKECONFIGDIR = /home/user/SOURCE/my/quickstart-chat/server/target/wasm32-unknown-unknown/release/build/openssl-sys-756c4c8b4d61ba02/out/openssl-build/install/lib/cmake/OpenSSL, CMAKECONFIGDIR_REL_LIBDIR = cmake/OpenSSL
In file included from apps/lib/app_provider.c:10:
In file included from apps/include/apps.h:13:
include/internal/common.h:14:11: fatal error: 'stdlib.h' file not found
14 | # include <stdlib.h>
| ^~~~~~~~~~
In file included from apps/lib/app_libctx.c:9:
In file included from apps/include/app_libctx.h:13:
In file included from include/openssl/types.h:32:
include/openssl/e_os2.h:203:12: fatal error: 'sys/types.h' file not found
203 | # include <sys/types.h>
| ^~~~~~~~~~~~~
apps/lib/app_x509.cIn file included from :apps/lib/app_params.c10::1010:
:In file included from apps/include/apps.hfatal error: :'string.h' file not found13
:
include/internal/common.h:14:11 :10 | fatal error: #'stdlib.h' file not foundi
nclude 14< | s#t riinncgl.uhd>e
<| s ^~~~~~~~~~t
dlib.h>
| ^~~~~~~~~~
In file included from apps/lib/app_rand.c:10:
In file included from include/internal/e_os.h:16:
include/openssl/e_os2.h:203:12: fatal error: 'sys/types.h' file not found
203 | # include <sys/types.h>
| ^~~~~~~~~~~~~
In file included from apps/lib/apps.c:21:
In file included from include/openssl/engine.h:24:
In file included from include/openssl/bn.h:20:
include/openssl/e_os2.h:203:12: fatal error: 'sys/types.h' file not found
203 | # include <sys/types.h>
| ^~~~~~~~~~~~~
1 error generated.
make[1]: *** [Makefile:4000: apps/lib/libapps-lib-app_libctx.o] Error 1
make[1]: *** Waiting for unfinished jobs....
1 error generated.
1 error generated.
1 error generated.
make[1]: *** [Makefile:4024: apps/lib/libapps-lib-app_rand.o] Error 1
1 error generated.
make[1]: *** [Makefile:4016: apps/lib/libapps-lib-app_provider.o] Error 1
make[1]: *** [Makefile:4008: apps/lib/libapps-lib-app_params.o] Error 1
make[1]: *** [Makefile:4032: apps/lib/libapps-lib-app_x509.o] Error 1
1 error generated.
make[1]: *** [Makefile:4040: apps/lib/libapps-lib-apps.o] Error 1
make: *** [Makefile:2459: build_libs] Error 2
Error building OpenSSL:
'make' reported failure with exit status: 2
Command failed: cd "/home/user/SOURCE/my/quickstart-chat/server/target/wasm32-unknown-unknown/release/build/openssl-sys-756c4c8b4d61ba02/out/openssl-build/build/src" && MAKEFLAGS="-j --jobserver-fds=8,9 --jobserver-auth=8,9" "make" "build_libs"
Error: command ["cargo", "build", "--config=net.git-fetch-with-cli=true", "--target=wasm32-unknown-unknown", "--release", "--message-format=json-render-diagnostics"] exited with code 101
0 commit comments