ubuntu@ubuntu-VirtualBox:/media/sf_repo/android-sqlcipher-spatialite$ make
cd /media/sf_repo/android-sqlcipher-spatialite/external && \
make -f Android.mk build-local-hack && \
ndk-build && \
make -f Android.mk copy-libs-hack
make[1]: Entering directory `/media/sf_repo/android-sqlcipher-spatialite/external'
make[1]: Nothing to be done for `build-local-hack'.
make[1]: Leaving directory `/media/sf_repo/android-sqlcipher-spatialite/external'
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:icui18n: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:icui18n: non-system libraries in linker flags: -lpthread
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:icuuc: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:icuuc: non-system libraries in linker flags: -lpthread
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:sqlcipher: LOCAL_LDFLAGS is always ignored for static libraries
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:sqlcipher: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:sqlcipher: non-system libraries in linker flags: -lcrypto
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:sqlcipher_android: non-system libraries in linker flags: -lutils -lcutils -lcrypto
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
make[1]: Entering directory `/media/sf_repo/android-sqlcipher-spatialite/external'
/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:16: warning: overriding commands for target `sqlcipher/sqlite3.c'
/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:16: warning: ignoring old commands for target `sqlcipher/sqlite3.c'
/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:20: warning: overriding commands for target `copy-libs-hack'
/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:20: warning: ignoring old commands for target `copy-libs-hack'
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:icui18n: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:icui18n: non-system libraries in linker flags: -lpthread
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:icuuc: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:icuuc: non-system libraries in linker flags: -lpthread
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:sqlcipher: LOCAL_LDFLAGS is always ignored for static libraries
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:sqlcipher: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:sqlcipher: non-system libraries in linker flags: -lcrypto
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:/media/sf_repo/android-sqlcipher-spatialite/external/Android.mk:sqlcipher_android: non-system libraries in linker flags: -lutils -lcutils -lcrypto
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Compile++ thumb : sqlcipher_android <= sqlite3_android.cpp
In file included from /media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.cpp:30:0:
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.h:26:32: error: 'sqlite3' was not declared in this scope
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.h:26:42: error: 'handle' was not declared in this scope
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.h:26:50: error: expected primary-expression before 'int'
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.h:26:66: error: expression list treated as compound expression in initializer [-fpermissive]
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.h:28:34: error: 'sqlite3' was not declared in this scope
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.h:28:43: error: 'handle' was not declared in this scope
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.h:28:51: error: expected primary-expression before 'const'
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.h:28:77: error: expected primary-expression before 'int'
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.h:28:93: error: expression list treated as compound expression in initializer [-fpermissive]
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.cpp:80:5: error: variable or field 'get_phonebook_index' declared void
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.cpp:80:5: error: 'sqlite3_context' was not declared in this scope
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.cpp:80:23: error: 'context' was not declared in this scope
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.cpp:80:32: error: expected primary-expression before 'int'
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.cpp:80:42: error: 'sqlite3_value' was not declared in this scope
/media/sf_repo/android-sqlcipher-spatialite/external/android-sqlite/android/sqlite3_android.cpp:80:59: error: 'argv' was not declared in this scope
make[1]: *** [/media/sf_repo/android-sqlcipher-spatialite/obj/local/armeabi/objs/sqlcipher_android/android-sqlite/android/sqlite3_android.o] Error 1
make[1]: Leaving directory `/media/sf_repo/android-sqlcipher-spatialite/external'
make: *** [build-external] Error 2
ubuntu@ubuntu-VirtualBox:/media/sf_repo/android-sqlcipher-spatialite$
--
---
You received this message because you are subscribed to the Google Groups "SQLCipher Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlcipher+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
---
You received this message because you are subscribed to the Google Groups "SQLCipher Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlcipher+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Hi Alexey,I was just able to build SQLCipher for Android using the latest r9 NDK release on OSX. What environment are you building on? What errors do you receive?
import-module's: https://github.com/illarionov/android-sqlcipher-spatialite/commit/82d90eba7bdc31a58b8a37c47da392ecd7717f63--
Hi.
Has anyone compiled sqlcipher executable with spatialite support?