[Bitcoin-development] Building BDB on MingW

Amir Taaki zgenjix at yahoo.com
Fri Feb 24 22:15:37 UTC 2012

I followed the instructions from build-msw.txt and am getting the same issue from here:


MSYS shell:

cd /c/db-4.8.30.NC-mgw/build_unix
sh ../dist/configure --enable-mingw --enable-cxx

$ make

./libtool --mode=compile gcc -c -I. -I../dist/..  -O3  ../dist/../mutex/mut_win32.c
libtool: compile:  gcc -c -I. -I../dist/.. -O3 ../dist/../mutex/mut_win32.c  -DDLL_EXPORT -DPIC -o .libs/mut_win32.o
In file included from ./db_int.h:886:0,
                 from ../dist/../mutex/mut_win32.c:12:
../dist/../dbinc/repmgr.h:502:13: error: two or more data types in declaration specifiers
../dist/../dbinc/repmgr.h:502:1: warning: useless type name in empty declaration
make: *** [mut_win32.lo] Error 1[/quote]

Any ideas? Sadly the proposed fix in that thread didn't work.

More information about the bitcoin-dev mailing list