Author

Topic: error during makefile.unix (Read 1312 times)

full member
Activity: 120
Merit: 100
March 31, 2015, 03:00:48 AM
#4
fixed, with debian x64 ( debian x89 bug  Huh )
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
March 30, 2015, 10:33:35 AM
#3
Try installing boost? 

Code:
sudo apt-get libboost-all-dev

Also, try the alt-coin forums as this is for BTC tech support.
full member
Activity: 120
Merit: 100
March 30, 2015, 04:11:18 AM
#2
cannabiscoin-qt.pro :
Quote

TEMPLATE = app

TARGET = CannabisCoin-qt

macx:TARGET = "CannabisCoin-Qt"

VERSION = 0.8.6.3

INCLUDEPATH += src src/json src/qt

QT += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE

CONFIG += no_include_pwd

CONFIG += thread

CONFIG += static



# for boost 1.37, add -mt to the boost libraries

# use: qmake BOOST_LIB_SUFFIX=-mt

# for boost thread win32 with _win32 sufix

# use: BOOST_THREAD_LIB_SUFFIX=_win32-...



Same error:

Quote

build/bitcoinrpc.o: In function `StartRPCThreads()':
bitcoinrpc.cpp:(.text+0x716e): undefined reference to `boost::thread::start_thread_noexcept()'
build/leveldb.o: In function `CLevelDB::CLevelDB(boost::filesystem::path const&, unsigned int, bool, bool)':
leveldb.cpp:(.text+0x390): undefined reference to `boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)'
collect2: error: ld returned 1 exit status

full member
Activity: 120
Merit: 100
March 29, 2015, 03:44:42 PM
#1
hi, when i try to compile Cannabiscoin wallet Debian 7 return me :

Anyone have an idea for fix it ?  Huh

same issue for -qt version  Undecided


Quote

root@debian:/home/userlocal/crypto/cannabiscoin420/src# make -j1 -f makefile.unix USE_UPNP=-


