Show Posts
|
Pages: [1]
|
my account here got hacked and someone sent the op messages, i have since changed my password and security question in the hopes it will not happen again
|
|
|
well i went ahead and started a new vm here at home and tried to compile alphacoin after doing the patch for db and still got an error about boost which is attached
EDIT took me forever but i finally got it! thanks for the help!
|
|
|
yes i did and the alphacoin-qt.pro file and util.h file if i remember right and one other file already have those fixes in them, also with that fix in the berkley db do i need to recompile db after that change is made? Yes! It's the db.h in the BerkeleyDB sources, not the db.h in the *coin sources. Ron tomorrow i will edit that file and recompile db and edit or reply back with how it goes
|
|
|
yes i did and the alphacoin-qt.pro file and util.h file if i remember right and one other file already have those fixes in them, also with that fix in the berkley db do i need to recompile db after that change is made?
|
|
|
i went back and reread all of the posts about this issue and applied the patches except for qt5 patch and i am still getting the same error
|
|
|
ok i am trying to compile a different wallet now and am getting this error ..\deps\boost_1_55_0/boost/interprocess/detail/tmp_dir_helpers.hpp:45:97: inst antiated from here ..\deps\boost_1_55_0/boost/interprocess/detail/intermodule_singleton_common.hpp: 205:93: warning: dereferencing type-punned pointer will break strict-aliasing ru les [-Wstrict-aliasing] ..\deps\boost_1_55_0/boost/system/error_code.hpp: At global scope: ..\deps\boost_1_55_0/boost/system/error_code.hpp:222:36: warning: 'boost::system ::posix_category' defined but not used [-Wunused-variable] ..\deps\boost_1_55_0/boost/system/error_code.hpp:223:36: warning: 'boost::system ::errno_ecat' defined but not used [-Wunused-variable] ..\deps\boost_1_55_0/boost/system/error_code.hpp:224:36: warning: 'boost::system ::native_ecat' defined but not used [-Wunused-variable] mingw32-make: *** [build/bitcoin.o] Error 1 There is no error showing in the dump you provided above, it is up "above" somewhere! All I can say is that gcc was trying to compile bitcoin.cpp for the Qt version. Let us know what alt coin & version you are trying to compile. Maybe someone here can direct you to an appropriate forum for that coin? They all have them. Though all the smart guys are here ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) Ron it is the latest version of alpha coin wallet C:\alphacoin>mingw32-make -f Makefile.Release g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -fexceptions -mthreads -fdiag nostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-paramet er -D__NO_SYSTEM_INCLUDES -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIR IT_THREADSAFE -DUSE_IPV6 -DWIN32 -D_MT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\Qt\4.8.6\include\QtCore" -I"..\Qt\4.8.6\include\QtGui" -I"..\Qt\4.8.6\incl ude" -I"src" -I"src\json" -I"src\qt" -I"..\deps\boost_1_55_0" -I"..\deps\db-4.8. 30.NC\build_unix" -I"..\deps\openssl-1.0.1j\include" -I"..\Qt\4.8.6\include\Acti veQt" -I"build" -I"build" -I"..\Qt\4.8.6\mkspecs\default" -o build\bitcoin.o src \qt\bitcoin.cpp In file included from src/bignum.h:13:0, from src/main.h:10, from src/wallet.h:9, from src/init.h:9, from src\qt\bitcoin.cpp:11: src/util.h:555:16: error: conflicting declaration 'typedef void* pthread_t' c:\mingw32\bin\../lib/gcc/i686-pc-mingw32/4.6.2/../../../../i686-pc-mingw32/incl ude/pthread.h:187:19: error: 'pthread_t' has a previous declaration as 'typedef uintptr_t pthread_t' src/util.h: In function 'pthread_t CreateThread(void (*)(void*), void*, bool)': src/util.h:578:12: error: invalid conversion from 'HANDLE {aka void*}' to 'pthre ad_t {aka unsigned int}' [-fpermissive] In file included from ..\deps\boost_1_55_0/boost/interprocess/errors.hpp:37:0, from ..\deps\boost_1_55_0/boost/interprocess/exceptions.hpp:20,
from ..\deps\boost_1_55_0/boost/interprocess/shared_memory_obje ct.hpp:17, from ..\deps\boost_1_55_0/boost/interprocess/ipc/message_queue. hpp:17, from src\qt\bitcoin.cpp:23: ..\deps\boost_1_55_0/boost/interprocess/detail/win32_api.hpp: At global scope: ..\deps\boost_1_55_0/boost/interprocess/detail/win32_api.hpp:903:116: warning: d eclaration of 'void* boost::interprocess::winapi::CreateMutexA(boost::interproce ss::winapi::interprocess_security_attributes*, int, const char*)' with C languag e linkage [enabled by default] ..\deps\boost_1_55_0/boost/thread/win32/thread_primitives.hpp:144:55: warning: c onflicts with previous declaration 'void* boost::detail::win32::CreateMutexA(boo st::detail::win32::_SECURITY_ATTRIBUTES*, int, const char*)' [enabled by default ] ..\deps\boost_1_55_0/boost/interprocess/detail/win32_api.hpp:908:127: warning: d eclaration of 'void* boost::interprocess::winapi::CreateSemaphoreA(boost::interp rocess::winapi::interprocess_security_attributes*, long int, long int, const cha r*)' with C language linkage [enabled by default] ..\deps\boost_1_55_0/boost/thread/win32/thread_primitives.hpp:145:55: warning: c onflicts with previous declaration 'void* boost::detail::win32::CreateSemaphoreA (boost::detail::win32::_SECURITY_ATTRIBUTES*, long int, long int, const char*)' [enabled by default] In file included from ..\deps\boost_1_55_0/boost/thread/shared_mutex.hpp:18:0, from ..\deps\boost_1_55_0/boost/thread/detail/thread_group.hpp: 9, from ..\deps\boost_1_55_0/boost/thread/thread.hpp:13, from ..\deps\boost_1_55_0/boost/thread.hpp:13, from src/util.h:22, from src/bignum.h:13, from src/main.h:10, from src/wallet.h:9, from src/init.h:9, from src\qt\bitcoin.cpp:11: ..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp: In member function 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::sha red_mutex::state_data]': ..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:124:103: instantiated from here ..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefer encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:52:99: warning: derefer encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ..\deps\boost_1_55_0/boost/thread/win32/shared_mutex.hpp:53:52: warning: derefer encing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] In file included from ..\deps\boost_1_55_0/boost/interprocess/detail/windows_int ermodule_singleton.hpp:26:0, from ..\deps\boost_1_55_0/boost/interprocess/detail/tmp_dir_hel pers.hpp:22, from ..\deps\boost_1_55_0/boost/interprocess/shared_memory_obje ct.hpp:22, from ..\deps\boost_1_55_0/boost/interprocess/ipc/message_queue. hpp:17, from src\qt\bitcoin.cpp:23: ..\deps\boost_1_55_0/boost/interprocess/detail/intermodule_singleton_common.hpp: In static member function 'static ThreadSafeGlobalMap& boost::interprocess::ipc detail::intermodule_singleton_common<ThreadSafeGlobalMap>::get_map() [with Threa dSafeGlobalMap = boost::interprocess::ipcdetail::intermodule_singleton_helpers:: windows_semaphore_based_map]': ..\deps\boost_1_55_0/boost/interprocess/detail/intermodule_singleton_common.hpp: 126:49: instantiated from 'static void boost::interprocess::ipcdetail::intermo dule_singleton_common<ThreadSafeGlobalMap>::initialize_singleton_logic(void*&, v olatile uint32_t&, void* (*)(ThreadSafeGlobalMap&), bool) [with ThreadSafeGlobal Map = boost::interprocess::ipcdetail::intermodule_singleton_helpers::windows_sem aphore_based_map, uint32_t = unsigned int, boost::interprocess::ipcdetail::inter module_singleton_common<ThreadSafeGlobalMap>::singleton_constructor_t = void*(bo ost::interprocess::ipcdetail::intermodule_singleton_helpers::windows_semaphore_b ased_map&)]' ..\deps\boost_1_55_0/boost/interprocess/detail/intermodule_singleton_common.hpp: 336:7: instantiated from 'static void boost::interprocess::ipcdetail::intermod ule_singleton_impl<C, LazyInit, Phoenix, ThreadSafeGlobalMap>::atentry_work() [w ith C = boost::interprocess::ipcdetail::windows_bootstamp, bool LazyInit = true, bool Phoenix = true, ThreadSafeGlobalMap = boost::interprocess::ipcdetail::inte rmodule_singleton_helpers::windows_semaphore_based_map]' ..\deps\boost_1_55_0/boost/interprocess/detail/intermodule_singleton_common.hpp: 326:13: instantiated from 'static C& boost::interprocess::ipcdetail::intermodu le_singleton_impl<C, LazyInit, Phoenix, ThreadSafeGlobalMap>::get() [with C = bo ost::interprocess::ipcdetail::windows_bootstamp, bool LazyInit = true, bool Phoe nix = true, ThreadSafeGlobalMap = boost::interprocess::ipcdetail::intermodule_si ngleton_helpers::windows_semaphore_based_map]' ..\deps\boost_1_55_0/boost/interprocess/detail/tmp_dir_helpers.hpp:45:97: inst antiated from here ..\deps\boost_1_55_0/boost/interprocess/detail/intermodule_singleton_common.hpp: 205:93: warning: dereferencing type-punned pointer will break strict-aliasing ru les [-Wstrict-aliasing] ..\deps\boost_1_55_0/boost/system/error_code.hpp: At global scope: ..\deps\boost_1_55_0/boost/system/error_code.hpp:222:36: warning: 'boost::system ::posix_category' defined but not used [-Wunused-variable] ..\deps\boost_1_55_0/boost/system/error_code.hpp:223:36: warning: 'boost::system ::errno_ecat' defined but not used [-Wunused-variable] ..\deps\boost_1_55_0/boost/system/error_code.hpp:224:36: warning: 'boost::system ::native_ecat' defined but not used [-Wunused-variable] mingw32-make: *** [build/bitcoin.o] Error 1
|
|
|
ok i am trying to compile a different wallet now and am getting this error ..\deps\boost_1_55_0/boost/interprocess/detail/tmp_dir_helpers.hpp:45:97: inst antiated from here ..\deps\boost_1_55_0/boost/interprocess/detail/intermodule_singleton_common.hpp: 205:93: warning: dereferencing type-punned pointer will break strict-aliasing ru les [-Wstrict-aliasing] ..\deps\boost_1_55_0/boost/system/error_code.hpp: At global scope: ..\deps\boost_1_55_0/boost/system/error_code.hpp:222:36: warning: 'boost::system ::posix_category' defined but not used [-Wunused-variable] ..\deps\boost_1_55_0/boost/system/error_code.hpp:223:36: warning: 'boost::system ::errno_ecat' defined but not used [-Wunused-variable] ..\deps\boost_1_55_0/boost/system/error_code.hpp:224:36: warning: 'boost::system ::native_ecat' defined but not used [-Wunused-variable] mingw32-make: *** [build/bitcoin.o] Error 1
|
|
|
hey all i have gotten very very close to compiling my first wallet but the error below is stopping me, anyone have any ideas i can try? c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_system c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_filesystem c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_program_options c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_thread collect2: ld returned 1 exit status mingw32-make: *** [release\alphacoin-qt.exe] Error 1 Hello luke9511?, Seems your builder can't find the boost libraries. So did you build them according to step 2.7 of message #1 (of this forum)? Ron yes i did, i followed every step exactly Are you building an older version, without autogen, or a newer version? Actually what version of Bitcoin(?) are you building? Usually, when one builds a boost library, there is a suffix attached, to each library, denoting the boost version # and library type, something like boost_filesystem-mgw46-mt-s-1_53 for example. In your output, it looks like either the builder/compiler/linker doesn't know the boost suffix, or you didn't build library and tell the build what it is, or some combination of these things. Or something else? Hope this helps. Ron im trying to compile alt coin and bit coin wallets, which is why you see the older version, but every vm i try this on even with the latest qt and everything i get the same error message, does not matter if its for bitcoin or alphacoin or blackcoin i always get the same error EDIT after getting to work and trying this guide one more time, i managed to get the bitcoin core wallet compiled, now i just need to figure out how to do the same for wallets that were not compiled with qt5 etc
|
|
|
hey all i have gotten very very close to compiling my first wallet but the error below is stopping me, anyone have any ideas i can try? c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_system c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_filesystem c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_program_options c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_thread collect2: ld returned 1 exit status mingw32-make: *** [release\alphacoin-qt.exe] Error 1 Hello luke9511?, Seems your builder can't find the boost libraries. So did you build them according to step 2.7 of message #1 (of this forum)? Ron yes i did, i followed every step exactly
|
|
|
hey all i have gotten very very close to compiling my first wallet but the error below is stopping me, anyone have any ideas i can try? c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_system c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_filesystem c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_program_options c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin d -lboost_thread collect2: ld returned 1 exit status mingw32-make: *** [release\alphacoin-qt.exe] Error 1
|
|
|
is the info on how to compile wallets for windows sacred or something? and not allowed for the general public to know how to do?!
|
|
|
i kinda got this working though there is no Makefile.Release any where, but if i delete the .Release part it compiles fine but it compiles for linux instead of windows
|
|
|
hey everyone, i hope all is well, i am trying to learn how to compile my own wallets for windows, linux and osx, i know how to do linux and now i am working on windows, from what i know, people used to do it using mingw but now use gitian, well i am trying to compile alphacoin with gitian and am getting the following error, i am hoping someone may be able to help me out. thanks in advance! also if i should test with a different wallet just let me know! compile@compile-KC880AAR-ABA-m9150f:~/gitian$ sudo bin/gbuild ../alphacoin/contrib/gitian-descriptors/boost-win32.yml /usr/lib/ruby/1.9.1/psych.rb:203:in `parse': (../alphacoin/contrib/gitian-descriptors/boost-win32.yml): could not find expected ':' while scanning a simple key at line 21 column 1 (Psych::SyntaxError) from /usr/lib/ruby/1.9.1/psych.rb:203:in `parse_stream' from /usr/lib/ruby/1.9.1/psych.rb:151:in `parse' from /usr/lib/ruby/1.9.1/psych.rb:127:in `load' from /usr/lib/ruby/1.9.1/psych.rb:297:in `block in load_file' from /usr/lib/ruby/1.9.1/psych.rb:297:in `open' from /usr/lib/ruby/1.9.1/psych.rb:297:in `load_file' from bin/gbuild:194:in `<main>'
|
|
|
first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-blk.sh file i get the following error ./compile-blk.sh: line 5: blackcoin-qt.pro: command not found make: Makefile.Release: No such file or directory make: *** No rule to make target `Makefile.Release'. Stop.
i dont know what else to do i am stuck does anyone have any advice? Something is most likely named incorrectly. Check all spelling matches i have checked everything, i didnt even type any of the commands i copied and pasted them all i also checked my path environment variable to make sure it was correct and it is, i dont know what else there is EDIT new error which i think may have the same thing to do with the first ./compile-blk.sh: line 6: i686-w64-mingw32.static-qmake-qt5: command not found make: Makefile.Release: No such file or directory make: *** No rule to make target `Makefile.Release'. Stop.
|
|
|
first i want to say very good guide and thanks for it aswell! but i am having an issue when i try to run the compile-blk.sh file i get the following error ./compile-blk.sh: line 5: blackcoin-qt.pro: command not found make: Makefile.Release: No such file or directory make: *** No rule to make target `Makefile.Release'. Stop.
i dont know what else to do i am stuck does anyone have any advice?
|
|
|
|