[SUPPORT] beeeeer.org - tech support

either the pool was down at the moment or you can try port 13337 and 8080

So, after banging my head against it for a while, turns out you can’t compile or run primeminer in ubuntu 13.10. Since primeminer requires libboost1.48 and the oldest available version on 13.10 is 1.49.

Should I find somewhere to download this manually or am I missing an easier answer?

[quote=“tinnvec, post:182, topic:358”]So, after banging my head against it for a while, turns out you can’t compile or run primeminer in ubuntu 13.10. Since primeminer requires libboost1.48 and the oldest available version on 13.10 is 1.49.

Should I find somewhere to download this manually or am I missing an easier answer?[/quote]

Just use the latest available. The version used in documentation is just an example.

[quote=“donschoe, post:183, topic:358”][quote=“tinnvec, post:182, topic:358”]So, after banging my head against it for a while, turns out you can’t compile or run primeminer in ubuntu 13.10. Since primeminer requires libboost1.48 and the oldest available version on 13.10 is 1.49.

Should I find somewhere to download this manually or am I missing an easier answer?[/quote]

Just use the latest available. The version used in documentation is just an example.[/quote]

Perhaps I’m doing something wrong then because I can’t get it to compile or run anymore since the release upgrade, always errors about parts of libboost1.48 missing

Please, post the compile output.

