D. Richard Hipp wrote:
> On Apr 21, 2008, at 9:03 PM, Richard Klein wrote:
>> I regenerated and recompiled the source files
>> specifying that the following features (among
>> others) are to be omitted:
>>
>> SQLITE_OMIT_REINDEX
>> SQLITE_OMIT_VIEW
>> SQLITE_OMIT_VIRTUALTABLE
>
> It worked OK when I tried this combination. Are
> you *sure* you set these options when you ran
> "make target_source"? Are you certain that you
> are using the correct set of source files?
My bad. In the Makefile, I broke up OPTS using a
backslash at the end of each line. Of course, this
means that 'make' will ignore everything after the
first '#' that it encounters.
So my Makefile OPTS and my compilation OPTS are out
of sync.
As you can see from my OPTS definition, 'make' never
even saw the OMITs of REINDEX, VIEW, and VIRTUALTABLE.
It's amazing that I got as few link errors as I did!
Sorry about that,
- Richard
------------------------------------------------------
OPTS = -DSQLITE_DISABLE_LFS \
-DSQLITE_OMIT_ALTERTABLE \
-DSQLITE_OMIT_ANALYZE \
-DSQLITE_OMIT_ATTACH \
-DSQLITE_OMIT_AUTHORIZATION \
-DSQLITE_OMIT_AUTOVACUUM \
-DSQLITE_OMIT_AUTOINCREMENT \
-DSQLITE_OMIT_BETWEEN_OPTIMIZATION \
-DSQLITE_OMIT_BLOB_LITERAL \
-DSQLITE_OMIT_CAST \
-DSQLITE_OMIT_CHECK \
-DSQLITE_OMIT_COMPLETE \
-DSQLITE_OMIT_COMPOUND_SELECT \
-DSQLITE_OMIT_CONFLICT_CLAUSE \
-DSQLITE_OMIT_DATETIME_FUNCS \
-DSQLITE_OMIT_EXPLAIN \
-DSQLITE_OMIT_FAULTINJECTOR \
-DSQLITE_OMIT_FLAG_PRAGMAS \
-DSQLITE_OMIT_FLOATING_POINT \
-DSQLITE_OMIT_FOREIGN_KEY \
-DSQLITE_OMIT_GET_TABLE \
-DSQLITE_OMIT_GLOBALRECOVER \
-DSQLITE_OMIT_INCRBLOB \
# -DSQLITE_OMIT_INTEGRITY_CHECK \
-DSQLITE_OMIT_LIKE_OPTIMIZATION \
-DSQLITE_OMIT_LOAD_EXTENSION \
-DSQLITE_OMIT_MEMORYDB \
-DSQLITE_OMIT_PAGER_PRAGMAS \
# -DSQLITE_OMIT_PARSER \
# -DSQLITE_OMIT_PRAGMA \
-DSQLITE_OMIT_PROGRESS_CALLBACK \
-DSQLITE_OMIT_QUICKBALANCE \
-DSQLITE_OMIT_REINDEX \
-DSQLITE_OMIT_SCHEMA_PRAGMAS \
# -DSQLITE_OMIT_SCHEMA_VERSION_PRAGMAS \
-DSQLITE_OMIT_SHARED_CACHE \
-DSQLITE_OMIT_SUBQUERY \
-DSQLITE_OMIT_TCL_VARIABLE \
-DSQLITE_OMIT_TEMPDB \
-DSQLITE_OMIT_TRACE \
# -DSQLITE_OMIT_TRIGGER \
-DSQLITE_OMIT_UTF16 \
-DSQLITE_OMIT_VACUUM \
-DSQLITE_OMIT_VIEW \
-DSQLITE_OMIT_VIRTUALTABLE \
-DSQLITE_OMIT_XFER_OPT
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users