Can't build SQLCipher for Android

I follow the instruction on GitHub - sqlcipher/android-database-sqlcipher: Android SQLite API based on SQLCipher, but failed to build it.
please help me. thank you.

I use the recommended version 23.0.7599858 ndk.

localhost:android-database-sqlcipher jinks$ SQLCIPHER_ROOT=/Users/jinks/dev/test/sqlcipher OPENSSL_ROOT=/Users/jinks/dev/test/openssl SQLCIPHER_CFLAGS=“-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2” SQLCIPHER_ANDROID_VERSION=“4.5.3” make build-release
./gradlew android-database-sqlcipher:bundleReleaseAar
-PdebugBuild=false
-PsqlcipherRoot=“/Users/jinks/dev/test/sqlcipher”
-PopensslRoot=“/Users/jinks/dev/test/openssl”
-PopensslAndroidNativeRoot=“”
-PsqlcipherCFlags=“-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2”
-PsqlcipherAndroidClientVersion=“4.5.3”

Configure project :android-database-sqlcipher
WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Task :android-database-sqlcipher:buildOpenSSL SKIPPED
/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/external/android-libs/armeabi-v7a/libcrypto.a exists SKIPPED

Task :android-database-sqlcipher:buildNative
SQLCIPHER_CFLAGS=-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2
OPENSSL_DIR=/Users/jinks/dev/test/openssl
SQLCIPHER_DIR=/Users/jinks/dev/test/sqlcipher
SQLCIPHER_OTHER_CFLAGS=-DLOG_NDEBUG -fstack-protector-all
ANDROID_NATIVE_ROOT_DIR=/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/external/android-libs
NDK_APP_PLATFORM=21
make[1]: Entering directory `/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp’
rm -f /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/arm64-v8a/lib*.so /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/armeabi/lib*.so /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/armeabi-v7a/lib*.so /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/armeabi-v7a-hard/lib*.so /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/mips/lib*.so /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/mips64/lib*.so /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/x86/lib*.so /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/x86_64/lib*.so
rm -f /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/arm64-v8a/gdbserver /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/armeabi/gdbserver /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/armeabi-v7a/gdbserver /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/armeabi-v7a-hard/gdbserver /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/mips/gdbserver /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/mips64/gdbserver /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/x86/gdbserver /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/x86_64/gdbserver
rm -f /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/arm64-v8a/gdb.setup /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/armeabi/gdb.setup /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/armeabi-v7a/gdb.setup /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/armeabi-v7a-hard/gdb.setup /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/mips/gdb.setup /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/mips64/gdb.setup /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/x86/gdb.setup /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/x86_64/gdb.setup
[armeabi-v7a] Compile thumb : sqlcipher <= sqlite3.c
/Users/jinks/dev/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/sqlite3.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/llvm-libc++abi/libcxxabi/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-arm/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/sqlite3.c -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/sqlite3.o
[armeabi-v7a] Compile++ thumb: sqlcipher <= jni_exception.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/jni_exception.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/llvm-libc++abi/libcxxabi/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-arm/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/jni_exception.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/jni_exception.o
[armeabi-v7a] Compile++ thumb: sqlcipher <= net_sqlcipher_database_SQLiteCompiledSql.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteCompiledSql.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/llvm-libc++abi/libcxxabi/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-arm/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_database_SQLiteCompiledSql.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteCompiledSql.o
[armeabi-v7a] Compile++ thumb: sqlcipher <= net_sqlcipher_database_SQLiteDatabase.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteDatabase.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/llvm-libc++abi/libcxxabi/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-arm/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_database_SQLiteDatabase.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteDatabase.o
[armeabi-v7a] Compile++ thumb: sqlcipher <= net_sqlcipher_database_SQLiteProgram.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteProgram.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/llvm-libc++abi/libcxxabi/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-arm/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_database_SQLiteProgram.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteProgram.o
[armeabi-v7a] Compile++ thumb: sqlcipher <= net_sqlcipher_database_SQLiteQuery.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteQuery.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/llvm-libc++abi/libcxxabi/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-arm/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_database_SQLiteQuery.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteQuery.o
[armeabi-v7a] Compile++ thumb: sqlcipher <= net_sqlcipher_database_SQLiteStatement.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteStatement.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/llvm-libc++abi/libcxxabi/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-arm/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_database_SQLiteStatement.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteStatement.o
[armeabi-v7a] Compile++ thumb: sqlcipher <= net_sqlcipher_CursorWindow.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_CursorWindow.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/llvm-libc++abi/libcxxabi/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-arm/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_CursorWindow.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_CursorWindow.o
[armeabi-v7a] Compile++ thumb: sqlcipher <= CursorWindow.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/CursorWindow.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fno-exceptions -fno-rtti -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/llvm-libc++abi/libcxxabi/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-arm/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/CursorWindow.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/CursorWindow.o
[armeabi-v7a] SharedLibrary : libsqlcipher.so
/Users/jinks/dev/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ -Wl,-soname,libsqlcipher.so -shared --sysroot=/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-arm /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/sqlite3.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/jni_exception.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteCompiledSql.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteDatabase.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteProgram.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteQuery.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_database_SQLiteStatement.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/net_sqlcipher_CursorWindow.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/objs/sqlcipher/CursorWindow.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/external/android-libs/armeabi-v7a/libcrypto.a /Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/thumb/libc++_static.a -lgcc -no-canonical-prefixes -march=armv7-a -Wl,–fix-cortex-a8 -L/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/external/android-libs/armeabi-v7a -Wl,–no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -mthumb -Wl,–exclude-libs,ALL -L/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-arm/usr/lib -llog -lc -lm -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/libsqlcipher.so
[armeabi-v7a] Install : libsqlcipher.so => libs32/armeabi-v7a/libsqlcipher.so
install -p /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/armeabi-v7a/libsqlcipher.so /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/armeabi-v7a/libsqlcipher.so
/Users/jinks/dev/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-strip --strip-unneeded /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/libs32/armeabi-v7a/libsqlcipher.so
[x86] Compile : sqlcipher <= sqlite3.c
/Users/jinks/dev/android-ndk-r10e/toolchains/x86-4.8/prebuilt/darwin-x86_64/bin/i686-linux-android-gcc -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/sqlite3.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/gabi++/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-x86/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/sqlite3.c -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/sqlite3.o
[x86] Compile++ : sqlcipher <= jni_exception.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/x86-4.8/prebuilt/darwin-x86_64/bin/i686-linux-android-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/jni_exception.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/gabi++/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-x86/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/jni_exception.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/jni_exception.o
[x86] Compile++ : sqlcipher <= net_sqlcipher_database_SQLiteCompiledSql.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/x86-4.8/prebuilt/darwin-x86_64/bin/i686-linux-android-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteCompiledSql.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/gabi++/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-x86/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_database_SQLiteCompiledSql.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteCompiledSql.o
[x86] Compile++ : sqlcipher <= net_sqlcipher_database_SQLiteDatabase.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/x86-4.8/prebuilt/darwin-x86_64/bin/i686-linux-android-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteDatabase.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/gabi++/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-x86/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_database_SQLiteDatabase.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteDatabase.o
[x86] Compile++ : sqlcipher <= net_sqlcipher_database_SQLiteProgram.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/x86-4.8/prebuilt/darwin-x86_64/bin/i686-linux-android-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteProgram.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/gabi++/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-x86/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_database_SQLiteProgram.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteProgram.o
[x86] Compile++ : sqlcipher <= net_sqlcipher_database_SQLiteQuery.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/x86-4.8/prebuilt/darwin-x86_64/bin/i686-linux-android-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteQuery.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/gabi++/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-x86/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_database_SQLiteQuery.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteQuery.o

[x86] Compile++ : sqlcipher <= net_sqlcipher_database_SQLiteStatement.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/x86-4.8/prebuilt/darwin-x86_64/bin/i686-linux-android-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteStatement.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/gabi++/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-x86/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_database_SQLiteStatement.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteStatement.o
[x86] Compile++ : sqlcipher <= net_sqlcipher_CursorWindow.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/x86-4.8/prebuilt/darwin-x86_64/bin/i686-linux-android-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_CursorWindow.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/gabi++/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-x86/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/net_sqlcipher_CursorWindow.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_CursorWindow.o
[x86] Compile++ : sqlcipher <= CursorWindow.cpp
/Users/jinks/dev/android-ndk-r10e/toolchains/x86-4.8/prebuilt/darwin-x86_64/bin/i686-linux-android-g++ -MMD -MP -MF /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/CursorWindow.o.d -ffunction-sections -funwind-tables -no-canonical-prefixes -fstack-protector -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -funswitch-loops -finline-limit=300 -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -I/Users/jinks/dev/test/openssl/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libcxx/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/gabi++/include -I/Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/…/…/android/support/include -I/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp -DANDROID -DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2 -DLOG_NDEBUG -fstack-protector-all -Wa,–noexecstack -Wformat -Werror=format-security -std=c++11 -fno-strict-aliasing -D_FILE_OFFSET_BITS=32 -I/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-x86/usr/include -c /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp/CursorWindow.cpp -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/CursorWindow.o
[x86] SharedLibrary : libsqlcipher.so
/Users/jinks/dev/android-ndk-r10e/toolchains/x86-4.8/prebuilt/darwin-x86_64/bin/i686-linux-android-g++ -Wl,-soname,libsqlcipher.so -shared --sysroot=/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-x86 /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/sqlite3.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/jni_exception.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteCompiledSql.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteDatabase.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteProgram.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteQuery.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_database_SQLiteStatement.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/net_sqlcipher_CursorWindow.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/objs/sqlcipher/CursorWindow.o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/external/android-libs/x86/libcrypto.a /Users/jinks/dev/android-ndk-r10e/sources/cxx-stl/llvm-libc++/libs/x86/libc++_static.a -lgcc -no-canonical-prefixes -L/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/external/android-libs/x86 -Wl,–no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,–exclude-libs,ALL -L/Users/jinks/dev/android-ndk-r10e/platforms/android-21/arch-x86/usr/lib -llog -lc -lm -o /Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/libsqlcipher.so
/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/external/android-libs/x86/libcrypto.a(libcrypto-lib-threads_pthread.o):threads_pthread.c:function CRYPTO_atomic_or: error: undefined reference to ‘__atomic_is_lock_free’
/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/external/android-libs/x86/libcrypto.a(libcrypto-lib-threads_pthread.o):threads_pthread.c:function CRYPTO_atomic_or: error: undefined reference to ‘__atomic_fetch_or_8’
/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/external/android-libs/x86/libcrypto.a(libcrypto-lib-threads_pthread.o):threads_pthread.c:function CRYPTO_atomic_load: error: undefined reference to ‘__atomic_is_lock_free’
/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/external/android-libs/x86/libcrypto.a(libcrypto-lib-threads_pthread.o):threads_pthread.c:function CRYPTO_atomic_load: error: undefined reference to ‘__atomic_load’
collect2: error: ld returned 1 exit status
make[1]: *** [/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/obj/local/x86/libsqlcipher.so] Error 1
make[1]: Leaving directory `/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/src/main/cpp’

