|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
|
saymissme
|
|
October 01, 2014, 03:01:59 PM |
|
./build\bitcoin.o:bitcoin.cpp:(.text+0x20da): undefined reference to `MessageMod el::MessageModel(CWallet*, WalletModel*, QObject*)' ./build\bitcoin.o:bitcoin.cpp:(.text+0x21d8): undefined reference to `MessageMod el::~MessageModel()' ./build\bitcoin.o:bitcoin.cpp:(.text+0x233d): undefined reference to `MessageMod el::~MessageModel()' C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64-mingw32/bi n/ld.exe: ./build\bitcoin.o: bad reloc address 0x2 in section `.text$_ZN5boost6d etail17sp_counted_impl_pINS_8signals26detail12signal0_implIvNS2_19optional_last_ valueIvEEiSt4lessIiENS_8functionIFvvEEENS9_IFvRKNS2_10connectionEEEENS2_5mutexEE 16invocation_stateEED1Ev[__ZN5boost6detail17sp_counted_impl_pINS_8signals26detai l12signal0_implIvNS2_19optional_last_valueIvEEiSt4lessIiENS_8functionIFvvEEENS9_ IFvRKNS2_10connectionEEEENS2_5mutexEE16invocation_stateEED1Ev]' collect2.exe: error: ld returned 1 exit status this error how to fix it?
|
|
|
|
kalisto20022002
Member
Offline
Activity: 112
Merit: 10
|
|
October 02, 2014, 04:58:33 AM |
|
anyway you can add how to compile Webkit as well? one of the altcoins i am trying to build a wallet for requires webkitwidgets? I have looked around but im lost on how to compile ruby, icu, and the other dependencies for mingw
|
C2 Team Kalisto Development Fund CcURcT2Qb87F6cq9WEX88F9R2872bFotTG
|
|
|
lite
Legendary
Offline
Activity: 1400
Merit: 1009
|
|
October 03, 2014, 08:49:22 AM |
|
can anyone help me here?? C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_system-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_filesystem-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_program_options-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_thread-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_chrono-mgw48-mt-s-1_55 collect2.exe: error: ld returned 1 exit status
|
|
|
|
pollforall
|
|
October 03, 2014, 07:47:55 PM |
|
qmake "USE_QRCODE=1" "USE_UPNP=1" "USE_IPV6=1" bitcoin-qt.pro mingw32-make -f Makefile.Release
"USE_UPNP=-"
this way is only for latest new versions of bitcoin for old version can use miniupnpc-1.9.tar.gz withou latest commits and its good and work with qt 4.8 and 5.3 and 5.3.1 and 5.3.2
|
|
|
|
pollforall
|
|
October 03, 2014, 07:49:02 PM |
|
anyway you can add how to compile Webkit as well? one of the altcoins i am trying to build a wallet for requires webkitwidgets? I have looked around but im lost on how to compile ruby, icu, and the other dependencies for mingw
best way for webkit is for use qt with VS for win not open source. for open source way is with third party wbkits good luck
|
|
|
|
zikomoto
|
|
October 04, 2014, 01:08:39 AM |
|
can anyone help me here?? C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_system-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_filesystem-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_program_options-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_thread-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_chrono-mgw48-mt-s-1_55 collect2.exe: error: ld returned 1 exit status seems lke a problem with your boost library , be sure you installed correctly the dependencies and double-check all the paths in your .pro file
|
|
|
|
Vizakenjack
Newbie
Offline
Activity: 38
Merit: 0
|
|
October 04, 2014, 07:14:58 PM |
|
C:\Coins\foobarcoin>make -f Makefile.Release c:\Qt\4.8.4\bin\rcc.exe -name bitcoin src\qt\bitcoin.qrc -o release\qrc_bitcoin. cpp g++ -c -fpermissive -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-par ameter -Wstack-protector -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI -DBOOST_THREA D_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DWIN32 -D_MT -DBOOST_THREAD_PR OVIDES_GENERIC_SHARED_MUTEX_ON_WIN -DQT_THREAD_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LI B -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQ T_HAVE_SSE2 -DQT_NEEDS_QMAIN -I"..\..\Qt\4.8.4\include\QtCore" -I"..\..\Qt\4.8.4 \include\QtGui" -I"..\..\Qt\4.8.4\include" -I"src" -I"src\json" -I"src\qt" -I"sr c\leveldb\include" -I"src\leveldb\helpers" -I"..\..\deps\boost_1_53_0" -I"..\..\ deps\db-4.8.30.NC\build_unix" -I"..\..\deps\openssl-1.0.1e\include" -I"..\..\Qt\ 4.8.4\include\ActiveQt" -I"build" -I"build" -I"..\..\Qt\4.8.4\mkspecs\win32-g++" -o build\qrc_bitcoin.o release\qrc_bitcoin.cpp g++ -Wl,--large-address-aware -static -static-libgcc -static-libstdc++ -Wl,-s -m threads -Wl,-subsystem,windows -o release\foobarCoin-qt.exe object_script.foobarCoin -qt.Release -L"c:\Qt\4.8.4\lib" -lmingwthrd -lmingw32 -lqtmain build\bitcoin-qt _res.o -lshlwapi -lssl -lcrypto -ldb_cxx -lws2_32 -lole32 -loleaut32 -luuid -lgd i32 -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53 -lboost_ program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53 C:/Coins/foobarco in/src/leveldb/libleveldb.a C:/Coins/foobarcoin/src/leveldb/libmemenv.a -lshlwapi -LC:/deps/boost_1_53_0/stage/lib -LC:/deps/db-4.8.30.NC/build_unix -LC:/deps/ope nssl-1.0.1e -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lole32 -loleau t32 -luuid -lgdi32 -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-s d-1_53 -lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53 -lboost_chrono-mgw46-mt-sd-1_53 -lQtGui4 -lQtCore4 ./build\miner.o:miner.cpp:(.text$_ZN5boost6detail5win3223GetTickCount64emulation Ev+0x1e): undefined reference to `_InterlockedCompareExchange' ./build\miner.o:miner.cpp:(.text$_ZN5boost6detail5win3223GetTickCount64emulation Ev+0x77): undefined reference to `_InterlockedCompareExchange' ./build\miner.o:miner.cpp:(.text$_ZN5boost6detail5win3223GetTickCount64emulation Ev+0xdf): undefined reference to `_InterlockedCompareExchange' collect2: error: ld returned 1 exit status error mingw32-make: *** [release\foobarCoin-qt.exe] Error 1 What's the problem? Could anyone help me?
|
|
|
|
old c coder
|
|
October 05, 2014, 03:30:16 AM |
|
can anyone help me here?? C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_system-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_filesystem-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_program_options-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_thread-mgw48-mt-s-1_55 C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_chrono-mgw48-mt-s-1_55 collect2.exe: error: ld returned 1 exit status seems lke a problem with your boost library , be sure you installed correctly the dependencies and double-check all the paths in your .pro file To be more specific, your first line: C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.1/../../../../i686-w64-mingw32/bi n/ld.exe: cannot find -lboost_system-mgw48-mt-s-1_55suggests that gcc 4.9.1 is looking for a boost built with gcc 4.8.x (multi-threaded static release mode) version 1.55 Now perhaps the compiler can't find that version because you didn't build it? Or you did, but didn't put it where gcc thinks it is? Because you told it the wrong place? Or... lots of other possibilities Do you get the idea? Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
awais3344_1
|
|
October 15, 2014, 07:20:33 AM |
|
I have been compiling fine until last day. I don't know. out of nowhere my fine machine gives me these errors. None of the files I am working on were modified. I even copy pasted my old copies of db 4.8.30. but no luck. In file included from ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:64:0, from src/db.h:14, from src/walletdb.h:8, from src/wallet.h:19, from src/init.h:8, from src\qt\bitcoin.cpp:11: ..\db-4.8.30.NC-mgw\build_unix/db.h: At global scope: ..\db-4.8.30.NC-mgw\build_unix/db.h:113:9: error: 'pthread_t' does not name a ty pe typedef pthread_t db_threadid_t; ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:846:2: error: 'db_threadid_t' does not name a type db_threadid_t tid; /* Thread owning txn ID */ ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2022:42: error: 'db_threadid_t' has not been declared int (*is_alive) __P((DB_ENV *, pid_t, db_threadid_t, u_int32_t)); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2023:45: error: 'db_threadid_t' has not been declared void (*thread_id) __P((DB_ENV *, pid_t *, db_threadid_t *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2024:50: error: 'db_threadid_t' has not been declared char *(*thread_id_string) __P((DB_ENV *, pid_t, db_threadid_t, char *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2160:29: error: 'db_threadid_t' has not been declared int (**)(DB_ENV *, pid_t, db_threadid_t, u_int32_t))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2184:47: error: 'db_threadid_t' has not been declared __P((DB_ENV *, void (**)(DB_ENV *, pid_t *, db_threadid_t *))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2186:31: error: 'db_threadid_t' has not been declared char *(**)(DB_ENV *, pid_t, db_threadid_t, char *))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2292:28: error: 'db_threadid_t' has not been declared int (*)(DB_ENV *, pid_t, db_threadid_t, u_int32_t))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2318:46: error: 'db_threadid_t' has not been declared __P((DB_ENV *, void (*)(DB_ENV *, pid_t *, db_threadid_t *))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2320:30: error: 'db_threadid_t' has not been declared char *(*)(DB_ENV *, pid_t, db_threadid_t, char *))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ In file included from src/db.h:14:0, from src/walletdb.h:8, from src/wallet.h:19, from src/init.h:8, from src\qt\bitcoin.cpp:11: ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:483:31: error: 'db_threadid_t' has not b een declared int (**)(DbEnv *, pid_t, db_threadid_t, u_int32_t)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:485:30: error: 'db_threadid_t' has not b een declared int (*)(DbEnv *, pid_t, db_threadid_t, u_int32_t)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:673:34: error: 'db_threadid_t' has not b een declared void (**)(DbEnv *, pid_t *, db_threadid_t *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:674:55: error: 'db_threadid_t' has not b een declared virtual int set_thread_id(void (*)(DbEnv *, pid_t *, db_threadid_t *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:676:33: error: 'db_threadid_t' has not b een declared char *(**)(DbEnv *, pid_t, db_threadid_t, char *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:678:13: error: 'db_threadid_t' has not b een declared pid_t, db_threadid_t, char *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:747:6: error: 'db_threadid_t' has not be en declared db_threadid_t thrid, u_int32_t flags); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:755:6: error: 'db_threadid_t' has not be en declared db_threadid_t *thridp); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:757:6: error: 'db_threadid_t' has not be en declared db_threadid_t thrid, char *buf); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:779:43: error: 'db_threadid_t' has not b een declared int (*isalive_callback_)(DbEnv *, pid_t, db_threadid_t, u_int32_t); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:787:48: error: 'db_threadid_t' has not b een declared void (*thread_id_callback_)(DbEnv *, pid_t *, db_threadid_t *); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:788:54: error: 'db_threadid_t' has not b een declared char *(*thread_id_string_callback_)(DbEnv *, pid_t, db_threadid_t, ^ In file included from ..\boost-1.50.0-mgw/boost/system/system_error.hpp:14:0, from ..\boost-1.50.0-mgw/boost/thread/exceptions.hpp:22, from ..\boost-1.50.0-mgw/boost/thread/win32/thread_primitives.h pp:16, from ..\boost-1.50.0-mgw/boost/thread/win32/basic_timed_mutex.h pp:14, from ..\boost-1.50.0-mgw/boost/thread/win32/mutex.hpp:9, from ..\boost-1.50.0-mgw/boost/thread/mutex.hpp:14, from src/allocators.h:10, from src\qt\walletmodel.h:8, from src\qt\bitcoin.cpp:6: ..\boost-1.50.0-mgw/boost/system/error_code.hpp:214:36: warning: 'boost::system: :posix_category' defined but not used [-Wunused-variable] static const error_category & posix_category = generic_category(); ^ ..\boost-1.50.0-mgw/boost/system/error_code.hpp:215:36: warning: 'boost::system: :errno_ecat' defined but not used [-Wunused-variable] static const error_category & errno_ecat = generic_category(); ^ ..\boost-1.50.0-mgw/boost/system/error_code.hpp:216:36: warning: 'boost::system: :native_ecat' defined but not used [-Wunused-variable] static const error_category & native_ecat = system_category(); ^ Makefile.Release:12235: recipe for target 'build/bitcoin.o' failed mingw32-make: *** [build/bitcoin.o] Error 1 Anyone had this problem before?
|
|
|
|
old c coder
|
|
October 16, 2014, 04:06:40 AM |
|
I have been compiling fine until last day. I don't know. out of nowhere my fine machine gives me these errors. None of the files I am working on were modified. I even copy pasted my old copies of db 4.8.30. but no luck. In file included from ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:64:0, from src/db.h:14, from src/walletdb.h:8, from src/wallet.h:19, from src/init.h:8, from src\qt\bitcoin.cpp:11: ..\db-4.8.30.NC-mgw\build_unix/db.h: At global scope: ..\db-4.8.30.NC-mgw\build_unix/db.h:113:9: error: 'pthread_t' does not name a ty pe typedef pthread_t db_threadid_t; ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:846:2: error: 'db_threadid_t' does not name a type db_threadid_t tid; /* Thread owning txn ID */ ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2022:42: error: 'db_threadid_t' has not been declared int (*is_alive) __P((DB_ENV *, pid_t, db_threadid_t, u_int32_t)); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2023:45: error: 'db_threadid_t' has not been declared void (*thread_id) __P((DB_ENV *, pid_t *, db_threadid_t *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2024:50: error: 'db_threadid_t' has not been declared char *(*thread_id_string) __P((DB_ENV *, pid_t, db_threadid_t, char *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2160:29: error: 'db_threadid_t' has not been declared int (**)(DB_ENV *, pid_t, db_threadid_t, u_int32_t))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2184:47: error: 'db_threadid_t' has not been declared __P((DB_ENV *, void (**)(DB_ENV *, pid_t *, db_threadid_t *))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2186:31: error: 'db_threadid_t' has not been declared char *(**)(DB_ENV *, pid_t, db_threadid_t, char *))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2292:28: error: 'db_threadid_t' has not been declared int (*)(DB_ENV *, pid_t, db_threadid_t, u_int32_t))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2318:46: error: 'db_threadid_t' has not been declared __P((DB_ENV *, void (*)(DB_ENV *, pid_t *, db_threadid_t *))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:2320:30: error: 'db_threadid_t' has not been declared char *(*)(DB_ENV *, pid_t, db_threadid_t, char *))); ^ ..\db-4.8.30.NC-mgw\build_unix/db.h:40:21: note: in definition of macro '__P' #define __P(protos) protos ^ In file included from src/db.h:14:0, from src/walletdb.h:8, from src/wallet.h:19, from src/init.h:8, from src\qt\bitcoin.cpp:11: ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:483:31: error: 'db_threadid_t' has not b een declared int (**)(DbEnv *, pid_t, db_threadid_t, u_int32_t)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:485:30: error: 'db_threadid_t' has not b een declared int (*)(DbEnv *, pid_t, db_threadid_t, u_int32_t)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:673:34: error: 'db_threadid_t' has not b een declared void (**)(DbEnv *, pid_t *, db_threadid_t *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:674:55: error: 'db_threadid_t' has not b een declared virtual int set_thread_id(void (*)(DbEnv *, pid_t *, db_threadid_t *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:676:33: error: 'db_threadid_t' has not b een declared char *(**)(DbEnv *, pid_t, db_threadid_t, char *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:678:13: error: 'db_threadid_t' has not b een declared pid_t, db_threadid_t, char *)); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:747:6: error: 'db_threadid_t' has not be en declared db_threadid_t thrid, u_int32_t flags); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:755:6: error: 'db_threadid_t' has not be en declared db_threadid_t *thridp); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:757:6: error: 'db_threadid_t' has not be en declared db_threadid_t thrid, char *buf); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:779:43: error: 'db_threadid_t' has not b een declared int (*isalive_callback_)(DbEnv *, pid_t, db_threadid_t, u_int32_t); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:787:48: error: 'db_threadid_t' has not b een declared void (*thread_id_callback_)(DbEnv *, pid_t *, db_threadid_t *); ^ ..\db-4.8.30.NC-mgw\build_unix/db_cxx.h:788:54: error: 'db_threadid_t' has not b een declared char *(*thread_id_string_callback_)(DbEnv *, pid_t, db_threadid_t, ^ In file included from ..\boost-1.50.0-mgw/boost/system/system_error.hpp:14:0, from ..\boost-1.50.0-mgw/boost/thread/exceptions.hpp:22, from ..\boost-1.50.0-mgw/boost/thread/win32/thread_primitives.h pp:16, from ..\boost-1.50.0-mgw/boost/thread/win32/basic_timed_mutex.h pp:14, from ..\boost-1.50.0-mgw/boost/thread/win32/mutex.hpp:9, from ..\boost-1.50.0-mgw/boost/thread/mutex.hpp:14, from src/allocators.h:10, from src\qt\walletmodel.h:8, from src\qt\bitcoin.cpp:6: ..\boost-1.50.0-mgw/boost/system/error_code.hpp:214:36: warning: 'boost::system: :posix_category' defined but not used [-Wunused-variable] static const error_category & posix_category = generic_category(); ^ ..\boost-1.50.0-mgw/boost/system/error_code.hpp:215:36: warning: 'boost::system: :errno_ecat' defined but not used [-Wunused-variable] static const error_category & errno_ecat = generic_category(); ^ ..\boost-1.50.0-mgw/boost/system/error_code.hpp:216:36: warning: 'boost::system: :native_ecat' defined but not used [-Wunused-variable] static const error_category & native_ecat = system_category(); ^ Makefile.Release:12235: recipe for target 'build/bitcoin.o' failed mingw32-make: *** [build/bitcoin.o] Error 1 Anyone had this problem before? Hello ?, Much has been said in regards pthread_t. See messages # 626, 594, 320, 34 all in this forum. Maybe that will shed some light on your problem? Ron
|
LTC: LUYiMVsrFQewUSPDasSKGzhyTPAkiTeSov BTC: 1DPvP6WoZzaNQ9Nxzd64hjYad1kyQzTTbx YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf The day is coming when a single carrot, freshly observed, will set off a revolution. Paul Cezanne
|
|
|
|
awais3344_1
|
|
October 20, 2014, 06:24:48 AM |
|
^checked now, those changes are there. But still doesn't work. Like I said, it was working for a month, now it doesn't. it has something to do with mingw. But what, I don't understand.
|
|
|
|
awais3344_1
|
|
October 21, 2014, 07:55:12 AM |
|
anyone had this problem? Nothing works, I restored my old backup of db and then boost. Still the same errors. Even tried a old source
|
|
|
|
cloudboy
|
|
October 22, 2014, 12:14:08 AM |
|
Has anyone been able to build miniupnpc on Windows with 64-bit? I keep getting:
C:\deps\miniupnpc>make -f Makefile.mingw init upnpc-static make: 'init' is up to date. wingenminiupnpcstrings miniupnpcstrings.h.in miniupnpcstrings.h make: wingenminiupnpcstrings: Command not found make: *** [miniupnpcstrings.h] Error 127
|
|
|
|
awais3344_1
|
|
October 22, 2014, 06:52:48 AM |
|
^fixed those alot of thread_t errors by editing to berkleydb\build_unix\db.h
replace typedef pthread_t db_threadid_t;
with
typedef u_int32_t db_threadid_t;
Now there are no more those errors. I will keep testing further.
|
|
|
|
awais3344_1
|
|
October 22, 2014, 08:48:19 AM |
|
also i think this tutorial is good, but it misses some things like you need to have msys-zlib-bin and msys-gcc compiler to able to make libpng and libqrencode.
|
|
|
|
awais3344_1
|
|
October 22, 2014, 09:34:53 AM Last edit: October 22, 2014, 10:09:33 AM by awais3344_1 |
|
this last thing. I was able to compile libpng after installing zlib, and msys-gcc-bin. Because first I had the error "checking.. whether c compiler works .. no" after msys-gcc-bin. that error is gone. but now on qrencode. checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/c/qrencode-3.4.4': configure: error: C compiler cannot create executables See `config.log' for more details cd /c/deps/qrencode-3.4.4
LIBS="../libpng-1.6.12/.libs/libpng.a ../../mingw32/i686-w64-mingw32/lib/libz.a" \ png_CFLAGS="-I../libpng-1.6.12" \ png_LIBS="-L../libpng-1.6.12/.libs" \ configure --enable-static --disable-shared --without-tools
make Edit: The above error doesn't appear. if I don't do the first 3 steps^. And just do the configure. So I looked in the config.log for the error. And it says no such file or directory.
|
|
|
|
awais3344_1
|
|
October 22, 2014, 10:30:28 AM |
|
okay, this one now g++: error: CreateProcess: No such file or directory Makefile.Release:70469: recipe for target 'build/qrcodedialog.o' failed mingw bin is set in path environment variable. and its present in the corresponding folder. g++.exe and gcc.exe Now I wonder what is the problem? is windows not able to find the file in that folder?
|
|
|
|
nitrogenetics (OP)
|
|
October 22, 2014, 02:16:51 PM |
|
also i think this tutorial is good, but it misses some things like you need to have msys-zlib-bin and msys-gcc compiler to able to make libpng and libqrencode.
The tutorial states you have to use a mingw-builds toolchain:
|
BTC: 1NWQ4TarCCC7j1XY26KRFFEtLYbPP6S3DH XRP: rJkbeyRaUYDmcukEyLYVfn56QDM9VhybZG
|
|
|
|