I've hit an SQLite bug (mentioned here: http://old.nabble.com/Android-database-corruption-td28044218.html#a28044218) that affects the version of SQLite bundled with < 2.2 Android.
What I'd like to do is bundle a newer version of SQLite along with my app. I've been told that I can use the NDK to do this, but I get errors when I try to compile it. Here's the output: Compile thumb : sqlite3 <= ###/eclipse/workspace/TestApp/jni/ sqlite3.c ###/eclipse/workspace/TestApp/jni/sqlite3.c: In function 'unixDlError': ###/eclipse/workspace/TestApp/jni/sqlite3.c:26415: warning: assignment discards qualifiers from pointer target type SharedLibrary : libsqlite3.so ###/eclipse/workspace/TestApp/obj/local/armeabi/objs/sqlite3/ sqlite3.o: In function `unixDlSym': ###/eclipse/workspace/TestApp/jni/sqlite3.c:26442: undefined reference to `dlsym' ###/eclipse/workspace/TestApp/obj/local/armeabi/objs/sqlite3/ sqlite3.o: In function `unixDlClose': ###/eclipse/workspace/TestApp/jni/sqlite3.c:26446: undefined reference to `dlclose' ###/eclipse/workspace/TestApp/obj/local/armeabi/objs/sqlite3/ sqlite3.o: In function `unixDlError': ###/eclipse/workspace/TestApp/jni/sqlite3.c:26415: undefined reference to `dlerror' ###/eclipse/workspace/TestApp/obj/local/armeabi/objs/sqlite3/ sqlite3.o: In function `unixDlOpen': ###/eclipse/workspace/TestApp/jni/sqlite3.c:26401: undefined reference to `dlopen' collect2: ld returned 1 exit status make: *** [###/eclipse/workspace/TestApp/obj/local/armeabi/ libsqlite3.so] Error 1 Can someone help me with this? I'm a complete novice when it comes to compiling/building. Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

