Re: [sqlite] SQLite 3.5.1 linking issues due recent changes
2007/10/23, Joe Wilson <[EMAIL PROTECTED]>: > --- Klemens Friedl <[EMAIL PROTECTED]> wrote: > > 2007/10/23, Joe Wilson <[EMAIL PROTECTED]>: > > > --- Klemens Friedl <[EMAIL PROTECTED]> wrote: > > > > Has someone already used mingw to build > > > http://www.sqlite.org/cvstrac/tktview?tn=931 > > the makefile looks outdated (2006-Dec-28). > Not sure what you're refering to. > I saw the msys part, but I supposed you mean the attached zip file which contain a outdated makefile. My question was, if someone already has built SQLite 3.5.1 or 3.5.0 with mingw (win32; without msys). I know it's possible to build SQLite up to 3.4.2 without any problems with mingw. Although I am not sure if it's still the case with 3.5.x as major changes have been made and it looks from my build log that some fixes are needed and the mingw support build is currently broken. It would help me a lot to hear some response from people who use mingw win32 to build SQLite and maybe have already build the most recent version. As last resort I will probably use msys to generate a makefile. Although, I cannot use such "real" makefiles anyway in my build environment, as we use xml-style makefiles (see link in my first email). As I have already mentioned, I have used the same makefile (xml-style) to build several older SQLite 3.x version (up to 3.4.2) successful. library's: ntdll, kernel32, msvcrt, user32 defines: USE_W32API, SQLITE_DEFAULT_AUTOVACUUM="1", disable-tcl, disable-debug, enable-threadsafe, enable-releasemode, disable-static Klemens - To unsubscribe, send email to [EMAIL PROTECTED] -
Re: [sqlite] SQLite 3.5.1 linking issues due recent changes
--- Klemens Friedl <[EMAIL PROTECTED]> wrote: > 2007/10/23, Joe Wilson <[EMAIL PROTECTED]>: > > --- Klemens Friedl <[EMAIL PROTECTED]> wrote: > > > Has someone already used mingw to build > > > > http://www.sqlite.org/cvstrac/tktview?tn=931 > > the makefile looks outdated (2006-Dec-28). Not sure what you're refering to. Just download the sqlite3 source code and from the MSYS bash shell, run: ./configure make sqlite3.dll make sqlite3.exe # optional as per the instructions in the URL. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, send email to [EMAIL PROTECTED] -
[sqlite] SQLite 3.5.1 linking issues due recent changes
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] -