Build: Errors "make install" version 0.21 on Manjaro. #20894

issue felipsoarez opened this issue on January 9, 2021
  1. felipsoarez commented at 7:18 PM on January 9, 2021: none

    First of all I apologize if I am making a mistake.

    I looked for any information on this subject and found nothing

    I was configuring bitcoin-0.21 when in the make command this warning came up:

    <pre> CXX libbitcoin_server_a-torcontrol.o CXX libbitcoin_server_a-txdb.o CXX libbitcoin_server_a-txrequest.o CXX libbitcoin_server_a-txmempool.o <b>txmempool.cpp:</b> In member function ‘<b>CTxMemPool::setEntries CTxMemPool::GetIterSet(const std::set&lt;uint256&gt;&amp;) const</b>’: <b>txmempool.cpp:883:29:</b> <font color="#FF55FF"><b>warning: </b></font>‘<b>&lt;anonymous&gt;</b>’ may be used uninitialized in this function [<font color="#FF55FF"><b>-Wmaybe-uninitialized</b></font>] 883 | return Optional&lt;txiter&gt;{<font color="#FF55FF"><b>}</b></font>; | <font color="#FF55FF"><b>^</b></font> CXX libbitcoin_server_a-validation.o CXX libbitcoin_server_a-validationinterface.o CXX libbitcoin_server_a-versionbits.o CXX wallet/libbitcoin_server_a-init.o AR libbitcoin_server.a </pre>

    My system is:

    OS: Manjaro 20.2.1 Nibia Kernel: x86_64 Linux 5.10.2-2-MANJARO

    and these errors:

    <pre> CXXLD bitcoind /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): warning: relocation against `_ZTVN5boost6detail16thread_data_baseE&apos; in read-only section `.text&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset cda6f libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::detail::thread_data&lt;AppInitMain(util::Ref const&amp;, NodeContext&amp;, interfaces::BlockAndHeaderTipInfo*)::{lambda()#2}&gt;::~thread_data()&apos;: /usr/include/boost/thread/detail/thread.hpp:94: undefined reference to `boost::detail::thread_data_base::~thread_data_base()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::detail::thread_data&lt;AppInitMain(util::Ref const&amp;, NodeContext&amp;, interfaces::BlockAndHeaderTipInfo*)::{lambda()#3}&gt;::~thread_data()&apos;: /usr/include/boost/thread/detail/thread.hpp:94: undefined reference to `boost::detail::thread_data_base::~thread_data_base()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::detail::sp_counted_impl_p&lt;boost::detail::thread_data&lt;AppInitMain(util::Ref const&amp;, NodeContext&amp;, interfaces::BlockAndHeaderTipInfo*)::{lambda()#3}&gt; &gt;::dispose()&apos;: /usr/include/boost/thread/detail/thread.hpp:94: undefined reference to `boost::detail::thread_data_base::~thread_data_base()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::detail::sp_counted_impl_p&lt;boost::detail::thread_data&lt;AppInitMain(util::Ref const&amp;, NodeContext&amp;, interfaces::BlockAndHeaderTipInfo*)::{lambda()#2}&gt; &gt;::dispose()&apos;: /usr/include/boost/thread/detail/thread.hpp:94: undefined reference to `boost::detail::thread_data_base::~thread_data_base()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::is_directory(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:195: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::exists(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:190: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::thread_group::interrupt_all()&apos;: /usr/include/boost/thread/detail/thread_group.hpp:132: undefined reference to `boost::thread::interrupt()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::thread_group::join_all()&apos;: /usr/include/boost/thread/detail/thread_group.hpp:118: undefined reference to `boost::thread::joinable() const&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::thread::get_id() const&apos;: /usr/include/boost/thread/detail/thread.hpp:738: undefined reference to `boost::thread::native_handle()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::thread::join()&apos;: /usr/include/boost/thread/detail/thread.hpp:762: undefined reference to `boost::thread::join_noexcept()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::remove(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::exists(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:190: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::thread::start_thread()&apos;: /usr/include/boost/thread/detail/thread.hpp:182: undefined reference to `boost::thread::start_thread_noexcept()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::detail::thread_data_base::thread_data_base()&apos;: /usr/include/boost/thread/pthread/thread_data.hpp:162: undefined reference to `vtable for boost::detail::thread_data_base&apos; /usr/bin/ld: /usr/include/boost/thread/pthread/thread_data.hpp:162: undefined reference to `vtable for boost::detail::thread_data_base&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::thread::start_thread()&apos;: /usr/include/boost/thread/detail/thread.hpp:182: undefined reference to `boost::thread::start_thread_noexcept()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::path::has_root_directory() const&apos;: /usr/include/boost/filesystem/path.hpp:533: undefined reference to `boost::filesystem::path::root_directory() const&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::current_path()&apos;: /usr/include/boost/filesystem/operations.hpp:246: undefined reference to `boost::filesystem::detail::current_path(boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::path::has_root_directory() const&apos;: /usr/include/boost/filesystem/path.hpp:533: undefined reference to `boost::filesystem::path::root_directory() const&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::exists(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:190: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::directory_iterator::directory_iterator(boost::filesystem::path const&amp;, boost::filesystem::directory_options)&apos;: /usr/include/boost/filesystem/directory.hpp:278: undefined reference to `boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&amp;, boost::filesystem::path const&amp;, unsigned int, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::directory_entry::status() const&apos;: /usr/include/boost/filesystem/directory.hpp:132: undefined reference to `boost::filesystem::directory_entry::get_status(boost::system::error_code*) const&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::directory_iterator::increment()&apos;: /usr/include/boost/filesystem/directory.hpp:324: undefined reference to `boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::remove(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `AppInitMain(util::Ref const&amp;, NodeContext&amp;, interfaces::BlockAndHeaderTipInfo*)&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/init.cpp:647: undefined reference to `boost::filesystem::path::filename() const&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `CleanupBlockRevFiles&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/init.cpp:650: undefined reference to `boost::filesystem::path::filename() const&apos; /usr/bin/ld: /home/felipe/bitcoin/bitcoin-0.21/src/init.cpp:651: undefined reference to `boost::filesystem::path::filename() const&apos; /usr/bin/ld: /home/felipe/bitcoin/bitcoin-0.21/src/init.cpp:652: undefined reference to `boost::filesystem::path::filename() const&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::remove(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `CleanupBlockRevFiles&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/init.cpp:648: undefined reference to `boost::filesystem::path::filename() const&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()&apos;: /usr/include/boost/filesystem/directory.hpp:243: undefined reference to `boost::filesystem::detail::dir_itr_close(void*&amp;, void*&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::detail::thread_data&lt;AppInitMain(util::Ref const&amp;, NodeContext&amp;, interfaces::BlockAndHeaderTipInfo*)::{lambda()#2}&gt;::~thread_data()&apos;: /usr/include/boost/thread/detail/thread.hpp:94: undefined reference to `boost::detail::thread_data_base::~thread_data_base()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::detail::thread_data&lt;AppInitMain(util::Ref const&amp;, NodeContext&amp;, interfaces::BlockAndHeaderTipInfo*)::{lambda()#3}&gt;::~thread_data()&apos;: /usr/include/boost/thread/detail/thread.hpp:94: undefined reference to `boost::detail::thread_data_base::~thread_data_base()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::thread::~thread()&apos;: /usr/include/boost/thread/detail/thread.hpp:257: undefined reference to `boost::thread::detach()&apos; /usr/bin/ld: /usr/include/boost/thread/detail/thread.hpp:257: undefined reference to `boost::thread::detach()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::detail::interruption_checker::interruption_checker(pthread_mutex_t*, pthread_cond_t*)&apos;: /usr/include/boost/thread/pthread/thread_data.hpp:207: undefined reference to `boost::detail::get_current_thread_data()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()&apos;: /usr/include/boost/filesystem/directory.hpp:243: undefined reference to `boost::filesystem::detail::dir_itr_close(void*&amp;, void*&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::shared_mutex::lock_shared()&apos;: /usr/include/boost/thread/pthread/shared_mutex.hpp:171: undefined reference to `boost::this_thread::disable_interruption::disable_interruption()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::condition_variable::wait(boost::unique_lock&lt;boost::mutex&gt;&amp;)&apos;: /usr/include/boost/thread/pthread/condition_variable.hpp:88: undefined reference to `boost::this_thread::interruption_point()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::shared_mutex::lock_shared()&apos;: /usr/include/boost/thread/pthread/shared_mutex.hpp:171: undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()&apos; /usr/bin/ld: /usr/include/boost/thread/pthread/shared_mutex.hpp:171: undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::shared_mutex::lock()&apos;: /usr/include/boost/thread/pthread/shared_mutex.hpp:269: undefined reference to `boost::this_thread::disable_interruption::disable_interruption()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::condition_variable::wait(boost::unique_lock&lt;boost::mutex&gt;&amp;)&apos;: /usr/include/boost/thread/pthread/condition_variable.hpp:88: undefined reference to `boost::this_thread::interruption_point()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function `boost::shared_mutex::lock()&apos;: /usr/include/boost/thread/pthread/shared_mutex.hpp:269: undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()&apos; /usr/bin/ld: /usr/include/boost/thread/pthread/shared_mutex.hpp:269: undefined reference to `boost::this_thread::disable_interruption::~disable_interruption()&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o):(.data.rel.ro+0x98): undefined reference to `typeinfo for boost::detail::thread_data_base&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o):(.data.rel.ro+0xb0): undefined reference to `typeinfo for boost::detail::thread_data_base&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o):(.data.rel.local.DW.ref._ZTIN5boost10filesystem16filesystem_errorE[DW.ref._ZTIN5boost10filesystem16filesystem_errorE]+0x0): undefined reference to `typeinfo for boost::filesystem::filesystem_error&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 979b7 libbitcoin_server.a(libbitcoin_server_a-net.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 361ef libbitcoin_server.a(libbitcoin_server_a-fees.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset ab2e7 /usr/bin/ld: DWARF error: could not find variable specification at offset cf3f /usr/bin/ld: DWARF error: could not find variable specification at offset d131 libbitcoin_server.a(libbitcoin_server_a-blockchain.o): in function `boost::filesystem::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:258: undefined reference to `boost::filesystem::detail::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/include/boost/filesystem/operations.hpp:258: undefined reference to `boost::filesystem::detail::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-blockchain.o): in function `boost::filesystem::exists(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:190: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-blockchain.o): in function `boost::filesystem::rename(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:473: undefined reference to `boost::filesystem::detail::rename(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 557b6 libbitcoin_server.a(libbitcoin_server_a-torcontrol.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 3e45f libbitcoin_server.a(libbitcoin_server_a-txdb.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-txdb.o): in function `boost::filesystem::operator/(boost::filesystem::path&amp;&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:813: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset a8d03 /usr/bin/ld: DWARF error: could not find variable specification at offset ac5f6 libbitcoin_server.a(libbitcoin_server_a-validation.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-validation.o): in function `boost::filesystem::remove(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-validation.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-validation.o): in function `boost::condition_variable::wait(boost::unique_lock&lt;boost::mutex&gt;&amp;)&apos;: /usr/include/boost/thread/pthread/condition_variable.hpp:88: undefined reference to `boost::this_thread::interruption_point()&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 3b4f1 /usr/bin/ld: DWARF error: could not find variable specification at offset 446b7 libbitcoin_server.a(libbitcoin_server_a-addrdb.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-addrdb.o): in function `boost::filesystem::remove(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-addrdb.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-addrdb.o): in function `boost::filesystem::remove(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-addrdb.o): in function `ReadAnchors(boost::filesystem::path const&amp;)&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/addrdb.cpp:171: undefined reference to `boost::filesystem::path::filename() const&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-addrdb.o): in function `boost::filesystem::remove(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-addrdb.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-addrdb.o): in function `boost::filesystem::remove(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-addrdb.o):/usr/include/boost/filesystem/operations.hpp:460: more undefined references to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; follow /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 2bdb5 /usr/bin/ld: DWARF error: could not find variable specification at offset 33319 /usr/bin/ld: DWARF error: could not find variable specification at offset 33326 libbitcoin_server.a(libbitcoin_server_a-dbwrapper.o): in function `CDBWrapper::CDBWrapper(boost::filesystem::path const&amp;, unsigned long, bool, bool, bool)&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/dbwrapper.cpp:118: undefined reference to `boost::filesystem::path::stem() const&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 16753 libbitcoin_server.a(libbitcoin_server_a-flatfile.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-flatfile.o): in function `FlatFileSeq::Open(FlatFilePos const&amp;, bool)&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/flatfile.cpp:39: undefined reference to `boost::filesystem::path::parent_path() const&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-flatfile.o): in function `boost::filesystem::create_directories(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:373: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 3a333 libbitcoin_server.a(libbitcoin_server_a-blockfilterindex.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-blockfilterindex.o): in function `boost::filesystem::operator/(boost::filesystem::path&amp;&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:813: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/include/boost/filesystem/path.hpp:813: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-blockfilterindex.o): in function `boost::filesystem::create_directories(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:373: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-blockfilterindex.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 3227d libbitcoin_server.a(libbitcoin_server_a-txindex.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-txindex.o): in function `boost::filesystem::operator/(boost::filesystem::path&amp;&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:813: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 54ef3 /usr/bin/ld: DWARF error: could not find variable specification at offset 5502d libbitcoin_wallet.a(libbitcoin_wallet_a-load.o): in function `boost::filesystem::operator&lt;(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:785: undefined reference to `boost::filesystem::path::compare(boost::filesystem::path const&amp;) const&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-load.o): in function `boost::filesystem::current_path(boost::system::error_code&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:249: undefined reference to `boost::filesystem::detail::current_path(boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-load.o): in function `boost::filesystem::exists(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:190: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-load.o): in function `boost::filesystem::path::has_root_directory() const&apos;: /usr/include/boost/filesystem/path.hpp:533: undefined reference to `boost::filesystem::path::root_directory() const&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-load.o): in function `boost::filesystem::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:258: undefined reference to `boost::filesystem::detail::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-load.o): in function `boost::filesystem::canonical(boost::filesystem::path const&amp;, boost::system::error_code&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:279: undefined reference to `boost::filesystem::detail::canonical(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-load.o): in function `boost::filesystem::operator&lt;(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:785: undefined reference to `boost::filesystem::path::compare(boost::filesystem::path const&amp;) const&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-load.o): in function `boost::filesystem::is_directory(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:195: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-load.o): in function `boost::filesystem::operator&lt;(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:785: undefined reference to `boost::filesystem::path::compare(boost::filesystem::path const&amp;) const&apos; /usr/bin/ld: /usr/include/boost/filesystem/path.hpp:785: undefined reference to `boost::filesystem::path::compare(boost::filesystem::path const&amp;) const&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 12247d libbitcoin_wallet.a(libbitcoin_wallet_a-wallet.o): in function `boost::filesystem::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:258: undefined reference to `boost::filesystem::detail::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-wallet.o): in function `boost::filesystem::symlink_status(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:185: undefined reference to `boost::filesystem::detail::symlink_status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-wallet.o): in function `MakeWalletDatabase(std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, DatabaseOptions const&amp;, DatabaseStatus&amp;, bilingual_str&amp;)&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/wallet/wallet.cpp:3787: undefined reference to `boost::filesystem::path::filename() const&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-wallet.o): in function `boost::filesystem::path::compare(std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;) const&apos;: /usr/include/boost/filesystem/path.hpp:511: undefined reference to `boost::filesystem::path::compare(boost::filesystem::path const&amp;) const&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-wallet.o): in function `boost::filesystem::is_directory(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:195: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset a4b00 libbitcoin_wallet.a(libbitcoin_wallet_a-walletdb.o): in function `boost::filesystem::symlink_status(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:185: undefined reference to `boost::filesystem::detail::symlink_status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 2943a libbitcoin_wallet.a(libbitcoin_wallet_a-walletutil.o): in function `boost::filesystem::is_directory(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:195: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-walletutil.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-walletutil.o): in function `boost::filesystem::is_directory(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:195: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-walletutil.o): in function `GetWalletDir()&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/wallet/walletutil.cpp:25: undefined reference to `boost::filesystem::path::operator/=(char const*)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 2c905 libbitcoin_wallet.a(libbitcoin_wallet_a-sqlite.o): in function `MakeSQLiteDatabase(boost::filesystem::path const&amp;, DatabaseOptions const&amp;, DatabaseStatus&amp;, bilingual_str&amp;)&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/wallet/sqlite.cpp:574: undefined reference to `boost::filesystem::path::parent_path() const&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 2c779 /usr/bin/ld: DWARF error: could not find variable specification at offset 2c8b1 libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::is_regular_file(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:200: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::exists(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:190: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::file_size(boost::filesystem::path const&amp;, boost::system::error_code&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:419: undefined reference to `boost::filesystem::detail::file_size(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::exists(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:190: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::file_size(boost::filesystem::path const&amp;, boost::system::error_code&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:419: undefined reference to `boost::filesystem::detail::file_size(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::recursive_directory_iterator::recursive_directory_iterator(boost::filesystem::path const&amp;, boost::system::error_code&amp;)&apos;: /usr/include/boost/filesystem/directory.hpp:456: undefined reference to `boost::filesystem::detail::recursive_directory_iterator_construct(boost::filesystem::recursive_directory_iterator&amp;, boost::filesystem::path const&amp;, unsigned int, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::directory_entry::status() const&apos;: /usr/include/boost/filesystem/directory.hpp:132: undefined reference to `boost::filesystem::directory_entry::get_status(boost::system::error_code*) const&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::recursive_directory_iterator::increment(boost::system::error_code&amp;)&apos;: /usr/include/boost/filesystem/directory.hpp:500: undefined reference to `boost::filesystem::detail::recursive_directory_iterator_increment(boost::filesystem::recursive_directory_iterator&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()&apos;: /usr/include/boost/filesystem/directory.hpp:243: undefined reference to `boost::filesystem::detail::dir_itr_close(void*&amp;, void*&amp;)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::directory_entry::symlink_status() const&apos;: /usr/include/boost/filesystem/directory.hpp:134: undefined reference to `boost::filesystem::directory_entry::get_symlink_status(boost::system::error_code*) const&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `ListDatabases(boost::filesystem::path const&amp;)&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/wallet/db.cpp:35: undefined reference to `boost::filesystem::path::filename() const&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::path::compare(char const*) const&apos;: /usr/include/boost/filesystem/path.hpp:512: undefined reference to `boost::filesystem::path::compare(boost::filesystem::path const&amp;) const&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): in function `boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()&apos;: /usr/include/boost/filesystem/directory.hpp:243: undefined reference to `boost::filesystem::detail::dir_itr_close(void*&amp;, void*&amp;)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset aabb6 /usr/bin/ld: DWARF error: could not find variable specification at offset d498 /usr/bin/ld: DWARF error: could not find variable specification at offset d689 libbitcoin_wallet.a(libbitcoin_wallet_a-rpcdump.o): in function `boost::filesystem::current_path()&apos;: /usr/include/boost/filesystem/operations.hpp:246: undefined reference to `boost::filesystem::detail::current_path(boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-rpcdump.o): in function `boost::filesystem::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:258: undefined reference to `boost::filesystem::detail::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_wallet.a(libbitcoin_wallet_a-rpcdump.o): in function `boost::filesystem::exists(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:190: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 18b23 libbitcoin_util.a(libbitcoin_util_a-logging.o): in function `boost::filesystem::file_size(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:415: undefined reference to `boost::filesystem::detail::file_size(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 298c8 libbitcoin_util.a(libbitcoin_util_a-request.o): in function `boost::filesystem::remove(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 3a54e libbitcoin_util.a(libbitcoin_util_a-system.o): in function `(anonymous namespace)::StripRedundantLastElementsOfPath(boost::filesystem::path const&amp;)&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/util/system.cpp:680: undefined reference to `boost::filesystem::path::filename() const&apos; /usr/bin/ld: /home/felipe/bitcoin/bitcoin-0.21/src/util/system.cpp:681: undefined reference to `boost::filesystem::path::parent_path() const&apos; /usr/bin/ld: /home/felipe/bitcoin/bitcoin-0.21/src/util/system.cpp:680: undefined reference to `boost::filesystem::path::filename() const&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::equivalent(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:409: undefined reference to `boost::filesystem::detail::equivalent(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::unique_path(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:524: undefined reference to `boost::filesystem::detail::unique_path(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::remove(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:460: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::space(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:499: undefined reference to `boost::filesystem::detail::space(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::create_directories(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:373: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `SetupEnvironment()&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/util/system.cpp:1257: undefined reference to `boost::filesystem::path::imbue(std::locale const&amp;)&apos; /usr/bin/ld: /home/felipe/bitcoin/bitcoin-0.21/src/util/system.cpp:1259: undefined reference to `boost::filesystem::path::imbue(std::locale const&amp;)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::system_complete(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:511: undefined reference to `boost::filesystem::detail::system_complete(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::is_directory(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:195: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::system_complete(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:511: undefined reference to `boost::filesystem::detail::system_complete(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::is_directory(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:195: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::path::operator/=(std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:363: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::create_directories(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:373: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::create_directories(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:373: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::path::has_root_directory() const&apos;: /usr/include/boost/filesystem/path.hpp:533: undefined reference to `boost::filesystem::path::root_directory() const&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:258: undefined reference to `boost::filesystem::detail::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::system_complete(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:511: undefined reference to `boost::filesystem::detail::system_complete(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::is_directory(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:195: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::path::operator/=(std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:363: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `GetBlocksDir()&apos;: /home/felipe/bitcoin/bitcoin-0.21/src/util/system.cpp:714: undefined reference to `boost::filesystem::path::operator/=(char const*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::create_directories(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:373: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:258: undefined reference to `boost::filesystem::detail::absolute(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::operator/(boost::filesystem::path const&amp;, boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/path.hpp:807: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&amp;)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::exists(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:190: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-system.o): in function `boost::filesystem::is_directory(boost::filesystem::path const&amp;)&apos;: /usr/include/boost/filesystem/operations.hpp:195: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&amp;, boost::system::error_code*)&apos; /usr/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status make[2]: *** [Makefile:5512: bitcoind] Erro 1 make[2]: Saindo do diretório &apos;/home/felipe/bitcoin/bitcoin-0.21/src&apos; make[1]: *** [Makefile:14881: all-recursive] Erro 1 make[1]: Saindo do diretório &apos;/home/felipe/bitcoin/bitcoin-0.21/src&apos; make: *** [Makefile:805: all-recursive] Erro 1 </pre>

    I was looking at this issue #18891 that I believe has some relationship.

    Can anyone guide me in this problem?

    Did I do something wrong in the installation and configuration?

  2. felipsoarez added the label Bug on Jan 9, 2021
  3. jonatack commented at 7:26 PM on January 9, 2021: member

    Heh, welcome to the club 😀, see #20797.

  4. jonatack commented at 7:31 PM on January 9, 2021: member

    (I suspect I had borked my builds in some way, thought I was using clang but getting a gcc warning, etc. It may have been an issue in an update; I don't know what happened but have seen it neither before nor since.)

  5. MarcoFalke commented at 9:31 AM on January 10, 2021: member

    I was configuring bitcoin-0.21 when in the make command this warning came up:

    Unrelated, but you are building the master branch, not the 0.21 branch. What does git log -1 say?

    Also, what are the steps to reproduce after a make distclean?

  6. hebasto commented at 10:28 AM on January 10, 2021: member

    From my experience (building different branches with different compilers in a row) it is a good practice to make clean after any configure run (tbh, I'm using bash aliases).

  7. jonatack commented at 10:49 AM on January 10, 2021: member

    Yes agreed, but it did not prevent this issue for me. I saw it several builds in a row with make distclean between each one. Then, after apt updating and restarting, the issue was gone.

    If there is a way to reliably reproduce the issue I'd be interested to try reproducing.

  8. jarolrod commented at 6:06 AM on January 14, 2021: member

    Confirming that I got the same error on Manjaro 20.2.1 while building master

  9. MarcoFalke commented at 9:34 AM on January 14, 2021: member

    What are the steps to reproduce on a fresh system install?

  10. jarolrod commented at 4:15 PM on January 14, 2021: member

    @MarcoFalke, I get the warning about CTxMemPool not the errors. My System: Manjaro Kernel 5.10.2, AMD Ryzen 5 3600, gcc 10.2.0, Gnu Make 4.3

    Replicate: (on my Manjaro machine):

    • Clone master
    • run through the compilation process
      • ./autogen.sh -> ./configure --without-bdb -> make -jx
    • Get the warning about CTxMemPool

    Note: I cannot replicate on my 2020 Intel MacBook Pro with macOS Big Sur 11.1, clang 12.0, Gnu Make 3.81

  11. MarcoFalke commented at 5:17 PM on January 14, 2021: member

    Ok, closing for now. Let me know if this is still an issue after #20894 (comment)

  12. MarcoFalke closed this on Jan 14, 2021

  13. felipsoarez commented at 3:12 PM on January 15, 2021: none

    In my problem I managed to solve the configuration error, following the procedures of Arch Linux.

    $ sudo pacman -S git base-devel boost libevent python

    $ ./autogen.sh

    $ ./configure --disable-wallet --without-gui --without-miniupnpc

    $ make check

    Results:

    <pre>make[6]: Entrando no diretório &apos;/home/felipe/bitcoin/bitcoin/src/univalue&apos; <font color="#5FEB5F">PASS</font>: test/object <font color="#5FEB5F">PASS</font>: test/unitester <font color="#5FEB5F">PASS</font>: test/no_nul <font color="#5FEB5F">============================================================================</font> <font color="#5FEB5F">Testsuite summary for univalue 1.0.3</font> <font color="#5FEB5F">============================================================================</font> <b># TOTAL: 3</b> <font color="#5FEB5F"># PASS: 3</font> # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 <font color="#5FEB5F">============================================================================</font> make[6]: Saindo do diretório &apos;/home/felipe/bitcoin/bitcoin/src/univalue&apos; </pre>

  14. rebroad commented at 1:04 PM on February 24, 2021: contributor

    Compiling 0.21.1 on raspbian and getting similar errors:-

    make[3]: Leaving directory '/home/pi/src/bitcoin-core-v0.21.1' CXXLD bitcoind /usr/bin/ld: bitcoind-bitcoind.o: in function std::chrono::duration<long long, std::ratio<1ll, 1000000ll> > std::chrono::__duration_cast_impl<std::chrono::duration<long long, std::ratio<1ll, 1000000ll> >, std::ratio<1000ll, 1ll>, long long, false, true>::__cast<long long, std::ratio<1ll, 1000ll> >(std::chrono::duration<long long, std::ratio<1ll, 1000ll> > const&)': /usr/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../include/c++/8/chrono:168: undefined reference to __mulodi4' /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function AppInitParameterInteraction(ArgsManager const&)': /home/pi/src/bitcoin-core-v0.21.1/src/init.cpp:1102: undefined reference to __mulodi4' /usr/bin/ld: /home/pi/src/bitcoin-core-v0.21.1/src/init.cpp:1103: undefined reference to __mulodi4' /usr/bin/ld: /home/pi/src/bitcoin-core-v0.21.1/src/init.cpp:1103: undefined reference to __mulodi4' /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function AppInitMain(util::Ref const&, NodeContext&, interfaces::BlockAndHeaderTipInfo*)': /home/pi/src/bitcoin-core-v0.21.1/src/init.cpp:1532: undefined reference to __mulodi4' /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o):/home/pi/src/bitcoin-core-v0.21.1/src/init.cpp:1532: more undefined references to `__mulodi4' follow

  15. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-01 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me