• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

darkcoin-qt won't link

000

New member
Compile is going along fine until the end. :(

Code:
[...]
build/moc_rpcconsole.cpp:1:0: note: this is the location of the previous definition
/usr/bin/moc -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild src/qt/macnotificationhandler.h -o build/moc_macnotificationhandler.cpp
g++ -c -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/moc_macnotificationhandler.o build/moc_macnotificationhandler.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
build/moc_macnotificationhandler.cpp:1:0: note: this is the location of the previous definition
/usr/bin/moc -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild src/qt/splashscreen.h -o build/moc_splashscreen.cpp
g++ -c -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/moc_splashscreen.o build/moc_splashscreen.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
build/moc_splashscreen.cpp:1:0: note: this is the location of the previous definition
/usr/bin/lrelease src/qt/locale/bitcoin_fr.ts -qm src/qt/locale/bitcoin_fr.qm
Updating 'src/qt/locale/bitcoin_fr.qm'...
Generated 553 translation(s) (553 finished and 0 unfinished)

[...]
[skipped a lot of lines to keep this under the 10,000 character limit]
[...]

/usr/bin/lrelease src/qt/locale/bitcoin_ru.ts -qm src/qt/locale/bitcoin_ru.qm
Updating 'src/qt/locale/bitcoin_ru.qm'...
Generated 553 translation(s) (553 finished and 0 unfinished)
/usr/bin/rcc -name bitcoin src/qt/bitcoin.qrc -o qrc_bitcoin.cpp
g++ -c -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/qrc_bitcoin.o qrc_bitcoin.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
qrc_bitcoin.cpp:1:0: note: this is the location of the previous definition
g++ -fstack-protector-all -Wl,-O1 -o darkcoin-qt build/bitcoin.o build/bitcoingui.o build/transactiontablemodel.o build/addresstablemodel.o build/optionsdialog.o build/sendcoinsdialog.o build/coincontroldialog.o build/coincontroltreewidget.o build/addressbookpage.o build/signverifymessagedialog.o build/aboutdialog.o build/editaddressdialog.o build/bitcoinaddressvalidator.o build/alert.o build/version.o build/sync.o build/util.o build/hash.o build/netbase.o build/key.o build/script.o build/main.o build/init.o build/net.o build/bloom.o build/checkpoints.o build/addrman.o build/db.o build/walletdb.o build/clientmodel.o build/guiutil.o build/transactionrecord.o build/optionsmodel.o build/monitoreddatamapper.o build/transactiondesc.o build/transactiondescdialog.o build/bitcoinstrings.o build/bitcoinamountfield.o build/wallet.o build/keystore.o build/transactionfilterproxy.o build/transactionview.o build/walletmodel.o build/walletview.o build/walletstack.o build/walletframe.o build/bitcoinrpc.o build/rpcdump.o build/rpcnet.o build/rpcmining.o build/rpcwallet.o build/rpcdarksend.o build/rpcblockchain.o build/rpcrawtransaction.o build/overviewpage.o build/csvmodelwriter.o build/crypter.o build/sendcoinsentry.o build/qvalidatedlineedit.o build/bitcoinunits.o build/qvaluecombobox.o build/askpassphrasedialog.o build/protocol.o build/notificator.o build/paymentserver.o build/rpcconsole.o build/noui.o build/leveldb.o build/txdb.o build/splashscreen.o build/blake.o build/bmw.o build/groestl.o build/jh.o build/keccak.o build/skein.o build/luffa.o build/cubehash.o build/shavite.o build/echo.o build/simd.o build/checkpointsync.o build/moc_bitcoingui.o build/moc_transactiontablemodel.o build/moc_addresstablemodel.o build/moc_optionsdialog.o build/moc_sendcoinsdialog.o build/moc_coincontroldialog.o build/moc_coincontroltreewidget.o build/moc_addressbookpage.o build/moc_signverifymessagedialog.o build/moc_aboutdialog.o build/moc_editaddressdialog.o build/moc_bitcoinaddressvalidator.o build/moc_clientmodel.o build/moc_guiutil.o build/moc_optionsmodel.o build/moc_monitoreddatamapper.o build/moc_transactiondesc.o build/moc_transactiondescdialog.o build/moc_bitcoinamountfield.o build/moc_transactionfilterproxy.o build/moc_transactionview.o build/moc_walletmodel.o build/moc_walletview.o build/moc_walletstack.o build/moc_walletframe.o build/moc_overviewpage.o build/moc_csvmodelwriter.o build/moc_sendcoinsentry.o build/moc_qvalidatedlineedit.o build/moc_bitcoinunits.o build/moc_qvaluecombobox.o build/moc_askpassphrasedialog.o build/moc_notificator.o build/moc_paymentserver.o build/moc_rpcconsole.o build/moc_macnotificationhandler.o build/moc_splashscreen.o build/qrc_bitcoin.o -L/usr/lib64/qt4 /var/tmp/portage/darkcoin/darkcoin-master/src/leveldb/libleveldb.a /var/tmp/portage/darkcoin/darkcoin-master/src/leveldb/libmemenv.a -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lQtGui -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/X11R6/lib -lEGL -lQtNetwork -lQtCore -lgthread-2.0 -lglib-2.0 -lpthread
build/main.o: In function `boost::this_thread::sleep_for(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> > const&)':
main.cpp:(.text._ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE[_ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE]+0x5a): undefined reference to `boost::chrono::system_clock::now()'
main.cpp:(.text._ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE[_ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE]+0x62): undefined reference to `boost::chrono::steady_clock::now()'
main.cpp:(.text._ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE[_ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE]+0xa8): undefined reference to `boost::chrono::steady_clock::now()'
build/init.o: In function `DetectShutdownThread(boost::thread_group*)':
init.cpp:(.text+0x123f): undefined reference to `boost::chrono::system_clock::now()'
init.cpp:(.text+0x124c): undefined reference to `boost::chrono::steady_clock::now()'
init.cpp:(.text+0x1416): undefined reference to `boost::chrono::steady_clock::now()'
build/db.o: In function `CDB::Rewrite(std::string const&, char const*)':
db.cpp:(.text+0x2974): undefined reference to `boost::chrono::system_clock::now()'
db.cpp:(.text+0x297c): undefined reference to `boost::chrono::steady_clock::now()'
db.cpp:(.text+0x2b58): undefined reference to `boost::chrono::steady_clock::now()'
build/walletdb.o: In function `ThreadFlushWalletDB(std::string const&)':
walletdb.cpp:(.text+0x1b35): undefined reference to `boost::chrono::system_clock::now()'
walletdb.cpp:(.text+0x1b3d): undefined reference to `boost::chrono::steady_clock::now()'
walletdb.cpp:(.text+0x1c46): undefined reference to `boost::chrono::steady_clock::now()'
collect2: error: ld returned 1 exit status
make: *** [darkcoin-qt] Error 1
I tried searching, and found a couple of ideas (such as trying make "BOOST_LIB_SUFFIX=-mt"), but none of them worked.

Does anyone have any idea what could be going wrong?

Thanks.
 
Compile is going along fine until the end. :(

Code:
[...]
build/moc_rpcconsole.cpp:1:0: note: this is the location of the previous definition
/usr/bin/moc -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild src/qt/macnotificationhandler.h -o build/moc_macnotificationhandler.cpp
g++ -c -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/moc_macnotificationhandler.o build/moc_macnotificationhandler.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
build/moc_macnotificationhandler.cpp:1:0: note: this is the location of the previous definition
/usr/bin/moc -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild src/qt/splashscreen.h -o build/moc_splashscreen.cpp
g++ -c -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/moc_splashscreen.o build/moc_splashscreen.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
build/moc_splashscreen.cpp:1:0: note: this is the location of the previous definition
/usr/bin/lrelease src/qt/locale/bitcoin_fr.ts -qm src/qt/locale/bitcoin_fr.qm
Updating 'src/qt/locale/bitcoin_fr.qm'...
Generated 553 translation(s) (553 finished and 0 unfinished)

[...]
[skipped a lot of lines to keep this under the 10,000 character limit]
[...]

/usr/bin/lrelease src/qt/locale/bitcoin_ru.ts -qm src/qt/locale/bitcoin_ru.qm
Updating 'src/qt/locale/bitcoin_ru.qm'...
Generated 553 translation(s) (553 finished and 0 unfinished)
/usr/bin/rcc -name bitcoin src/qt/bitcoin.qrc -o qrc_bitcoin.cpp
g++ -c -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/qrc_bitcoin.o qrc_bitcoin.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
qrc_bitcoin.cpp:1:0: note: this is the location of the previous definition
g++ -fstack-protector-all -Wl,-O1 -o darkcoin-qt build/bitcoin.o build/bitcoingui.o build/transactiontablemodel.o build/addresstablemodel.o build/optionsdialog.o build/sendcoinsdialog.o build/coincontroldialog.o build/coincontroltreewidget.o build/addressbookpage.o build/signverifymessagedialog.o build/aboutdialog.o build/editaddressdialog.o build/bitcoinaddressvalidator.o build/alert.o build/version.o build/sync.o build/util.o build/hash.o build/netbase.o build/key.o build/script.o build/main.o build/init.o build/net.o build/bloom.o build/checkpoints.o build/addrman.o build/db.o build/walletdb.o build/clientmodel.o build/guiutil.o build/transactionrecord.o build/optionsmodel.o build/monitoreddatamapper.o build/transactiondesc.o build/transactiondescdialog.o build/bitcoinstrings.o build/bitcoinamountfield.o build/wallet.o build/keystore.o build/transactionfilterproxy.o build/transactionview.o build/walletmodel.o build/walletview.o build/walletstack.o build/walletframe.o build/bitcoinrpc.o build/rpcdump.o build/rpcnet.o build/rpcmining.o build/rpcwallet.o build/rpcdarksend.o build/rpcblockchain.o build/rpcrawtransaction.o build/overviewpage.o build/csvmodelwriter.o build/crypter.o build/sendcoinsentry.o build/qvalidatedlineedit.o build/bitcoinunits.o build/qvaluecombobox.o build/askpassphrasedialog.o build/protocol.o build/notificator.o build/paymentserver.o build/rpcconsole.o build/noui.o build/leveldb.o build/txdb.o build/splashscreen.o build/blake.o build/bmw.o build/groestl.o build/jh.o build/keccak.o build/skein.o build/luffa.o build/cubehash.o build/shavite.o build/echo.o build/simd.o build/checkpointsync.o build/moc_bitcoingui.o build/moc_transactiontablemodel.o build/moc_addresstablemodel.o build/moc_optionsdialog.o build/moc_sendcoinsdialog.o build/moc_coincontroldialog.o build/moc_coincontroltreewidget.o build/moc_addressbookpage.o build/moc_signverifymessagedialog.o build/moc_aboutdialog.o build/moc_editaddressdialog.o build/moc_bitcoinaddressvalidator.o build/moc_clientmodel.o build/moc_guiutil.o build/moc_optionsmodel.o build/moc_monitoreddatamapper.o build/moc_transactiondesc.o build/moc_transactiondescdialog.o build/moc_bitcoinamountfield.o build/moc_transactionfilterproxy.o build/moc_transactionview.o build/moc_walletmodel.o build/moc_walletview.o build/moc_walletstack.o build/moc_walletframe.o build/moc_overviewpage.o build/moc_csvmodelwriter.o build/moc_sendcoinsentry.o build/moc_qvalidatedlineedit.o build/moc_bitcoinunits.o build/moc_qvaluecombobox.o build/moc_askpassphrasedialog.o build/moc_notificator.o build/moc_paymentserver.o build/moc_rpcconsole.o build/moc_macnotificationhandler.o build/moc_splashscreen.o build/qrc_bitcoin.o -L/usr/lib64/qt4 /var/tmp/portage/darkcoin/darkcoin-master/src/leveldb/libleveldb.a /var/tmp/portage/darkcoin/darkcoin-master/src/leveldb/libmemenv.a -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lQtGui -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/X11R6/lib -lEGL -lQtNetwork -lQtCore -lgthread-2.0 -lglib-2.0 -lpthread
build/main.o: In function `boost::this_thread::sleep_for(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> > const&)':
main.cpp:(.text._ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE[_ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE]+0x5a): undefined reference to `boost::chrono::system_clock::now()'
main.cpp:(.text._ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE[_ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE]+0x62): undefined reference to `boost::chrono::steady_clock::now()'
main.cpp:(.text._ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE[_ZN5boost11this_thread9sleep_forERKNS_6chrono8durationIlNS_5ratioILl1ELl1000000000EEEEE]+0xa8): undefined reference to `boost::chrono::steady_clock::now()'
build/init.o: In function `DetectShutdownThread(boost::thread_group*)':
init.cpp:(.text+0x123f): undefined reference to `boost::chrono::system_clock::now()'
init.cpp:(.text+0x124c): undefined reference to `boost::chrono::steady_clock::now()'
init.cpp:(.text+0x1416): undefined reference to `boost::chrono::steady_clock::now()'
build/db.o: In function `CDB::Rewrite(std::string const&, char const*)':
db.cpp:(.text+0x2974): undefined reference to `boost::chrono::system_clock::now()'
db.cpp:(.text+0x297c): undefined reference to `boost::chrono::steady_clock::now()'
db.cpp:(.text+0x2b58): undefined reference to `boost::chrono::steady_clock::now()'
build/walletdb.o: In function `ThreadFlushWalletDB(std::string const&)':
walletdb.cpp:(.text+0x1b35): undefined reference to `boost::chrono::system_clock::now()'
walletdb.cpp:(.text+0x1b3d): undefined reference to `boost::chrono::steady_clock::now()'
walletdb.cpp:(.text+0x1c46): undefined reference to `boost::chrono::steady_clock::now()'
collect2: error: ld returned 1 exit status
make: *** [darkcoin-qt] Error 1
I tried searching, and found a couple of ideas (such as trying make "BOOST_LIB_SUFFIX=-mt"), but none of them worked.

Does anyone have any idea what could be going wrong?

Thanks.
add -lrt to makefile
 
Thanks for the quick reply.

Where exactly in the Makefile does it go?

I did notice that this line already has -lrt (not sure whether that matters or not):

Code:
LIBS = $(SUBLIBS) -L/usr/lib64/qt4 /var/tmp/portage/darkcoin/darkcoin-master/src/leveldb/libleveldb.a /var/tmp/portage/darkcoin/darkcoin-master/src/leveldb/libmemenv.a -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lQtGui -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/X11R6/lib -lEGL -lQtNetwork -lQtCore -lgthread-2.0 -lglib-2.0 -lpthread
 
Thanks for the quick reply.

Where exactly in the Makefile does it go?

I did notice that this line already has -lrt (not sure whether that matters or not):

Code:
LIBS = $(SUBLIBS) -L/usr/lib64/qt4 /var/tmp/portage/darkcoin/darkcoin-master/src/leveldb/libleveldb.a /var/tmp/portage/darkcoin/darkcoin-master/src/leveldb/libmemenv.a -lrt -lssl -lcrypto -ldb_cxx -lboost_system -lboost_filesystem -lboost_program_options -lboost_thread -lQtGui -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/X11R6/lib -lEGL -lQtNetwork -lQtCore -lgthread-2.0 -lglib-2.0 -lpthread
Sorry, i mixed darkcoind and darkcoin-qt

What is your command for building darkcoin-qt?
I am using
Code:
qmake MINIUPNPC_LIB_PATH=$STAGING/lib MINIUPNPC_INCLUDE_PATH=$STAGING/include BDB_LIB_PATH=$STAGING/lib BDB_INCLUDE_PATH=$STAGING/include BOOST_LIB_PATH=$STAGING/lib BOOST_INCLUDE_PATH=$STAGING/include BOOST_LIB_SUFFIX=-mt OPENSSL_LIB_PATH=$STAGING/lib OPENSSL_INCLUDE_PATH=$STAGING/include QRENCODE_LIB_PATH=$STAGING/lib QRENCODE_INCLUDE_PATH=$STAGING/include USE_QRCODE=1 INCLUDEPATH=$STAGING/include DEFINES=BOOST_THREAD_USE_LIB QMAKE_LRELEASE=lrelease USE_BUILD_INFO=1 USE_SSE2=1 USE_UPNP=1 RELEASE=1
during gitian builds (change $STAGING to location where the libs reside)
 
I am not using UPNP (mostly want the wallet functions), and didn't turn on USE_DBUS or USE_QRCODE, either).

Code:
qmake "USE_UPNP=-"
make

My very last attempt used (which I found via a search):

Code:
make "BOOST_LIB_SUFFIX=-mt"
 
Yes, the boost chrono issue. Dont use the suffix.

Now, two possibilities, either you have a very old distribution with an old boost lib which does not include chrono or you have a more recent version which lists chrono as an extra lib. Add this to your makefile:
Code:
-l boost_chrono

This is due to a change in the internal structure of the boost library.

If this does not work, please add more information about your OS and boost version. Is it debian by any chance?
 
Code:
-l boost_chrono

This is due to a change in the internal structure of the boost library.

If this does not work, please add more information about your OS and boost version. Is it debian by any chance?

After I figured out that you meant -lboost_chrono (instead of -l boost_chrono), and that I shouldn't run qmake after make clean (which was removing -lboost_chrono from the Makefile after I put it in), then it worked. :) Even though I run gentoo (boost-1.52.0-r6), which is mostly current (although my uptime is almost a year now, so there are certain components such as the kernel, video drivers, and desktop interface that are slightly out of date), I am not very used to compiling things manually.

I did get one error (or maybe that is a warning, since nothing died) the first time I ran it, but nothing after that:

Code:
libpng warning: iCCP: known incorrect sRGB profile

Thanks for everything. Time to go read some more documents (particularly about the sending network). :)

One last question - is there a place that has the source releases? I might bug the gentoo developers to add darkcoin to the tree, and that would be helpful to have.
 
After I figured out that you meant -lboost_chrono (instead of -l boost_chrono), and that I shouldn't run qmake after make clean (which was removing -lboost_chrono from the Makefile after I put it in), then it worked. :) Even though I run gentoo (boost-1.52.0-r6), which is mostly current (although my uptime is almost a year now, so there are certain components such as the kernel, video drivers, and desktop interface that are slightly out of date), I am not very used to compiling things manually.

I did get one error (or maybe that is a warning, since nothing died) the first time I ran it, but nothing after that:

Code:
libpng warning: iCCP: known incorrect sRGB profile

Thanks for everything. Time to go read some more documents (particularly about the sending network). :)