Task :android-database-sqlcipher:buildNative FAILED

FAILURE: Build failed with an exception.

  • Where:
    Script ‘/Users/jinks/dev/test/android-database-sqlcipher/android-database-sqlcipher/native.gradle’ line: 156

  • What went wrong:
    Execution failed for task ‘:android-database-sqlcipher:buildNative’.

Process ‘command ‘ndk-build’’ finished with non-zero exit value 2

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 1m 3s
2 actionable tasks: 2 executed
make: *** [build-release] Error 1

Hi @jinksw

It looks like there is an issue with the OpenSSL library you are attempting to link against. You will need to make sure you’ve built OpenSSL using the Android NDK.

@developernotes thank you, I am trying to build openssl library now. But I have some questions.
which os should I select to configure?

according to openssl/NOTES-ANDROID.md at master · openssl/openssl · GitHub
there are android-arm , android-arm64 , android-mips , android-mip64 , android-x86 and android-x86_64 I can choose.

it seems that I can only configure one os once a time I configure.

should I choose android-arm?

./Configure android-arm
make

just to make sure the proper build step. I list the step which I think I should do. please tell me is that correct?

1.build the openssl library. according to
openssl/INSTALL.md at master · openssl/openssl · GitHub and
openssl/NOTES-ANDROID.md at master · openssl/openssl · GitHub

2.build android-database-sqlcipher according to GitHub - sqlcipher/android-database-sqlcipher: Android SQLite API based on SQLCipher

I have successfully build it now.

it seems the problem is I don’t setup openssl build prerequisites and somehow output the wrong libsqlcipher.so.

in case people who have the same problem. I will describle how I build it success.

  1. I have downloaded openssl , sqlcipher, android-database-sqlcipher. all of these are from it’s release version.
  2. I do the setup according to the openssl/INSTALL.md at master · openssl/openssl · GitHub.
  3. I follow the instruction on GitHub - sqlcipher/android-database-sqlcipher: Android SQLite API based on SQLCipher build section.

and then. it works.

thank you for your answer. @developernotes

Hi @jinksw,

I’m glad to hear everything is working now!