I had no problem building db-4.4.20 on mingw (current version) - I used
"configure --enable-mingw" as in the FAQ -, but I'm having linker
errors building any program that uses it. For example, if I try to
build AccessExample.cpp (picked at random) from the examples_cxx
folder, using this command line (which may be wrong - please correct
me!)...
g++ AccessExample.cpp -mms-bitfields -DHAVE_CXX_STDHEADERS
-I/include/db-4.4 -L/lib/db-4.4 -ldb-4.4 -o test
....I get lots of errors like:
C:/DOCUME~1/Jeff/LOCALS~1/Temp/ccCedaaa.o:AccessExample.cpp

.text+0x3c8):
undefined reference to `Db:

b(DbEnv*, unsigned int)'
The paths are all right - I've copied the /usr/local/Berkeley
DB.4.4/include and lib folders to /include/db-4.4 and /lib/db-4.4.
Any suggestions? Anything I can do to further diagnose this?
Thanks!