Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: evorios on November 25, 2011, 08:45:18 AM



Title: Re: [COLLECTED] 100 BTC Bounty For Windows Build Instructions
Post by: evorios on November 25, 2011, 08:45:18 AM
Please, help me:
Code:
evorios@d440 /c/db-4.8.30.NC-mgw/build_unix
$ make
./libtool --mode=compile gcc -c -I. -I../dist/..  -O3  ../dist/../mutex/mut_win3
2.c
libtool: compile:  gcc -c -I. -I../dist/.. -O3 ../dist/../mutex/mut_win32.c  -DD
LL_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 s
pecifiers
../dist/../dbinc/repmgr.h:502:1: warning: useless type name in empty declaration

make: *** [mut_win32.lo] Error 1

evorios@d440 /c/db-4.8.30.NC-mgw/build_unix
$
What should I do?


Title: Re: [COLLECTED] 100 BTC Bounty For Windows Build Instructions
Post by: evorios on November 25, 2011, 09:55:47 AM
Sorry, I find "#define socklen_t int", that create error in code.
Problem solved.

But "repmgr_posix.c" won`t compile.  ???


Title: Re: [COLLECTED] 100 BTC Bounty For Windows Build Instructions
Post by: evorios on November 25, 2011, 05:04:33 PM
I find hint on chinise blog  ;) - add two key in prepare command
Code:
../dist/configure --disable-replication [b]--disable-posixmutexes --disable-pthread_api[/b] --enable-mingw --enable-cxx --prefix=/usr/local

and change db.h yet as in this post (https://bitcointalk.org/index.php?topic=45507.msg559841#msg559841).