One last question - is there a place that has the source releases? I might bug the gentoo developers to add darkcoin to the tree, and that would be helpful to have.
Where can i get the specs for a source release? Github link is not sufficient i guess? :)
 
github is sufficient. the bitcoin ebuild also uses github. [link deleted, since I am not allowed to post anying with a link yet]

Yes, but the gentoo ebuild references specific releases. In that ebuild:

Code:
SRC_URI="[part of this link deleted, too, since the program accused me of trying to sneak a URL by]/${MyPN}/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyPN}-v${PV}.tgz

Nothing wrong with using github to serve the files, but (except for version "9999" - which means the current tree) there should be links to specific releases of the source code.

I could try coming up with a darkcoin ebuild - with a few caveats. I don't know all of the features in bitcoin available (or not available). I have no idea what "1stclassmsg" in the bitcoin ebuild does, for example. And I can't test on qt5 (which that ebuild doesn't support anyway).

If someone could tell me what version of bitcoin (or something else) that the current darkcoin source code is based off of, and any significant differences (such as languages supported, for example), i will get to work on an ebuild.
 
Yes, but the gentoo ebuild references specific releases. In that ebuild:

Code:
SRC_URI="[part of this link deleted, too, since the program accused me of trying to sneak a URL by]/${MyPN}/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyPN}-v${PV}.tgz

Nothing wrong with using github to serve the files, but (except for version "9999" - which means the current tree) there should be links to specific releases of the source code.

I could try coming up with a darkcoin ebuild - with a few caveats. I don't know all of the features in bitcoin available (or not available). I have no idea what "1stclassmsg" in the bitcoin ebuild does, for example. And I can't test on qt5 (which that ebuild doesn't support anyway).

If someone could tell me what version of bitcoin (or something else) that the current darkcoin source code is based off of, and any significant differences (such as languages supported, for example), i will get to work on an ebuild.
Actually darkcoin is a fork of litecoin (which is a fork of bitcoin) so it's not trivial to determine on what version of bitcoin is based on at the moment.

For qt: Linux version of darkcoin is linked dynamically against qt, it will use the Version installed on your distribution. So if you have installed qt 4.8 you should be fine.

For the source distribution, zip-file with source is included in binary distribution https://raw.githubusercontent.com/d...inaries/master/darkcoin-0.9.11.6-linux.tar.gz

Or we can use tag archive feature of github and download source of specific tag: https://github.com/darkcoinproject/darkcoin/archive/v0.9.11.6.tar.gz
 
I looked at both the bitcoin-qt and litecoin-qt ebuilds in the portage tree, and they are fairly similar (just a few differences). It should take me just a few hours to come up with something and test it (I am reasonably clever, but not very experienced at this).
 
Back
Top