I have compiled and used SQLite 3 up to 3.4.2 without problems, but recent changes on SQL 3.5.x introduced some issues, see below.
I am using mingw (gnu compiler for w32): gcc version 4.1.3 20070829 NASM version 0.99.04 GNU ld (GNU Binutils) 2.17.50.20070806 GNU Make 3.81 The used this source code: http://sqlite.org/sqlite-source-3_5_1.zip ... and the def-file from this package: http://sqlite.org/sqlitedll-3_5_1.zip I have attached the makefile below. Are the following isses well known problems with 3.5.1? If so should I try out current cvs head? Has someone already used mingw to build sqlite 3.5.0+ ? It looks like most use either gnu gcc for unix or VS to build sqlite :S I got two compile warnings: sqlite3\btree.c: In function 'sqlite3BtreeDelete': sqlite3\btree.c:5692: warning: 'szNext' may be used uninitialized in this function sqlite3\os_win.c: In function 'winAccess': sqlite3\os_win.c:1236: warning: 'rc' may be used uninitialized in this function And a lot of linking errors: [LD] output-i386\sqlite3\sqlite3.dll .\sqlite3.temp.exp:fake:(.edata+0x13c): undefined reference to `_sqlite3_free' .\sqlite3.temp.exp:fake:(.edata+0x168): undefined reference to `_sqlite3_malloc' .\sqlite3.temp.exp:fake:(.edata+0x16c): undefined reference to `_sqlite3_memory_alarm' .\sqlite3.temp.exp:fake:(.edata+0x170): undefined reference to `_sqlite3_memory_highwater' .\sqlite3.temp.exp:fake:(.edata+0x174): undefined reference to `_sqlite3_memory_used' .\sqlite3.temp.exp:fake:(.edata+0x17c): undefined reference to `_sqlite3_mutex_alloc' .\sqlite3.temp.exp:fake:(.edata+0x180): undefined reference to `_sqlite3_mutex_enter' .\sqlite3.temp.exp:fake:(.edata+0x184): undefined reference to `_sqlite3_mutex_free' .\sqlite3.temp.exp:fake:(.edata+0x188): undefined reference to `_sqlite3_mutex_held' .\sqlite3.temp.exp:fake:(.edata+0x18c): undefined reference to `_sqlite3_mutex_leave' .\sqlite3.temp.exp:fake:(.edata+0x190): undefined reference to `_sqlite3_mutex_notheld' .\sqlite3.temp.exp:fake:(.edata+0x194): undefined reference to `_sqlite3_mutex_try' .\sqlite3.temp.exp:fake:(.edata+0x1c0): undefined reference to `_sqlite3_realloc' obj-i386\sqlite3\alter.o: In function `whereTempTriggers': sqlite3/alter.c:211: undefined reference to `_sqlite3_free' obj-i386\sqlite3\alter.o: In function `sqlite3AlterFinishAddColumn': sqlite3/alter.c:523: undefined reference to `_sqlite3_free' obj-i386\sqlite3\alter.o: In function `sqlite3AlterRenameTable': sqlite3/alter.c:423: undefined reference to `_sqlite3_free' sqlite3/alter.c:414: undefined reference to `_sqlite3_free' [...] reference to `_sqlite3_free' obj-i386\me\sqlite3\where.o: In function `sqlite3WhereBegin': D:/Projects/ReactOS/Source/me/reactos/me/sqlite3/where.c:1361: undefined reference to `_sqlite3_free' collect2: ld returned 1 exit status mingw32-make: *** [output-i386\me\sqlite3\sqlite3.dll] Error 1 complete build log: http://www.reactos.org/paste/index.php/73278a4/text/ makefile (xml-style): http://www.reactos.org/paste/index.php/a684ece/text/ ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------