Linker error when using databases

BlitzMax Forums/Brucey's Modules/Linker error when using databases

Sanctus(Posted 2009) [#1]
Hi
I've have used the database modules for quite a while but now I bought a new computer and I tought I'd reinstall everything to have fresh versions.
I installed MINGW using blitzmax companion and got the modules (database and sqlite). They compiled fine but when I try to use them in the code I get this:
"D:/BlitzMax/mod/bah.mod/dbsqlite.mod/dbsqlite.debug.win32.x86.a(sqlite3.c.debug.win32.x86.o):sqlite3.c:(.text+0xe): undefined reference to `__mingw_vsprintf'"
This is quite weird and I have no ideea on how to solve it.
should I use a different version of mingw?
I have this version:
"runtime=mingwrt-3.15.1-mingw32.tar.gz
w32api=w32api-3.12-mingw32-dev.tar.gz
binutils=binutils-2.17.50-20060824-1.tar.gz
core=gcc-core-3.4.5-20060117-3.tar.gz
gpp=gcc-g++-3.4.5-20060117-3.tar.gz"

Any ideea is welcomed :)


Brucey(Posted 2009) [#2]
Whenever I see an error like that, it's usually either a bad installation of MinGW, or you need to get a later version.

Maybe this will help.

Problems with the MinGW installer?