*** 158,169 **** --- 158,172 ---- echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} { (exit 1); exit 1; }; } + hint:in VI, find 'unable to find a compiler ' or 'cannot check for file existence ' 4. Save the configure script, change into the build directory you created and call the edited configure script from the sqlite directory by using the following option: ../sqlite/configure --host=arm-linux + if you didn't want to use tcl like me, please add --disable-tcl in the command line + 5. After that configure should have created a Makefile and a libtool script in your build directory. Open the Makefile using your favorite text editor and edit the following line: *************** *** 175,184 **** BCC = gcc -g -O2 6. run _make_ ! Now you should find a ".libs" directory in your build directory containing sqlite shared object files, like ! libsqlite.so. Source (somewhat altered): http://www.kecher.de/howtos/SQLite-JDBC-Howto.html --- 178,209 ---- BCC = gcc -g -O2 + in sqlite-3.3.6 version Makefile, + if you want compile static library version of sqlite3(only one execute file for distribution) on ARM, edit Makefile , + + find + + sqlite3$(TEXE): $(TOP)/src/shell.c .libs/libsqlite3.la sqlite3.h + + change to + + sqlite3$(TEXE): $(TOP)/src/shell.c .libs/libsqlite3.a sqlite3.h + + + find + + -o $@ $(TOP)/src/shell.c .libs/libsqlite3.la \ + + change to + + -o $@ $(TOP)/src/shell.c .libs/libsqlite3.a \ + + save and quit editor. + 6. run _make_ ! Now you should find "sqlite" in the current directory, and ".libs" directory in your build directory containing sqlite shared object files, like ! libsqlite.so , static library file libsqlite.a. Source (somewhat altered): http://www.kecher.de/howtos/SQLite-JDBC-Howto.html