84 lines
12 KiB
Plaintext
84 lines
12 KiB
Plaintext
Starting a Gradle Daemon (subsequent builds will be faster)
|
|
|
|
> Task :ccc:externalNativeBuildDebug FAILED
|
|
Build wolfssl x86_64
|
|
[1/1] Re-running CMake...
|
|
-- Configuring done
|
|
-- Generating done
|
|
-- Build files have been written to: /Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/.externalNativeBuild/cmake/debug/x86_64
|
|
ninja: no work to do.
|
|
Build wolfcrypt-jni x86_64
|
|
[1/1] Linking C shared library ../../../../build/intermediates/cmake/debug/obj/x86_64/libwolfcrypt-jni.so
|
|
FAILED: : && /usr/local/opt/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang --target=x86_64-none-linux-android23 --gcc-toolchain=/usr/local/opt/android-sdk/ndk-bundle/toolchains/x86_64-4.9/prebuilt/darwin-x86_64 --sysroot=/usr/local/opt/android-sdk/ndk-bundle/sysroot -fPIC -isystem /usr/local/opt/android-sdk/ndk-bundle/sysroot/usr/include/x86_64-linux-android -g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -Wa,--noexecstack -Wformat -Werror=format-security -D_POSIX_THREADS -DNDEBUG -DPERSIST_SESSION_CACHE -DPERSIST_CERT_CACHE -DATOMIC_USER -DHAVE_PK_CALLBACKS -DNO_DSA -DNO_MD4 -DNO_HC128 -DNO_RABBIT -DHAVE_OCSP -DHAVE_CRL -DWOLFSSL_JNI -DHAVE_DH -Wall -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libatomic.a -nostdlib++ --sysroot /usr/local/opt/android-sdk/ndk-bundle/platforms/android-23/arch-x86_64 -Wl,--build-id -Wl,--warn-shared-textrel -Wl,--fatal-warnings -L/usr/local/opt/android-sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/libs/x86_64 -Wl,--no-undefined -Wl,-z,noexecstack -Qunused-arguments -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libwolfcrypt-jni.so -o ../../../../build/intermediates/cmake/debug/obj/x86_64/libwolfcrypt-jni.so src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_fips.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_native_struct.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_aes.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_des3.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_md5.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_sha.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_rng.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_rsa.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_dh.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_ecc.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_asn.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_logging.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_chacha.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_curve25519.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_ed25519.c.o src/main/cpp/wolfcrypt/CMakeFiles/wolfcrypt-jni.dir/jni/jni_error.c.o -latomic -lm && :
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_native_struct.c:51: error: undefined reference to 'wolfSSL_Free'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_aes.c:40: error: undefined reference to 'wolfSSL_Malloc'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_aes.c:77: error: undefined reference to 'wc_AesSetKey'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_aes.c:126: error: undefined reference to 'wc_AesCbcEncrypt'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_aes.c:130: error: undefined reference to 'wc_AesCbcDecrypt'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_aes.c:191: error: undefined reference to 'wc_AesCbcEncrypt'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_aes.c:195: error: undefined reference to 'wc_AesCbcDecrypt'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_des3.c:40: error: undefined reference to 'wolfSSL_Malloc'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_des3.c:75: error: undefined reference to 'wc_Des3_SetKey'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_des3.c:124: error: undefined reference to 'wc_Des3_CbcEncrypt'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_des3.c:128: error: undefined reference to 'wc_Des3_CbcDecrypt'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_des3.c:189: error: undefined reference to 'wc_Des3_CbcEncrypt'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_des3.c:193: error: undefined reference to 'wc_Des3_CbcDecrypt'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_md5.c:43: error: undefined reference to 'wolfSSL_Malloc'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_md5.c:70: error: undefined reference to 'wc_InitMd5'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_md5.c:96: error: undefined reference to 'wc_Md5Update'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_md5.c:127: error: undefined reference to 'wc_Md5Update'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_md5.c:159: error: undefined reference to 'wc_Md5Final'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_md5.c:189: error: undefined reference to 'wc_Md5Final'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_sha.c:44: error: undefined reference to 'wolfSSL_Malloc'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_sha.c:131: error: undefined reference to 'wc_InitSha'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_sha.c:159: error: undefined reference to 'wc_ShaUpdate'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_sha.c:193: error: undefined reference to 'wc_ShaUpdate'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_sha.c:227: error: undefined reference to 'wc_ShaFinal'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_sha.c:259: error: undefined reference to 'wc_ShaFinal'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_sha.c:288: error: undefined reference to 'wc_InitSha256'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_sha.c:316: error: undefined reference to 'wc_Sha256Update'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_sha.c:351: error: undefined reference to 'wc_Sha256Update'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_sha.c:385: error: undefined reference to 'wc_Sha256Final'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_sha.c:417: error: undefined reference to 'wc_Sha256Final'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rng.c:70: error: undefined reference to 'wc_InitRng'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rng.c:95: error: undefined reference to 'wc_FreeRng'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rng.c:124: error: undefined reference to 'wc_RNG_GenerateBlock'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rng.c:156: error: undefined reference to 'wc_RNG_GenerateBlock'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:112: error: undefined reference to 'wc_RsaPublicKeyDecodeRaw'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:149: error: undefined reference to 'wc_RsaPublicKeyDecodeRaw'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:191: error: undefined reference to 'wc_RsaFlattenPublicKey'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:253: error: undefined reference to 'wc_RsaFlattenPublicKey'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:301: error: undefined reference to 'wc_InitRsaKey'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:326: error: undefined reference to 'wc_FreeRsaKey'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:400: error: undefined reference to 'wc_RsaPrivateKeyDecode'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:437: error: undefined reference to 'wc_GetPkcs8TraditionalOffset'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:441: error: undefined reference to 'wc_RsaPrivateKeyDecode'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:475: error: undefined reference to 'wc_RsaPublicKeyDecode'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:502: error: undefined reference to 'wc_RsaEncryptSize'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:544: error: undefined reference to 'wc_RsaEncryptSize'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:557: error: undefined reference to 'wc_RsaPublicEncrypt'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:577: error: undefined reference to 'wolfSSL_Free'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:608: error: undefined reference to 'wc_RsaEncryptSize'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:621: error: undefined reference to 'wc_RsaPrivateDecrypt'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:641: error: undefined reference to 'wolfSSL_Free'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:679: error: undefined reference to 'wc_RsaEncryptSize'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:692: error: undefined reference to 'wc_RsaSSL_Sign'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:712: error: undefined reference to 'wolfSSL_Free'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_rsa.c:756: error: undefined reference to 'wc_RsaSSL_Verify'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_dh.c:64: error: undefined reference to 'wc_InitDhKey'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_dh.c:83: error: undefined reference to 'wc_FreeDhKey'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_dh.c:115: error: undefined reference to 'wc_DhSetKey'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_dh.c:182: error: undefined reference to 'wc_DhGenerateKeyPair'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_dh.c:274: error: undefined reference to 'wc_DhCheckPubKey'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_dh.c:327: error: undefined reference to 'wc_DhAgree'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_asn.c:46: error: undefined reference to 'wc_EncodeSignature'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_asn.c:59: error: undefined reference to 'wc_EncodeSignature'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_asn.c:70: error: undefined reference to 'wc_GetCTC_HashOID'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_logging.c:35: error: undefined reference to 'wolfSSL_Debugging_ON'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_logging.c:41: error: undefined reference to 'wolfSSL_Debugging_OFF'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_error.c:32: error: undefined reference to 'wc_GetErrorString'
|
|
/Volumes/malloc-dev/nextcrypto/source/nc-wc-ndk/ccc/src/main/cpp/wolfcrypt/jni/jni_error.c:75: error: undefined reference to 'wc_GetErrorString'
|
|
clang: error: linker command failed with exit code 1 (use -v to see invocation)
|
|
ninja: build stopped: subcommand failed.
|
|
19 actionable tasks: 1 executed, 18 up-to-date
|