tinnvec@dev:~/Documents/primecoin/src$ make -f makefile.unix primeminer /bin/sh ../share/genbuild.sh obj/build.h g++ -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/tinnvec/Documents/primecoin/src -I/home/tinnvec/Documents/primecoin/src/obj -DUSE_IPV6=1 -I/home/tinnvec/Documents/primecoin/src/leveldb/include -I/home/tinnvec/Documents/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -o primeminer leveldb/libleveldb.a obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/txdb.o obj/prime.o obj/checkpointsync.o obj/main_poolminer.o -Wl,-z,relro -Wl,-z,now -Wl,-Bdynamic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l boost_chrono -l boost_timer -l db_cxx -l ssl -l crypto -l rt -Wl,-Bdynamic -l gmp -Wl,-Bdynamic -Wl,-Bdynamic -l z -l dl -l pthread /home/tinnvec/Documents/primecoin/src/leveldb/libleveldb.a /home/tinnvec/Documents/primecoin/src/leveldb/libmemenv.a obj/alert.o: In function `CAlert::ProcessAlert(bool)': alert.cpp:(.text+0x1add): undefined reference to `boost::thread::~thread()' obj/alert.o: In function `boost::thread::thread<void (*)(std::string), std::string>(void (*)(std::string), std::string)': alert.cpp:(.text._ZN5boost6threadC2IPFvSsESsEET_T0_[_ZN5boost6threadC5IPFvSsESsEET_T0_]+0xc0): undefined reference to `boost::thread::start_thread()' obj/db.o: In function `CDBEnv::Open(boost::filesystem3::path const&)': db.cpp:(.text+0x2017): undefined reference to `boost::filesystem3::detail::create_directory(boost::filesystem3::path const&, boost::system::error_code*)' obj/db.o: In function `CDB::Rewrite(std::string const&, char const*)': db.cpp:(.text+0x2801): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/db.o: In function `CDBEnv::Flush(bool)': db.cpp:(.text+0x3acf): undefined reference to `boost::filesystem3::detail::remove_all(boost::filesystem3::path const&, boost::system::error_code*)' obj/db.o: In function `boost::filesystem3::operator/(boost::filesystem3::path const&, boost::filesystem3::path const&)': db.cpp:(.text._ZN5boost11filesystem3dvERKNS0_4pathES3_[_ZN5boost11filesystem3dvERKNS0_4pathES3_]+0x2f): undefined reference to `boost::filesystem3::path::operator/=(boost::filesystem3::path const&)' obj/main.o: In function `OpenDiskFile(CDiskBlockPos const&, char const*, bool)': main.cpp:(.text+0x2ef5): undefined reference to `boost::filesystem3::path::parent_path() const' main.cpp:(.text+0x2f01): undefined reference to `boost::filesystem3::detail::create_directories(boost::filesystem3::path const&, boost::system::error_code*)' obj/main.o: In function `CheckDiskSpace(unsigned long long)': main.cpp:(.text+0x12924): undefined reference to `boost::filesystem3::detail::space(boost::filesystem3::path const&, boost::system::error_code*)' obj/main.o: In function `SetBestChain(CValidationState&, CBlockIndex*)': main.cpp:(.text+0x18390): undefined reference to `boost::thread::~thread()' obj/main.o: In function `BitcoinMiner(CWallet*, CBlockProvider*, unsigned int)': main.cpp:(.text+0x1de17): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' main.cpp:(.text+0x1df12): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' main.cpp:(.text+0x1e127): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/main.o: In function `boost::thread_group::~thread_group()': main.cpp:(.text._ZN5boost12thread_groupD2Ev[_ZN5boost12thread_groupD5Ev]+0x35): undefined reference to `boost::thread::~thread()' obj/main.o: In function `std::auto_ptr<boost::thread>::~auto_ptr()': main.cpp:(.text._ZNSt8auto_ptrIN5boost6threadEED2Ev[_ZNSt8auto_ptrIN5boost6threadEED5Ev]+0x21): undefined reference to `boost::thread::~thread()' obj/main.o: In function `boost::thread* boost::thread_group::create_thread<boost::_bi::bind_t<void, void (*)(CWallet*), boost::_bi::list1<boost::_bi::value<CWallet*> > > >(boost::_bi::bind_t<void, void (*)(CWallet*), boost::_bi::list1<boost::_bi::value<CWallet*> > >)': main.cpp:(.text._ZN5boost12thread_group13create_threadINS_3_bi6bind_tIvPFvP7CWalletENS2_5list1INS2_5valueIS5_EEEEEEEEPNS_6threadET_[_ZN5boost12thread_group13create_threadINS_3_bi6bind_tIvPFvP7CWalletENS2_5list1INS2_5valueIS5_EEEEEEEEPNS_6threadET_]+0x7e): undefined reference to `boost::thread::start_thread()' obj/net.o: In function `StopNode()': net.cpp:(.text+0x202f): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/net.o: In function `ThreadMessageHandler()': net.cpp:(.text+0x2363): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/net.o: In function `ThreadOpenConnections()': net.cpp:(.text+0x73d1): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/net.o: In function `ThreadOpenAddedConnections()': net.cpp:(.text+0x7e94): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' net.cpp:(.text+0x87b7): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/net.o:net.cpp:(.text._Z10MilliSleepx[_Z10MilliSleepx]+0x65): more undefined references to `boost::this_thread::sleep(boost::posix_time::ptime const&)' follow obj/net.o: In function `boost::thread* boost::thread_group::create_thread<boost::_bi::bind_t<void, void (*)(char const*, boost::function<void ()>), boost::_bi::list2<boost::_bi::value<char const*>, boost::_bi::value<void (*)()> > > >(boost::_bi::bind_t<void, void (*)(char const*, boost::function<void ()>), boost::_bi::list2<boost::_bi::value<char const*>, boost::_bi::value<void (*)()> > >)': net.cpp:(.text._ZN5boost12thread_group13create_threadINS_3_bi6bind_tIvPFvPKcNS_8functionIFvvEEEENS2_5list2INS2_5valueIS5_EENSC_IPS7_EEEEEEEEPNS_6threadET_[_ZN5boost12thread_group13create_threadINS_3_bi6bind_tIvPFvPKcNS_8functionIFvvEEEENS2_5list2INS2_5valueIS5_EENSC_IPS7_EEEEEEEEPNS_6threadET_]+0xdd): undefined reference to `boost::thread::start_thread()' obj/net.o: In function `boost::thread* boost::thread_group::create_thread<boost::_bi::bind_t<void, void (*)(char const*, void (*)()), boost::_bi::list2<boost::_bi::value<char const*>, boost::_bi::value<void (*)()> > > >(boost::_bi::bind_t<void, void (*)(char const*, void (*)()), boost::_bi::list2<boost::_bi::value<char const*>, boost::_bi::value<void (*)()> > >)': net.cpp:(.text._ZN5boost12thread_group13create_threadINS_3_bi6bind_tIvPFvPKcPFvvEENS2_5list2INS2_5valueIS5_EENSB_IS7_EEEEEEEEPNS_6threadET_[_ZN5boost12thread_group13create_threadINS_3_bi6bind_tIvPFvPKcPFvvEENS2_5list2INS2_5valueIS5_EENSB_IS7_EEEEEEEEPNS_6threadET_]+0xdd): undefined reference to `boost::thread::start_thread()' obj/net.o: In function `boost::thread::thread<boost::_bi::bind_t<void, void (*)(char const*, void (*)(), long long), boost::_bi::list3<boost::_bi::value<char const*>, boost::_bi::value<void (*)()>, boost::_bi::value<int> > > >(boost::_bi::bind_t<void, void (*)(char const*, void (*)(), long long), boost::_bi::list3<boost::_bi::value<char const*>, boost::_bi::value<void (*)()>, boost::_bi::value<int> > >, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, void (*)(char const*, void (*)(), long long), boost::_bi::list3<boost::_bi::value<char const*>, boost::_bi::value<void (*)()>, boost::_bi::value<int> > >&, boost::detail::thread_move_t<boost::_bi::bind_t<void, void (*)(char const*, void (*)(), long long), boost::_bi::list3<boost::_bi::value<char const*>, boost::_bi::value<void (*)()>, boost::_bi::value<int> > > > >, boost::thread::dummy*>::type)': net.cpp:(.text._ZN5boost6threadC2INS_3_bi6bind_tIvPFvPKcPFvvExENS2_5list3INS2_5valueIS5_EENSB_IS7_EENSB_IiEEEEEEEET_NS_10disable_ifINS_14is_convertibleIRSH_NS_6detail13thread_move_tISH_EEEEPNS0_5dummyEE4typeE[_ZN5boost6threadC5INS_3_bi6bind_tIvPFvPKcPFvvExENS2_5list3INS2_5valueIS5_EENSB_IS7_EENSB_IiEEEEEEEET_NS_10disable_ifINS_14is_convertibleIRSH_NS_6detail13thread_move_tISH_EEEEPNS0_5dummyEE4typeE]+0x9f): undefined reference to `boost::thread::start_thread()' obj/net.o: In function `void LoopForever<void (*)()>(char const*, void (*)(), long long)': net.cpp:(.text._Z11LoopForeverIPFvvEEvPKcT_x[_Z11LoopForeverIPFvvEEvPKcT_x]+0x104): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/bitcoinrpc.o: In function `StartRPCThreads()': bitcoinrpc.cpp:(.text+0xb4be): undefined reference to `boost::thread::start_thread()' obj/bitcoinrpc.o: In function `boost::filesystem3::path::has_root_directory() const': bitcoinrpc.cpp:(.text._ZNK5boost11filesystem34path18has_root_directoryEv[_ZNK5boost11filesystem34path18has_root_directoryEv]+0x27): undefined reference to `boost::filesystem3::path::root_directory() const' obj/bitcoinrpc.o: In function `boost::filesystem3::exists(boost::filesystem3::path const&)': bitcoinrpc.cpp:(.text._ZN5boost11filesystem36existsERKNS0_4pathE[_ZN5boost11filesystem36existsERKNS0_4pathE]+0x17): undefined reference to `boost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code*)' obj/bitcoinrpc.o: In function `boost::thread_group::join_all()': bitcoinrpc.cpp:(.text._ZN5boost12thread_group8join_allEv[_ZN5boost12thread_group8join_allEv]+0x45): undefined reference to `boost::thread::join()' obj/bitcoinrpc.o: In function `void boost::this_thread::sleep<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000l> >(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000l> const&)': bitcoinrpc.cpp:(.text._ZN5boost11this_thread5sleepINS_9date_time18subsecond_durationINS_10posix_time13time_durationELl1000EEEEEvRKT_[_ZN5boost11this_thread5sleepINS_9date_time18subsecond_durationINS_10posix_time13time_durationELl1000EEEEEvRKT_]+0x46): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/rpcwallet.o: In function `ThreadCleanWalletPassphrase(void*)': rpcwallet.cpp:(.text+0x17d0): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/util.o: In function `GetTempPath()': util.cpp:(.text+0x258b): undefined reference to `boost::filesystem3::detail::temp_directory_path(boost::system::error_code*)' obj/util.o: In function `GetDataDir(bool)': util.cpp:(.text+0x303e): undefined reference to `boost::filesystem3::detail::system_complete(boost::filesystem3::path const&, boost::system::error_code*)' util.cpp:(.text+0x308c): undefined reference to `boost::filesystem3::detail::create_directory(boost::filesystem3::path const&, boost::system::error_code*)' util.cpp:(.text+0x31a7): undefined reference to `boost::filesystem3::path::operator/=(char const*)' obj/util.o: In function `NewThread(void (*)(void*), void*)': util.cpp:(.text+0x3717): undefined reference to `boost::thread::~thread()' obj/util.o: In function `boost::filesystem3::is_directory(boost::filesystem3::path const&)': util.cpp:(.text._ZN5boost11filesystem312is_directoryERKNS0_4pathE[_ZN5boost11filesystem312is_directoryERKNS0_4pathE]+0x17): undefined reference to `boost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code*)' obj/util.o: In function `boost::filesystem3::path::path<char*>(char* const&, boost::enable_if<boost::filesystem3::path_traits::is_pathable<boost::decay<char*>::type>, void>::type*)': util.cpp:(.text._ZN5boost11filesystem34pathC2IPcEERKT_PNS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIS4_E4typeEEEvE4typeE[_ZN5boost11filesystem34pathC5IPcEERKT_PNS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIS4_E4typeEEEvE4typeE]+0x2c): undefined reference to `boost::filesystem3::path::wchar_t_codecvt_facet()' obj/util.o: In function `boost::thread::thread<void (*)(void*), void*>(void (*)(void*), void*)': util.cpp:(.text._ZN5boost6threadC2IPFvPvES2_EET_T0_[_ZN5boost6threadC5IPFvPvES2_EET_T0_]+0x41): undefined reference to `boost::thread::start_thread()' obj/wallet.o: In function `CWallet::AddToWallet(CWalletTx const&)': wallet.cpp:(.text+0xf6ff): undefined reference to `boost::thread::~thread()' obj/walletdb.o: In function `ThreadFlushWalletDB(std::string const&)': walletdb.cpp:(.text+0x1821): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/walletdb.o: In function `BackupWallet(CWallet const&, std::string const&)': walletdb.cpp:(.text+0x3d57): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' walletdb.cpp:(.text+0x3eb0): undefined reference to `boost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code*)' walletdb.cpp:(.text+0x3ecc): undefined reference to `boost::filesystem3::detail::copy_file(boost::filesystem3::path const&, boost::filesystem3::path const&, boost::filesystem3::copy_option::enum_type, boost::system::error_code*)' obj/walletdb.o: In function `boost::enable_if<boost::filesystem3::path_traits::is_pathable<boost::decay<std::string>::type>, boost::filesystem3::path&>::type boost::filesystem3::path::operator/=<std::string>(std::string const&)': walletdb.cpp:(.text._ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_[_ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_]+0x2a): undefined reference to `boost::filesystem3::path::wchar_t_codecvt_facet()' walletdb.cpp:(.text._ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_[_ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_]+0x64): undefined reference to `boost::filesystem3::path::m_append_separator_if_needed()' walletdb.cpp:(.text._ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_[_ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_]+0x95): undefined reference to `boost::filesystem3::path::m_erase_redundant_separator(unsigned long)' obj/leveldb.o: In function `CLevelDB::CLevelDB(boost::filesystem3::path const&, unsigned long, bool, bool)': leveldb.cpp:(.text+0x3a5): undefined reference to `boost::filesystem3::detail::create_directory(boost::filesystem3::path const&, boost::system::error_code*)' obj/main_poolminer.o: In function `void boost::this_thread::sleep<boost::posix_time::seconds>(boost::posix_time::seconds const&)': main_poolminer.cpp:(.text._ZN5boost11this_thread5sleepINS_10posix_time7secondsEEEvRKT_[_ZN5boost11this_thread5sleepINS_10posix_time7secondsEEEvRKT_]+0x46): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/main_poolminer.o: In function `boost::thread::thread<void (CWorkerThread::*)(), CWorkerThread*>(void (CWorkerThread::*)(), CWorkerThread*)': main_poolminer.cpp:(.text._ZN5boost6threadC2IM13CWorkerThreadFvvEPS2_EET_T0_[_ZN5boost6threadC5IM13CWorkerThreadFvvEPS2_EET_T0_]+0x76): undefined reference to `boost::thread::start_thread()' obj/main_poolminer.o: In function `CBlockProviderGW::submitBlock(CBlock*)': main_poolminer.cpp:(.text._ZN16CBlockProviderGW11submitBlockEP6CBlock[_ZN16CBlockProviderGW11submitBlockEP6CBlock]+0xbeb): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/main_poolminer.o: In function `CMasterThread::run()': main_poolminer.cpp:(.text._ZN13CMasterThread3runEv[_ZN13CMasterThread3runEv]+0x13db): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' main_poolminer.cpp:(.text._ZN13CMasterThread3runEv[_ZN13CMasterThread3runEv]+0x1cfa): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' collect2: error: ld returned 1 exit status make: *** [primeminer] Error 1