/bin/sh ../share/genbuild.sh obj/build.h
g++ -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/userlocal/crypto/cannabiscoin420/src -I/home/userlocal/crypto/cannabiscoin420/src/obj -DUSE_IPV6=1 -I/home/userlocal/crypto/cannabiscoin420/src/leveldb/include -I/home/userlocal/crypto/cannabiscoin420/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -o CannabisCoind 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/init.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/cubehash.o obj/luffa.o obj/aes_helper.o obj/echo.o obj/shavite.o obj/simd.o obj/blake.o obj/bmw.o obj/groestl.o obj/jh.o obj/keccak.o obj/skein.o obj/checkpointsync.o -Wl,-z,relro -Wl,-z,now   -Wl,-Bdynamic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -Wl,-Bdynamic -l z -l dl -l pthread /home/userlocal/crypto/cannabiscoin420/src/leveldb/libleveldb.a /home/userlocal/crypto/cannabiscoin420/src/leveldb/libmemenv.a
obj/alert.o: In function `boost::thread::start_thread()':
/usr/local/include/boost/thread/detail/thread.hpp:179: undefined reference to `boost::thread::start_thread_noexcept()'
obj/db.o: In function `create_directory':
/usr/local/include/boost/filesystem/operations.hpp:529: undefined reference to `boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)'
obj/db.o: In function `remove_all':
/usr/local/include/boost/filesystem/operations.hpp:626: undefined reference to `boost::filesystem::detail::remove_all(boost::filesystem::path const&, boost::system::error_code*)'
obj/db.o: In function `boost::filesystem::operator/(boost::filesystem::path const&, boost::filesystem::path const&)':
/usr/local/include/boost/filesystem/path.hpp:695: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
obj/db.o: In function `sleep_for':
/usr/local/include/boost/thread/pthread/thread_data.hpp:234: undefined reference to `boost::this_thread::hiden::sleep_for(timespec const&)'
obj/init.o: In function `exists':
/usr/local/include/boost/filesystem/operations.hpp:404: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
obj/init.o: In function `remove':
/usr/local/include/boost/filesystem/operations.hpp:620: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)'
obj/init.o: In function `rename':
/usr/local/include/boost/filesystem/operations.hpp:632: undefined reference to `boost::filesystem::detail::rename(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)'
obj/init.o: In function `create_hard_link':
/usr/local/include/boost/filesystem/operations.hpp:541: undefined reference to `boost::filesystem::detail::create_hard_link(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)'
obj/init.o: In function `is_directory':
/usr/local/include/boost/filesystem/operations.hpp:409: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
obj/init.o: In function `boost::filesystem::exists(boost::filesystem::path const&)':
/usr/local/include/boost/filesystem/operations.hpp:404: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
obj/init.o: In function `boost::filesystem::create_directories(boost::filesystem::path const&)':
/usr/local/include/boost/filesystem/operations.hpp:523: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)'
obj/init.o: In function `boost::thread::join()':
/usr/local/include/boost/thread/detail/thread.hpp:767: undefined reference to `boost::thread::join_noexcept()'
obj/init.o: In function `boost::thread::start_thread()':
/usr/local/include/boost/thread/detail/thread.hpp:179: undefined reference to `boost::thread::start_thread_noexcept()'
/usr/local/include/boost/thread/detail/thread.hpp:179: undefined reference to `boost::thread::start_thread_noexcept()'
/usr/local/include/boost/thread/detail/thread.hpp:179: undefined reference to `boost::thread::start_thread_noexcept()'
/usr/local/include/boost/thread/detail/thread.hpp:179: undefined reference to `boost::thread::start_thread_noexcept()'
obj/main.o: In function `OpenDiskFile(CDiskBlockPos const&, char const*, bool)':
/home/userlocal/crypto/cannabiscoin420/src/main.cpp:2629: undefined reference to `boost::filesystem::path::parent_path() const'
obj/main.o: In function `create_directories':
/usr/local/include/boost/filesystem/operations.hpp:523: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)'
obj/main.o: In function `space':
/usr/local/include/boost/filesystem/operations.hpp:644: undefined reference to `boost::filesystem::detail::space(boost::filesystem::path const&, boost::system::error_code*)'
obj/net.o: In function `boost::thread::start_thread()':
/usr/local/include/boost/thread/detail/thread.hpp:179: undefined reference to `boost::thread::start_thread_noexcept()'
/usr/local/include/boost/thread/detail/thread.hpp:179: undefined reference to `boost::thread::start_thread_noexcept()'
/usr/local/include/boost/thread/detail/thread.hpp:179: undefined reference to `boost::thread::start_thread_noexcept()'
obj/bitcoinrpc.o: In function `boost::thread::start_thread()':
/usr/local/include/boost/thread/detail/thread.hpp:179: undefined reference to `boost::thread::start_thread_noexcept()'
obj/bitcoinrpc.o: In function `boost::filesystem::path::has_root_directory() const':
/usr/local/include/boost/filesystem/path.hpp:487: undefined reference to `boost::filesystem::path::root_directory() const'
obj/bitcoinrpc.o: In function `boost::thread::join()':
/usr/local/include/boost/thread/detail/thread.hpp:767: undefined reference to `boost::thread::join_noexcept()'
obj/bitcoinrpc.o: In function `void boost::call_once(boost::once_flag&, void (*)())':
/usr/local/include/boost/thread/pthread/once_atomic.hpp:145: undefined reference to `boost::thread_detail::enter_once_region(boost::once_flag&)'
/usr/local/include/boost/thread/pthread/once_atomic.hpp:153: undefined reference to `boost::thread_detail::rollback_once_region(boost::once_flag&)'
/usr/local/include/boost/thread/pthread/once_atomic.hpp:157: undefined reference to `boost::thread_detail::commit_once_region(boost::once_flag&)'
obj/util.o: In function `temp_directory_path':
/usr/local/include/boost/filesystem/operations.hpp:661: undefined reference to `boost::filesystem::detail::temp_directory_path(boost::system::error_code*)'
obj/util.o: In function `system_complete':
/usr/local/include/boost/filesystem/operations.hpp:655: undefined reference to `boost::filesystem::detail::system_complete(boost::filesystem::path const&, boost::system::error_code*)'
obj/util.o: In function `create_directories':
/usr/local/include/boost/filesystem/operations.hpp:523: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)'
obj/util.o: In function `GetDataDir(bool)':
/home/userlocal/crypto/cannabiscoin420/src/util.cpp:1086: undefined reference to `boost::filesystem::path::operator/=(char const*)'
obj/util.o: In function `boost::filesystem::is_directory(boost::filesystem::path const&)':
/usr/local/include/boost/filesystem/operations.hpp:409: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
obj/util.o: In function `boost::thread::start_thread()':
/usr/local/include/boost/thread/detail/thread.hpp:179: undefined reference to `boost::thread::start_thread_noexcept()'
obj/walletdb.o: In function `is_directory':
/usr/local/include/boost/filesystem/operations.hpp:409: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
obj/walletdb.o: In function `copy_file':
/usr/local/include/boost/filesystem/operations.hpp:497: undefined reference to `boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::detail::copy_option, boost::system::error_code*)'
obj/walletdb.o: In function `boost::filesystem::path::operator/=(std::string const&)':
/usr/local/include/boost/filesystem/path.hpp:325: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'
obj/leveldb.o: In function `create_directory':
/usr/local/include/boost/filesystem/operations.hpp:529: undefined reference to `boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*)'
collect2: error: ld returned 1 exit status
make: *** [CannabisCoind] Erreur 1








Jump to: