How does one disable large file support?  As mentioned in comments, I've added 
-DSQLITE_DISABLE_LFS to the Makefile, but continue to get errors indicating 
lack of kernel support for large files.  The following lines are the end of my 
compile (so you can see make options) and the behavior of the resulting sqlite3.

./libtool --mode=link gcc -g -O2 -DOS_BEOS=1 -DSQLITE_DISABLE_LFS 
-DHAVE_USLEEP=1 -I. -I./src -DNDEBUG   -DTHREADSAFE=1 
-DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_CURSOR -DHAVE_READLINE=0  -lroot 
-lbe \
        -o sqlite3 ./src/shell.c libsqlite3.la \
        -lreadline -lreadline
gcc -g -O2 -DOS_BEOS=1 -DSQLITE_DISABLE_LFS -DHAVE_USLEEP=1 -I. -I./src 
-DNDEBUG -DTHREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_CURSOR 
-DHAVE_READLINE=0 -o sqlite3 ./src/shell.c  ./.libs/libsqlite3.a -lroot -lbe 
-lreadline
$ sqlite3 test.db
SQLite version 3.3.5
Enter ".help" for instructions
sqlite> .databases
Error: kernel lacks large file support
sqlite> .exit
$        

This is in continuing work to support sqlite3 under BeOS.  Any assistance would 
be greatly appreciated.

Reply via email to