Hi, I have a problem with compiling static version of tclsqlite on win32 with MinGW/MSYS?
I've downloaded tcltk-8.4.1-1.exe from MinGW site and installed it in MinGW dirs. I've compiled both, static and shared, versions of SQLite from 2.8.13 sources and then I tried to build libtclsqlite.la target and here is what I get: <shell> $ mingw32-make.exe libtclsqlite.la ./libtool --mode=compile gcc -g -O2 -DOS_UNIX=0 -DOS_WIN=1 -I. -I./src -c ./src/tclsqlite.c gcc -g -O2 -DOS_UNIX=0 -DOS_WIN=1 -I. -I./src -c ./src/tclsqlite.c -DDLL_EXPORT -DPIC -o .libs/tclsqlite.o gcc -g -O2 -DOS_UNIX=0 -DOS_WIN=1 -I. -I./src -c ./src/tclsqlite.c -o tclsqlite.o >/dev/null 2>&1 ./libtool --mode=link gcc -g -O2 -DOS_UNIX=0 -DOS_WIN=1 -I. -I./src -o libtclsqlite.la tclsqlite.lo \ libsqlite.la -ltcl84 -rpath /usr/local/lib/sqlite \ -version-info "8:6:8" *** Warning: This system can not link to static lib archive libsqlite.la. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries ar cru .libs/libtclsqlite.a tclsqlite.o ranlib .libs/libtclsqlite.a creating libtclsqlite.la (cd .libs && rm -f libtclsqlite.la && ln -s ../libtclsqlite.la libtclsqlite.la) </shell> I can't figure out what this warning means, shared version of what library is missing? Aftre this I get libtclsqlite.a (some 78kB) in .libs dir (next to libsqlite.a that is working OK) but it seems that I can't link against it (I get buch of "undefined reference" errors in tclsqlite.o.b) I need this tclsqlite lib to try to link a static version of TWS for win. I'd really love to have "all in one file" version of TWS for win but I'm stuck with this tclsqlite issue for a while now. So if anybody here has any idea as to what that warning means and how to fix it, please share that info with me :o) Thanks -- Best regards, Nemanja mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]