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 <options>
make

HTH
Dennis Cote
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to