And I do indeed have boost installed, also ran ldconfig just in case the linking got messed up in the upgrade

@tinnvec libboost-all-dev is not enough. you need:

sudo apt-get install libboost-timer1.48-dev libboost-chrono1.48-dev libboost-filesystem1.48-dev libboost-system1.48-dev libboost-program-options1.48-dev libboost-thread1.48-dev

I don’t know why but this is an Ubuntu issue. The line above will remove your libboost and install the required packages. I did this on several machines now.

If 1.48 is not available, use the following code to find out which version is (any will do):

apt-cache search libboost

Read more at https://github.com/donSchoe/primecoin/blob/master/doc/build-unix.md

[quote=“donschoe, post:187, topic:358”]@tinnvec libboost-all-dev is not enough. you need:

sudo apt-get install libboost-timer1.48-dev libboost-chrono1.48-dev libboost-filesystem1.48-dev libboost-system1.48-dev libboost-program-options1.48-dev libboost-thread1.48-dev

I don’t know why but this is an Ubuntu issue. The line above will remove your libboost and install the required packages. I did this on several machines now.

If 1.48 is not available, use the following code to find out which version is (any will do):

apt-cache search libboost

Read more at https://github.com/donSchoe/primecoin/blob/master/doc/build-unix.md[/quote]

