[odb-users] problem with sqlite compilation on windows for android

Boris Kolpackov boris at codesynthesis.com
Mon Jul 15 07:10:27 EDT 2013


Hi Lidia,

Lidia Kalinovsky <lidia at lemur-soft.com> writes:

> ./configure CFLAGS="-Os -DSQLITE_ENABLE_UNLOCK_NOTIFY=1"
> --disable-shared --host=arm-linux-androideabi --prefix=/tmp/android
> 
> the following error appears:
> 
> ...
> checking host system type... Invalid configuration
> `arm-linux-androideabi':: system `androideabi' not recognized
> configure: error: /bin/sh ./config.sub arm-linux-androideabi failed

It looks like sqlite ships with very old config.guess and config.sub
scripts (timestamp indicates 2005) which don't know anything about
Android. Copying more recent versions of these two files over from
libodb/config/ should help.

You may also want to report this to SQLite since this can affect
a lot of people and they will probably want to fix it.

Boris



More information about the odb-users mailing list