Bitcoin Forum
May 06, 2024, 09:00:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Problem with building (Windows, MinGW)  (Read 5116 times)
Suspended (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
October 21, 2011, 10:21:34 PM
 #1

Hi! I have some strange problem with building bitcoin v0.4.0 (I guess).
I carefully read doc/build-msw.txt and done all about to instruction. I successfully built all libraries (boost, openssl, etc) and changed absolute pathes in src/makefile.mingw.
Then I runned in MSYS:
Code:
Suspended@computer-729108 /h/projects/bitcoin/bitcoin/src
$ mingw32-make bitcoin.exe bitcoind.exe -f makefile.mingw
g++ -c -mthreads -O2 -w -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DWIN32
-D__WXMSW__ -D_WINDOWS -DNOPCH -DUSE_SSL -DBOOST_THREAD_USE_LIB -DSTATICLIB -DUS
E_UPNP=0 -I"H:\Projects\bitcoin\boost_1_47_0\" -I"H:\Projects\bitcoin\db-5.2.36.
NC\build_windows" -I"H:\Projects\bitcoin\openssl-1.0.0e\include" -I"D:\wxWidgets
-2.8.12\lib\gcc_lib\mswud" -I"D:\wxWidgets-2.8.12\include" -I"H:\Projects\bitcoi
n\miniupnpc-1.6" -DGUI -o obj/crypter.o crypter.cpp
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mingw32-make: *** [obj/crypter.o] Error 258


Also I tried with MinGW command line (cmd.exe):
Code:
H:\Projects\bitcoin\bitcoin\src>mingw32-make bitcoin.exe bitcoind.exe -f makefil
e.mingw
g++ -c -mthreads -O2 -w -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DWIN32
-D__WXMSW__ -D_WINDOWS -DNOPCH -DUSE_SSL -DBOOST_THREAD_USE_LIB -DSTATICLIB -DUS
E_UPNP=0 -I"H:\Projects\bitcoin\boost_1_47_0\" -I"H:\Projects\bitcoin\db-5.2.36.
NC\build_windows" -I"H:\Projects\bitcoin\openssl-1.0.0e\include" -I"D:\wxWidgets
-2.8.12\lib\gcc_lib\mswud" -I"D:\wxWidgets-2.8.12\include" -I"H:\Projects\bitcoi
n\miniupnpc-1.6" -DGUI -o obj/crypter.o crypter.cpp
g++: fatal error: no input files
compilation terminated.
mingw32-make: *** [obj/crypter.o] Error 1


I couldn't google and solution of this problem, but I feels like I missed something stupid... help me please :)
1714986007
Hero Member
*
Offline Offline

Posts: 1714986007

View Profile Personal Message (Offline)

Ignore
1714986007
Reply with quote  #2

1714986007
Report to moderator
1714986007
Hero Member
*
Offline Offline

Posts: 1714986007

View Profile Personal Message (Offline)

Ignore
1714986007
Reply with quote  #2

1714986007
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714986007
Hero Member
*
Offline Offline

Posts: 1714986007

View Profile Personal Message (Offline)

Ignore
1714986007
Reply with quote  #2

1714986007
Report to moderator
Suspended (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
October 22, 2011, 04:15:40 PM
 #2

I refetched Git repository to another directory, updated pathes in Makefile and nwo Im getting new error!

If we try to use "....\db-5.2.36.NC\build_windows", then we'll get
Code:
In file included from H:\Projects\bitcoin\db-5.2.36.NC\build_windows/db_cxx.h:64
:0,
                 from headers.h:36,
                 from crypter.cpp:9:
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/db.h:30:21: fatal error: pthread.
h: No such file or directory
compilation terminated.
mingw32-make: *** [obj/nogui/crypter.o] Error 1

If I try to build /build_unix in db-5.2.36.NC, I'll get this error
Code:
./libtool --mode=compile gcc -c -I. -I../dist/.. -O3 ../dist/../mutex/mut_failchk.c
libtool: compile: gcc -c -I. -I../dist/.. -O3 ../dist/../mutex/mut_failchk.c -DDLL_EXPORT -DPIC -o
.libs/mut_failchk.o
../dist/../mutex/mut_failchk.c: In function '__mut_failchk':
../dist/../mutex/mut_failchk.c:53:7: error: incompatible type for argument 3 of 'dbenv->is_alive'
../dist/../mutex/mut_failchk.c:53:7: note: expected 'db_threadid_t' but argument is of type 'int'
../dist/../mutex/mut_failchk.c:57:7: error: incompatible type for argument 3 of 'dbenv->thread_id_st
ring'
../dist/../mutex/mut_failchk.c:57:7: note: expected 'db_threadid_t' but argument is of type 'int'
make: *** [mut_failchk.lo] Error 1

As described in https://forums.oracle.com/forums/thread.jspa?threadID=2232373
Code:
I suspect that the issue is that MinGW (the latest version) installs GCC 4.5.2 which includes PTHREADS-WIN32 2.8.0

I think the pthread issue was caused by incompatible type definitions between "pthread for Win32" and regular unix pthread.

http://forums.oracle.com/forums/thread.jspa?messageID=4018239

My question is can Berkeley DB 5 be compiled with the MinGW GCC 4.5.2 compiler given these issues ?

or is my only option to install MinGW / MSYS with GCC 3.4.5 and then build Berkeley DB with that ?

But no one gives answer... please help me someone, I really need to compile bitcoin by myself!..
Suspended (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
October 23, 2011, 08:29:47 AM
 #3

I've commented #include <pthreadюpЮб updated boost libraries names in makefile, and now trying to build with db/build_windows

Code:
g++ -mthreads -O2 -w -Wno-invalid-offsetof -Wformat -g -DWIN32 -D_WINDOWS -DNOPC
H -DUSE_SSL -DBOOST_THREAD_USE_LIB -DSTATICLIB -DUSE_UPNP=0 -I"H:\Projects\bitco
in\boost_1_47_0" -I"H:\Projects\bitcoin\db-5.2.36.NC\build_windows" -I"H:\Projec
ts\bitcoin\openssl-1.0.0e\include" -I"H:\Projects\bitcoin\miniupnpc-1.6" -o bitc
oind.exe -L"H:\Projects\bitcoin\boost_1_47_0\stage\lib" -L"H:\Projects\bitcoin\d
b-5.2.36.NC\build_windows" -L"H:\Projects\bitcoin\openssl-1.0.0e" -L"H:\Projects
\bitcoin\miniupnpc-1.6" obj/nogui/crypter.o obj/nogui/db.o obj/nogui/init.o obj/
nogui/irc.o obj/nogui/keystore.o obj/nogui/main.o obj/nogui/net.o obj/nogui/prot
ocol.o obj/nogui/bitcoinrpc.o obj/nogui/script.o obj/nogui/util.o obj/nogui/wall
et.o -l libboost_system-mgw46-1_47 -l libboost_filesystem-mgw46-1_47 -l libboost
_program_options-mgw46-1_47 -l libboost_thread-mgw46-mt-1_47 -l db_cxx -l ssl -l
 crypto -l miniupnpc -l iphlpapi -l kernel32 -l user32 -l gdi32 -l comdlg32 -l w
inspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -
l advapi32 -l ws2_32 -l shlwapi
obj/nogui/util.o: In function `ZN5boost12eof_iteratorINS_15program_options6detai
l27common_config_file_iteratorENS1_12basic_optionIcEEE9incrementEv':
H:/Projects/bitcoin/boost_1_47_0/boost/program_options/eof_iterator.hpp:75: unde
fined reference to `boost::program_options::detail::common_config_file_iterator:
:get()'
obj/nogui/util.o: In function `basic_config_file_iterator':
H:/Projects/bitcoin/boost_1_47_0/boost/program_options/detail/config_file.hpp:14
7: undefined reference to `boost::program_options::detail::common_config_file_it
erator::common_config_file_iterator(std::set<std::string, std::less<std::string>
, std::allocator<std::string> > const&, bool)'
H:/Projects/bitcoin/boost_1_47_0/boost/program_options/detail/config_file.hpp:15
0: undefined reference to `boost::program_options::detail::common_config_file_it
erator::get()'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_env.o):cxx_env.cp
p:(.text+0x9d9): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_env.o):cxx_env.cp
p:(.text+0x9ee): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_env.o):cxx_env.cp
p:(.text+0xa03): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_env.o):cxx_env.cp
p:(.text+0xa18): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_env.o):cxx_env.cp
p:(.text+0xa2d): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_env.o):cxx_env.cp
p:(.text+0xd3e): more undefined references to `_Unwind_Resume' follow
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_env.o):cxx_env.cp
p:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_db.o):cxx_db.cpp:
(.text+0xdbe): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_db.o):cxx_db.cpp:
(.text+0xdd0): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_db.o):cxx_db.cpp:
(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_except.o):cxx_exc
ept.cpp:(.text+0x219): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_except.o):cxx_exc
ept.cpp:(.text+0x406): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_except.o):cxx_exc
ept.cpp:(.text+0x457): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_except.o):cxx_exc
ept.cpp:(.text+0x4a8): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_except.o):cxx_exc
ept.cpp:(.text+0x4fa): undefined reference to `_Unwind_Resume'
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_except.o):cxx_exc
ept.cpp:(.text+0x713): more undefined references to `_Unwind_Resume' follow
H:\Projects\bitcoin\db-5.2.36.NC\build_windows/libdb_cxx.a(cxx_except.o):cxx_exc
ept.cpp:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
mingw32-make: *** [bitcoind.exe] Error 1