Ah thank you very much, it was my understanding that timer, chrono, etc was installed when using the ‘all’ package. I learn so much about linux all the time and it still feels like I’ve barely scratched the surface even after 4+ years of daily use.

I did, however have to put libboost1.48-dev at the beginning of that package list as the others depend on it

Also, since 1.48 isn’t available on ubuntu 13.10 by default, I used 1.49 at first but it has some errors in the package, caused a ton of problems with basically making apt-get unusable until I overwrote the deb file (whole bunch of craziness). I used the 1.53 version of everything and got it to install everything.

In the end, however, I’m still getting the same errors thrown:

tinnvec@dev:~/Documents/primecoin/src$ make -f makefile.unix primeminer/bin/sh ../share/genbuild.sh obj/build.h g++ -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/tinnvec/Documents/primecoin/src -I/home/tinnvec/Documents/primecoin/src/obj -DUSE_IPV6=1 -I/home/tinnvec/Documents/primecoin/src/leveldb/include -I/home/tinnvec/Documents/primecoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -o primeminer leveldb/libleveldb.a obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/txdb.o obj/prime.o obj/checkpointsync.o obj/main_poolminer.o -Wl,-z,relro -Wl,-z,now -Wl,-Bdynamic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l boost_chrono -l boost_timer -l db_cxx -l ssl -l crypto -l rt -Wl,-Bdynamic -l gmp -Wl,-Bdynamic -Wl,-Bdynamic -l z -l dl -l pthread /home/tinnvec/Documents/primecoin/src/leveldb/libleveldb.a /home/tinnvec/Documents/primecoin/src/leveldb/libmemenv.a obj/alert.o: In function `boost::thread::thread<void (*)(std::string), std::string>(void (*)(std::string), std::string)': alert.cpp:(.text._ZN5boost6threadC2IPFvSsESsEET_T0_[_ZN5boost6threadC5IPFvSsESsEET_T0_]+0xc0): undefined reference to `boost::thread::start_thread()' obj/db.o: In function `CDBEnv::Open(boost::filesystem3::path const&)': db.cpp:(.text+0x2017): undefined reference to `boost::filesystem3::detail::create_directory(boost::filesystem3::path const&, boost::system::error_code*)' obj/db.o: In function `CDB::Rewrite(std::string const&, char const*)': db.cpp:(.text+0x2801): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/db.o: In function `CDBEnv::Flush(bool)': db.cpp:(.text+0x3acf): undefined reference to `boost::filesystem3::detail::remove_all(boost::filesystem3::path const&, boost::system::error_code*)' obj/db.o: In function `boost::filesystem3::operator/(boost::filesystem3::path const&, boost::filesystem3::path const&)': db.cpp:(.text._ZN5boost11filesystem3dvERKNS0_4pathES3_[_ZN5boost11filesystem3dvERKNS0_4pathES3_]+0x2f): undefined reference to `boost::filesystem3::path::operator/=(boost::filesystem3::path const&)' obj/net.o: In function `StopNode()': net.cpp:(.text+0x202f): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/net.o: In function `ThreadMessageHandler()': net.cpp:(.text+0x2363): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/net.o: In function `ThreadOpenConnections()': net.cpp:(.text+0x73d1): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/net.o: In function `ThreadOpenAddedConnections()': net.cpp:(.text+0x7e94): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' net.cpp:(.text+0x87b7): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/net.o:net.cpp:(.text._Z10MilliSleepx[_Z10MilliSleepx]+0x65): more undefined references to `boost::this_thread::sleep(boost::posix_time::ptime const&)' follow obj/net.o: In function `boost::thread* boost::thread_group::create_thread<boost::_bi::bind_t<void, void (*)(char const*, boost::function<void ()>), boost::_bi::list2<boost::_bi::value<char const*>, boost::_bi::value<void (*)()> > > >(boost::_bi::bind_t<void, void (*)(char const*, boost::function<void ()>), boost::_bi::list2<boost::_bi::value<char const*>, boost::_bi::value<void (*)()> > >)': net.cpp:(.text._ZN5boost12thread_group13create_threadINS_3_bi6bind_tIvPFvPKcNS_8functionIFvvEEEENS2_5list2INS2_5valueIS5_EENSC_IPS7_EEEEEEEEPNS_6threadET_[_ZN5boost12thread_group13create_threadINS_3_bi6bind_tIvPFvPKcNS_8functionIFvvEEEENS2_5list2INS2_5valueIS5_EENSC_IPS7_EEEEEEEEPNS_6threadET_]+0xdd): undefined reference to `boost::thread::start_thread()' obj/net.o: In function `boost::thread* boost::thread_group::create_thread<boost::_bi::bind_t<void, void (*)(char const*, void (*)()), boost::_bi::list2<boost::_bi::value<char const*>, boost::_bi::value<void (*)()> > > >(boost::_bi::bind_t<void, void (*)(char const*, void (*)()), boost::_bi::list2<boost::_bi::value<char const*>, boost::_bi::value<void (*)()> > >)': net.cpp:(.text._ZN5boost12thread_group13create_threadINS_3_bi6bind_tIvPFvPKcPFvvEENS2_5list2INS2_5valueIS5_EENSB_IS7_EEEEEEEEPNS_6threadET_[_ZN5boost12thread_group13create_threadINS_3_bi6bind_tIvPFvPKcPFvvEENS2_5list2INS2_5valueIS5_EENSB_IS7_EEEEEEEEPNS_6threadET_]+0xdd): undefined reference to `boost::thread::start_thread()' obj/net.o: In function `boost::thread::thread<boost::_bi::bind_t<void, void (*)(char const*, void (*)(), long long), boost::_bi::list3<boost::_bi::value<char const*>, boost::_bi::value<void (*)()>, boost::_bi::value<int> > > >(boost::_bi::bind_t<void, void (*)(char const*, void (*)(), long long), boost::_bi::list3<boost::_bi::value<char const*>, boost::_bi::value<void (*)()>, boost::_bi::value<int> > >, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, void (*)(char const*, void (*)(), long long), boost::_bi::list3<boost::_bi::value<char const*>, boost::_bi::value<void (*)()>, boost::_bi::value<int> > >&, boost::detail::thread_move_t<boost::_bi::bind_t<void, void (*)(char const*, void (*)(), long long), boost::_bi::list3<boost::_bi::value<char const*>, boost::_bi::value<void (*)()>, boost::_bi::value<int> > > > >, boost::thread::dummy*>::type)': net.cpp:(.text._ZN5boost6threadC2INS_3_bi6bind_tIvPFvPKcPFvvExENS2_5list3INS2_5valueIS5_EENSB_IS7_EENSB_IiEEEEEEEET_NS_10disable_ifINS_14is_convertibleIRSH_NS_6detail13thread_move_tISH_EEEEPNS0_5dummyEE4typeE[_ZN5boost6threadC5INS_3_bi6bind_tIvPFvPKcPFvvExENS2_5list3INS2_5valueIS5_EENSB_IS7_EENSB_IiEEEEEEEET_NS_10disable_ifINS_14is_convertibleIRSH_NS_6detail13thread_move_tISH_EEEEPNS0_5dummyEE4typeE]+0x9f): undefined reference to `boost::thread::start_thread()' obj/net.o: In function `void LoopForever<void (*)()>(char const*, void (*)(), long long)': net.cpp:(.text._Z11LoopForeverIPFvvEEvPKcT_x[_Z11LoopForeverIPFvvEEvPKcT_x]+0x104): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/bitcoinrpc.o: In function `StartRPCThreads()': bitcoinrpc.cpp:(.text+0xb4be): undefined reference to `boost::thread::start_thread()' obj/bitcoinrpc.o: In function `boost::filesystem3::path::has_root_directory() const': bitcoinrpc.cpp:(.text._ZNK5boost11filesystem34path18has_root_directoryEv[_ZNK5boost11filesystem34path18has_root_directoryEv]+0x27): undefined reference to `boost::filesystem3::path::root_directory() const' obj/bitcoinrpc.o: In function `boost::filesystem3::exists(boost::filesystem3::path const&)': bitcoinrpc.cpp:(.text._ZN5boost11filesystem36existsERKNS0_4pathE[_ZN5boost11filesystem36existsERKNS0_4pathE]+0x17): undefined reference to `boost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code*)' obj/bitcoinrpc.o: In function `boost::thread_group::join_all()': bitcoinrpc.cpp:(.text._ZN5boost12thread_group8join_allEv[_ZN5boost12thread_group8join_allEv]+0x45): undefined reference to `boost::thread::join()' obj/bitcoinrpc.o: In function `void boost::this_thread::sleep<boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000l> >(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000l> const&)': bitcoinrpc.cpp:(.text._ZN5boost11this_thread5sleepINS_9date_time18subsecond_durationINS_10posix_time13time_durationELl1000EEEEEvRKT_[_ZN5boost11this_thread5sleepINS_9date_time18subsecond_durationINS_10posix_time13time_durationELl1000EEEEEvRKT_]+0x46): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/rpcwallet.o: In function `ThreadCleanWalletPassphrase(void*)': rpcwallet.cpp:(.text+0x17d0): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/util.o: In function `GetTempPath()': util.cpp:(.text+0x258b): undefined reference to `boost::filesystem3::detail::temp_directory_path(boost::system::error_code*)' obj/util.o: In function `GetDataDir(bool)': util.cpp:(.text+0x303e): undefined reference to `boost::filesystem3::detail::system_complete(boost::filesystem3::path const&, boost::system::error_code*)' util.cpp:(.text+0x308c): undefined reference to `boost::filesystem3::detail::create_directory(boost::filesystem3::path const&, boost::system::error_code*)' util.cpp:(.text+0x31a7): undefined reference to `boost::filesystem3::path::operator/=(char const*)' obj/util.o: In function `boost::filesystem3::is_directory(boost::filesystem3::path const&)': util.cpp:(.text._ZN5boost11filesystem312is_directoryERKNS0_4pathE[_ZN5boost11filesystem312is_directoryERKNS0_4pathE]+0x17): undefined reference to `boost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code*)' obj/util.o: In function `boost::filesystem3::path::path<char*>(char* const&, boost::enable_if<boost::filesystem3::path_traits::is_pathable<boost::decay<char*>::type>, void>::type*)': util.cpp:(.text._ZN5boost11filesystem34pathC2IPcEERKT_PNS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIS4_E4typeEEEvE4typeE[_ZN5boost11filesystem34pathC5IPcEERKT_PNS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIS4_E4typeEEEvE4typeE]+0x2c): undefined reference to `boost::filesystem3::path::wchar_t_codecvt_facet()' obj/util.o: In function `boost::thread::thread<void (*)(void*), void*>(void (*)(void*), void*)': util.cpp:(.text._ZN5boost6threadC2IPFvPvES2_EET_T0_[_ZN5boost6threadC5IPFvPvES2_EET_T0_]+0x41): undefined reference to `boost::thread::start_thread()' obj/walletdb.o: In function `ThreadFlushWalletDB(std::string const&)': walletdb.cpp:(.text+0x1821): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' obj/walletdb.o: In function `BackupWallet(CWallet const&, std::string const&)': walletdb.cpp:(.text+0x3d57): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)' walletdb.cpp:(.text+0x3eb0): undefined reference to `boost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code*)' walletdb.cpp:(.text+0x3ecc): undefined reference to `boost::filesystem3::detail::copy_file(boost::filesystem3::path const&, boost::filesystem3::path const&, boost::filesystem3::copy_option::enum_type, boost::system::error_code*)' obj/walletdb.o: In function `boost::enable_if<boost::filesystem3::path_traits::is_pathable<boost::decay<std::string>::type>, boost::filesystem3::path&>::type boost::filesystem3::path::operator/=<std::string>(std::string const&)': walletdb.cpp:(.text._ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_[_ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_]+0x2a): undefined reference to `boost::filesystem3::path::wchar_t_codecvt_facet()' walletdb.cpp:(.text._ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_[_ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_]+0x64): undefined reference to `boost::filesystem3::path::m_append_separator_if_needed()' walletdb.cpp:(.text._ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_[_ZN5boost11filesystem34pathdVISsEENS_9enable_ifINS0_11path_traits11is_pathableINS_5decayIT_E4typeEEERS1_E4typeERKS7_]+0x95): undefined reference to `boost::filesystem3::path::m_erase_redundant_separator(unsigned long)' obj/leveldb.o: In function `CLevelDB::CLevelDB(boost::filesystem3::path const&, unsigned long, bool, bool)': leveldb.cpp:(.text+0x3a5): undefined reference to `boost::filesystem3::detail::create_directory(boost::filesystem3::path const&, boost::system::error_code*)' collect2: error: ld returned 1 exit status make: *** [primeminer] Error 1

