Re: [sqlite] SQLite 3.5.9 build problem - token expected in btree.c
Klemens Friedl wrote: > While upgrading from an older SQLite 3.4.2, I stuble upon the > following build problem. > > me\sqlite3\btree.c:61: error: expected ';', ',' or ')' before '-' token > mingw32-make: *** [obj-i386\me\sqlite3\btree_sqlite3.o] Error 1 > > Has someone experienced similar build problems with 3.5.9 or more > generally during the upgrading process from 3.4.x to 3.5.x ? > I built version 3.5.9 from the CVS source files using MinGW/MSYS without any issues last week. > > > I am using mingw (gcc 4.1.3 20071015; GNU Binutils 2.18.50.20071015) > on Win32 (WinNT 5.1) and the following source package > http://sqlite.org/sqlite-source-3_5_9.zip (source preprocessed for > win32); btw. the amalgamation package is not an option in my case, and > I hadn't had any problems with the normal preprocessed package with > SQLite 3.4.x. > > I have written my own build script, as my environment provides a > custom xml based build script language, which gets generated to a > makefile. > > > I have set the following pre-processer define's : > "__USE_W32API" > "SQLITE_DEFAULT_AUTOVACUUM" = 1 > "SQLITE_CORE" = 1 > "SQLITE_AMALGAMATION" = 0 > "disable-tcl" > "disable-debug" > "enable-threadsafe" > "enable-releasemode" > "disable-static" > I'm still using the older 3.4.5 version of GCC in MinGW, and I used the following set of commands to build SQLite from the sqlite source directory available from CVS (or download at http://www.sqlite.org/sqlite-3.5.9.tar.gz). mkdir build cd build ../sqlite/configure make HTH Dennis Cote ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] SQLite 3.5.9 build problem - token expected in btree.c
While upgrading from an older SQLite 3.4.2, I stuble upon the following build problem. me\sqlite3\btree.c:61: error: expected ';', ',' or ')' before '-' token mingw32-make: *** [obj-i386\me\sqlite3\btree_sqlite3.o] Error 1 btw. I read the upgrade guide: http://sqlite.org/34to35.html ... although I haven't found anything that affects me; beside the fact that a significant part of SQLite code got rewritten, ... and I am experience build problems now. Has someone experienced similar build problems with 3.5.9 or more generally during the upgrading process from 3.4.x to 3.5.x ? I am using mingw (gcc 4.1.3 20071015; GNU Binutils 2.18.50.20071015) on Win32 (WinNT 5.1) and the following source package http://sqlite.org/sqlite-source-3_5_9.zip (source preprocessed for win32); btw. the amalgamation package is not an option in my case, and I hadn't had any problems with the normal preprocessed package with SQLite 3.4.x. I have written my own build script, as my environment provides a custom xml based build script language, which gets generated to a makefile. I have set the following pre-processer define's : "__USE_W32API" "SQLITE_DEFAULT_AUTOVACUUM" = 1 "SQLITE_CORE" = 1 "SQLITE_AMALGAMATION" = 0 "disable-tcl" "disable-debug" "enable-threadsafe" "enable-releasemode" "disable-static" ... which worked fine with SQLite 3.4.x releases. Klemens Full build log: [CC] me\sqlite3\alter.c :1:8: warning: missing whitespace after the macro name :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition :1:7: warning: missing whitespace after the macro name :1:7: warning: missing whitespace after the macro name :1:1: warning: "enable" redefined :1:1: warning: this is the location of the previous definition :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition [CC] me\sqlite3\analyze.c :1:8: warning: missing whitespace after the macro name :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition :1:7: warning: missing whitespace after the macro name :1:7: warning: missing whitespace after the macro name :1:1: warning: "enable" redefined :1:1: warning: this is the location of the previous definition :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition [CC] me\sqlite3\attach.c :1:8: warning: missing whitespace after the macro name :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition :1:7: warning: missing whitespace after the macro name :1:7: warning: missing whitespace after the macro name :1:1: warning: "enable" redefined :1:1: warning: this is the location of the previous definition :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition [CC] me\sqlite3\auth.c :1:8: warning: missing whitespace after the macro name :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition :1:7: warning: missing whitespace after the macro name :1:7: warning: missing whitespace after the macro name :1:1: warning: "enable" redefined :1:1: warning: this is the location of the previous definition :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition [CC] me\sqlite3\bitvec.c :1:8: warning: missing whitespace after the macro name :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition :1:7: warning: missing whitespace after the macro name :1:7: warning: missing whitespace after the macro name :1:1: warning: "enable" redefined :1:1: warning: this is the location of the previous definition :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition [CC] me\sqlite3\btmutex.c :1:8: warning: missing whitespace after the macro name :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition :1:7: warning: missing whitespace after the macro name :1:7: warning: missing whitespace after the macro name :1:1: warning: "enable" redefined :1:1: warning: this is the location of the previous definition :1:8: warning: missing whitespace after the macro name :1:1: warning: "disable" redefined :1:1: warning: this is the location of the previous definition [CC]