What is the matter? What should I do?
Suspended (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
October 23, 2011, 11:40:19 AM
 #4

I still cant build previouse version db-4.8.30.NC. I downgraded MinGW gcc verion to -v3 and during making db-4.8.30NC I get this kind of strange error:
Code:
libtool: compile:  gcc -c -I. -I../dist/.. -O3 ../dist/../repmgr/repmgr_posix.c
 -DDLL_EXPORT -DPIC -o .libs/repmgr_posix.o
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_thread_start':
../dist/../repmgr/repmgr_posix.c:89:7: warning: passing argument 1 of 'pthread_c
reate' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:920:31: note
: expected 'struct pthread_t *' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_thread_join':
../dist/../repmgr/repmgr_posix.c:99:2: error: incompatible type for argument 1 o
f 'pthread_join'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:932:31: note
: expected 'pthread_t' but argument is of type 'thread_id_t'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_set_nonblocking':
../dist/../repmgr/repmgr_posix.c:111:25: error: 'F_GETFL' undeclared (first use
in this function)
../dist/../repmgr/repmgr_posix.c:111:25: note: each undeclared identifier is rep
orted only once for each function it appears in
../dist/../repmgr/repmgr_posix.c:113:16: error: 'F_SETFL' undeclared (first use
in this function)
../dist/../repmgr/repmgr_posix.c:113:33: error: 'O_NONBLOCK' undeclared (first u
se in this function)
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_wake_waiting_senders':
../dist/../repmgr/repmgr_posix.c:131:49: error: 'DB_REP' has no member named 'ac
k_condition'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_await_ack':
../dist/../repmgr/repmgr_posix.c:162:40: error: 'DB_REP' has no member named 'ac
k_condition'
../dist/../repmgr/repmgr_posix.c:163:8: warning: passing argument 2 of 'pthread_
cond_timedwait' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1068:31: not
e: expected 'struct pthread_mutex_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c:165:35: error: 'DB_REP' has no member named 'ac
k_condition'
../dist/../repmgr/repmgr_posix.c:166:8: warning: passing argument 2 of 'pthread_
cond_wait' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1065:31: not
e: expected 'struct pthread_mutex_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_await_drain':
../dist/../repmgr/repmgr_posix.c:245:7: warning: passing argument 1 of 'pthread_
cond_timedwait' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1068:31: not
e: expected 'struct pthread_cond_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c:245:7: warning: passing argument 2 of 'pthread_
cond_timedwait' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1068:31: not
e: expected 'struct pthread_mutex_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_alloc_cond':
../dist/../repmgr/repmgr_posix.c:282:2: warning: passing argument 1 of 'pthread_
cond_init' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1060:31: not
e: expected 'struct pthread_cond_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_free_cond':
../dist/../repmgr/repmgr_posix.c:294:2: warning: passing argument 1 of 'pthread_
cond_destroy' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1063:31: not
e: expected 'struct pthread_cond_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_env_create_pf':
../dist/../repmgr/repmgr_posix.c:304:8: error: 'DB_REP' has no member named 'rea
d_pipe'
../dist/../repmgr/repmgr_posix.c:304:28: error: 'DB_REP' has no member named 'wr
ite_pipe'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_create_mutex_pf':
../dist/../repmgr/repmgr_posix.c:314:2: warning: passing argument 1 of 'pthread_
mutex_init' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1006:31: not
e: expected 'struct pthread_mutex_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_destroy_mutex_pf':
../dist/../repmgr/repmgr_posix.c:324:2: warning: passing argument 1 of 'pthread_
mutex_destroy' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1009:31: not
e: expected 'struct pthread_mutex_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_init':
../dist/../repmgr/repmgr_posix.c:335:19: error: storage size of 'sigact' isn't k
nown
../dist/../repmgr/repmgr_posix.c:347:16: error: 'SIGPIPE' undeclared (first use
in this function)
../dist/../repmgr/repmgr_posix.c:363:38: error: 'DB_REP' has no member named 'ac
k_condition'
../dist/../repmgr/repmgr_posix.c:367:2: warning: passing argument 1 of 'pthread_
cond_init' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1060:31: not
e: expected 'struct pthread_cond_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c:371:2: warning: passing argument 1 of 'pthread_
cond_init' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1060:31: not
e: expected 'struct pthread_cond_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c:380:8: error: 'DB_REP' has no member named 'rea
d_pipe'
../dist/../repmgr/repmgr_posix.c:381:8: error: 'DB_REP' has no member named 'wri
te_pipe'
../dist/../repmgr/repmgr_posix.c:385:3: warning: passing argument 1 of 'pthread_
cond_destroy' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1063:31: not
e: expected 'struct pthread_cond_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c:387:3: warning: passing argument 1 of 'pthread_
cond_destroy' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1063:31: not
e: expected 'struct pthread_cond_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c:389:37: error: 'DB_REP' has no member named 'ac
k_condition'
../dist/../repmgr/repmgr_posix.c:390:8: error: 'DB_REP' has no member named 'rea
d_pipe'
../dist/../repmgr/repmgr_posix.c:390:28: error: 'DB_REP' has no member named 'wr
ite_pipe'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_deinit':
../dist/../repmgr/repmgr_posix.c:410:2: warning: passing argument 1 of 'pthread_
cond_destroy' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1063:31: not
e: expected 'struct pthread_cond_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c:412:2: warning: passing argument 1 of 'pthread_
cond_destroy' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1063:31: not
e: expected 'struct pthread_cond_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c:416:43: error: 'DB_REP' has no member named 'ac
k_condition'
../dist/../repmgr/repmgr_posix.c:420:18: error: 'DB_REP' has no member named 're
ad_pipe'
../dist/../repmgr/repmgr_posix.c:422:18: error: 'DB_REP' has no member named 'wr
ite_pipe'
../dist/../repmgr/repmgr_posix.c:425:8: error: 'DB_REP' has no member named 'rea
d_pipe'
../dist/../repmgr/repmgr_posix.c:425:28: error: 'DB_REP' has no member named 'wr
ite_pipe'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_lock_mutex':
../dist/../repmgr/repmgr_posix.c:436:2: warning: passing argument 1 of 'pthread_
mutex_lock' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1011:31: not
e: expected 'struct pthread_mutex_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_unlock_mutex':
../dist/../repmgr/repmgr_posix.c:446:2: warning: passing argument 1 of 'pthread_
mutex_unlock' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1018:31: not
e: expected 'struct pthread_mutex_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_signal':
../dist/../repmgr/repmgr_posix.c:461:2: warning: passing argument 1 of 'pthread_
cond_broadcast' from incompatible pointer type
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/pthread.h:1074:31: not
e: expected 'struct pthread_cond_t_ **' but argument is of type 'void **'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_wake_main_thread':
../dist/../repmgr/repmgr_posix.c:482:18: error: 'DB_REP' has no member named 'wr
ite_pipe'
../dist/../repmgr/repmgr_posix.c: In function '__repmgr_select_loop':
../dist/../repmgr/repmgr_posix.c:556:3: error: 'DB_REP' has no member named 'rea
d_pipe'
../dist/../repmgr/repmgr_posix.c:556:3: error: 'DB_REP' has no member named 'rea
d_pipe'
../dist/../repmgr/repmgr_posix.c:557:25: error: 'DB_REP' has no member named 're
ad_pipe'
../dist/../repmgr/repmgr_posix.c:587:9: error: 'EWOULDBLOCK' undeclared (first u
se in this function)
../dist/../repmgr/repmgr_posix.c:613:7: error: 'DB_REP' has no member named 'rea
d_pipe'
../dist/../repmgr/repmgr_posix.c:614:19: error: 'DB_REP' has no member named 're
ad_pipe'
make: *** [repmgr_posix.lo] Error 1
Suspended (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
October 24, 2011, 11:18:31 PM
 #5

Just tell me someone, how does guys build official release for win32 client?..
defaced
Legendary
*
Offline Offline

Activity: 2184
Merit: 1011


Franko is Freedom


View Profile WWW
May 04, 2013, 12:47:05 PM
 #6

I'm running into the exact same errors and i would really like to know myself. Its sort of frustrating to spend all the time compiling just to get an error right at the end saying "oh btw, it almost worked but nope, nope and nope"

Fortune Favors the Brave
Borderless CharityEXPANSEEXRAllergy FinderFranko Is Freedom
defaced
Legendary
*
Offline Offline

Activity: 2184
Merit: 1011


Franko is Freedom


View Profile WWW
May 04, 2013, 12:53:41 PM
 #7

OH SNAP!!

I figured it out..

Cd build_unix
../dist/configure --enable-cxx --enable-mingw --disable-pthread_api --disable-replication

After this completes

@ Line 113 Replace

typedef pthread_t db_threadid_t;

with

typedef u_int32_t db_threadid_t;

https://bitcointalk.org/index.php?topic=45507.0

Fortune Favors the Brave
Borderless CharityEXPANSEEXRAllergy FinderFranko Is Freedom
phorensic
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile
May 07, 2013, 04:24:33 AM
 #8

OH SNAP!!

I figured it out..

Cd build_unix
../dist/configure --enable-cxx --enable-mingw --disable-pthread_api --disable-replication

After this completes

@ Line 113 Replace

typedef pthread_t db_threadid_t;

with

typedef u_int32_t db_threadid_t;

https://bitcointalk.org/index.php?topic=45507.0
Thank you, you solved my issue.  Your extra configure options are also documented here: https://forums.oracle.com/forums/thread.jspa?messageID=4018239 .  Not entirely sure what it does, but at least Berkeley DB finally compiles.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!