We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get errors below when I use the compiled openssl library (version 1.1.1a) .
Build command failed. Error while executing process D:\Android\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {--build D:\work\Android\library\securitylib\securitylib\.externalNativeBuild\cmake\debug\armeabi-v7a --target security-lib} [1/1] Linking CXX shared library ..\..\..\..\build\intermediates\cmake\debug\obj\armeabi-v7a\libsecurity-lib.so FAILED: cmd.exe /C "cd . && D:\Android\sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi19 --gcc-toolchain=D:/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=D:/Android/sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -march=armv7-a -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -frtti -fexceptions -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -static-libstdc++ -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--exclude-libs,libunwind.a -Wl,--no-undefined -Qunused-arguments -Wl,-z,noexecstack -shared -Wl,-soname,libsecurity-lib.so -o ..\..\..\..\build\intermediates\cmake\debug\obj\armeabi-v7a\libsecurity-lib.so CMakeFiles/security-lib.dir/src/main/cpp/security-lib.cpp.o CMakeFiles/security-lib.dir/src/main/cpp/MyAES.cpp.o CMakeFiles/security-lib.dir/src/main/cpp/MyBASE64.cpp.o CMakeFiles/security-lib.dir/src/main/cpp/MyRSA.cpp.o -LD:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a -Wl,-Bstatic -lcrypto -lssl -Wl,-Bdynamic -llog -latomic -lm && cd ." D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function zlib_stateful_init: error: undefined reference to 'inflateInit_' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function zlib_stateful_init: error: undefined reference to 'deflateInit_' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function zlib_stateful_finish: error: undefined reference to 'inflateEnd' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function zlib_stateful_finish: error: undefined reference to 'deflateEnd' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function zlib_stateful_compress_block: error: undefined reference to 'deflate' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function zlib_stateful_expand_block: error: undefined reference to 'inflate' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function bio_zlib_write: error: undefined reference to 'deflateInit_' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function bio_zlib_write: error: undefined reference to 'deflate' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function bio_zlib_write: error: undefined reference to 'zError' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function bio_zlib_read: error: undefined reference to 'inflateInit_' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function bio_zlib_read: error: undefined reference to 'inflate' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function bio_zlib_read: error: undefined reference to 'zError' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function bio_zlib_ctrl: error: undefined reference to 'deflate' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function bio_zlib_ctrl: error: undefined reference to 'zError' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function bio_zlib_free: error: undefined reference to 'inflateEnd' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(c_zlib.o):c_zlib.c:function bio_zlib_free: error: undefined reference to 'deflateEnd' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(cryptlib.o):cryptlib.c:function OPENSSL_showfatal: error: undefined reference to 'stderr' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(eng_openssl.o):eng_openssl.c:function openssl_load_privkey: error: undefined reference to 'stderr' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(eng_openssl.o):eng_openssl.c:function test_rc4_init_key: error: undefined reference to 'stderr' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(ui_openssl.o):ui_openssl.c:function open_console: error: undefined reference to 'tcgetattr' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(ui_openssl.o):ui_openssl.c:function open_console: error: undefined reference to 'stdin' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(ui_openssl.o):ui_openssl.c:function open_console: error: undefined reference to 'stderr' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(ui_openssl.o):ui_openssl.c:function close_console: error: undefined reference to 'stdin' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(ui_openssl.o):ui_openssl.c:function read_string_inner: error: undefined reference to 'signal' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(ui_openssl.o):ui_openssl.c:function read_string_inner: error: undefined reference to 'tcsetattr' D:/work/Android/library/securitylib/securitylib/src/main/cpp/openssllib/armeabi-v7a/libcrypto.a(ui_openssl.o):ui_openssl.c:function read_string_inner: error: undefined reference to 'tcsetattr' clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Environment info:
My platform: windows 10 ndk version: 20.0.5594570 app min sdk: 19 compile sdk: 29
Please help me.
The text was updated successfully, but these errors were encountered:
Lack of zlib
Sorry, something went wrong.
No branches or pull requests
I get errors below when I use the compiled openssl library (version 1.1.1a) .
Environment info:
Please help me.
The text was updated successfully, but these errors were encountered: