Hi,
downloading this sqlite-autoconf-3110100.tar.gz and compiling with
./configure CFLAGS="-DUSE_PREAD -DSQLITE_OMIT_DEPRECATED
-DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_TRACE -DSQLITE_OMIT_EXPLAIN"
fail with the following error:
sqlite3.c:16183:28: warning: 'sqlite3OpcodeName' used but never defined
[enabled by default]
SQLITE_PRIVATE const char *sqlite3OpcodeName(int);
^
mv -f .deps/sqlite3-sqlite3.Tpo .deps/sqlite3-sqlite3.Po
/bin/sh ./libtool --tag=CC --mode=link gcc -D_REENTRANT=1
-DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE
-DSQLITE_ENABLE_EXPLAIN_COMMENTS -DUSE_PREAD -DSQLITE_OMIT_DEPRECATED
-DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_TRACE -DSQLITE_OMIT_EXPLAIN
-o sqlite3 sqlite3-shell.o sqlite3-sqlite3.o -ldl -lpthread
libtool: link: gcc -D_REENTRANT=1 -DSQLITE_THREADSAFE=1
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE
-DSQLITE_ENABLE_EXPLAIN_COMMENTS -DUSE_PREAD -DSQLITE_OMIT_DEPRECATED
-DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_OMIT_TRACE -DSQLITE_OMIT_EXPLAIN
-o sqlite3 sqlite3-shell.o sqlite3-sqlite3.o -ldl -lpthread
sqlite3-sqlite3.o: In function `displayComment':
sqlite3.c:(.text+0x31821): undefined reference to `sqlite3OpcodeName'
sqlite3-sqlite3.o: In function `codeAllEqualityTerms':
sqlite3.c:(.text+0x83370): undefined reference to `explainIndexColumnName'
everything works without -DSQLITE_OMIT_EXPLAIN
regards
Michele Dionisio