On a happier note though, I can run my slightly older version of primeminer now, just can’t compile a new one

“filesystem3” looks strange, normally it should be a suffix like “-mt” and some version number
are you sure you didnt install a boost version manually before?

(i don’t know if my thoughts are correct on this topic, i’m not using ubuntu)

@tinnvec, could you simply install all the 1.53 packages then? type that

sudo apt-get install libboost-timer1.53-dev libboost-chrono1.53-dev libboost-filesystem1.53-dev libboost-system1.53-dev libboost-program-options1.53-dev libboost-thread1.53-dev

btw, this sounds very messy with overwriting deb files, just dont :slight_smile:
btw, the order of the packages in aptitude is ignored.

@xolo: I’ve only used apititude to install boost

[quote=“donschoe, post:190, topic:358”]@tinnvec, could you simply install all the 1.53 packages then? type that

sudo apt-get install libboost-timer1.53-dev libboost-chrono1.53-dev libboost-filesystem1.53-dev libboost-system1.53-dev libboost-program-options1.53-dev libboost-thread1.53-dev

btw, this sounds very messy with overwriting deb files, just dont :slight_smile:
btw, the order of the packages in aptitude is ignored.[/quote]

I actually did install the 1.53 versions of things before I tried to compile the last time.

And in order to get aptitude to work at all again after the 1.49 install issue, I had to use this:

sudo dpkg -i --force-overwrite path/to/the/deb/file

otherwise I would get errors about the libboost1.49 package when trying to install or remove any other packages, even “apt-get install -f” was failing

How can I download primeminer v0.6 RC2 for Ubuntu from Github? With https://github.com/thbaumbach/primecoin I see the new 0.7 version.

Thank you.

[quote=“soulmann, post:192, topic:358”]How can I download primeminer v0.6 RC2 for Ubuntu from Github? With https://github.com/thbaumbach/primecoin I see the new 0.7 version.

Thank you.[/quote]

Just wondering why v0.6 RC2?

v0.6 RC3 can be found in my repo, i didnt merge the new 0.7 tree yet. https://github.com/donSchoe/xolominer

[quote=“donschoe, post:193, topic:358”][quote=“soulmann, post:192, topic:358”]How can I download primeminer v0.6 RC2 for Ubuntu from Github? With https://github.com/thbaumbach/primecoin I see the new 0.7 version.

Thank you.[/quote]

Just wondering why v0.6 RC2?

v0.6 RC3 can be found in my repo, i didnt merge the new 0.7 tree yet. https://github.com/donSchoe/xolominer[/quote]

Thank you. I think v0.6 RC3 is fine. I noticed the v0.6 RC2 in the usage section of rpool, I am going to mine there.

Hi

I mine primecoin on VPS Ubuntu 13.04. But I see the error

sometimes and the mining stops. Is there any script to restart the miner automatically?
I use xolokram’s miner v0.6 RC3

Thank you

[quote=“soulmann, post:195, topic:358”]Hi

I mine primecoin on VPS Ubuntu 13.04. But I see the error

sometimes and the mining stops. Is there any script to restart the miner automatically?
I use xolokram’s miner v0.6 RC3

Thank you[/quote]

This simply means the server is unreachable. Nothing to worry about. It will continue mining when it’s back online.

[quote=“xolokram, post:1112, topic:342”][size=36pt]Hi[/size]
yes, the coins mined on the new server(s) will be paid once they are matured (that should start tomorrow).

[size=14pt]new miner v0.8 is required[/size].
linux: github / bitbucket
windows: v0.8 (32&64bit)

[size=14pt]pool addresses:[/size] (port: 1337)
EU: 176.34.128.129
US: 54.200.248.75
ASIA: 54.251.179.44

[size=14pt]usage:[/size]

primeminer -pooluser=[xpm-payout-address] -poolip=[choose-from-above] -poolport=1337 -genproclimit=[threads-to-use] -poolpassword=[some-random-password-for-protection*]

  • = it should be the same on all your miners, fyi it’s currently disabled on the pool side (everybody’s able to connect)

i’m still monitoring the server / network performance of the new servers, so please be patient if something bad happens.
a light web-frontend with some rough stats is available at www.coinspara.de (it will be back soon @ beeeeer.org with all the stats)
btw. a reliable statement about rejections can be made, when more miners join.

  • xolokram

ps. updated first post
pps. port 443 & 8080 will be added soon[/quote]

Sorry I’m a bit of a linux noob, how do I compile this in Ununtu server?

Hi xolo,

I’m having the following compilation error (for v0.8 from git):

/src/leveldb/libleveldb.a /root/primecoin-beeeeer/src/leveldb/libmemenv.a
/usr/bin/ld: cannot find -lboost_chrono
collect2: ld returned 1 exit status
make: *** [primeminer] Error 1

I´m using debian squeeze.

Thanks in advance!

argh this damn chrono lib

i hope i don’t confuse the issue.

either you install the latest boost version manual to your linux system.
or you remove the following line from the makefile.unix & compile again:

   -l boost_chrono$(BOOST_LIB_SUFFIX) \
  • xolokram

Hop into the src folder and type: sudo make -f makefile.unix