Skip to content

Bitcoin Core 0.15.0.1 - failing to compile on Debian Jessie #11358

@knoxcard

Description

@knoxcard

This issue tracker is only for technical issues related to bitcoin-core.

General bitcoin questions and/or support requests and are best directed to the Bitcoin StackExchange.

For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/.

Describe the issue

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

./autogen.sh

./configure --without-gui CPPFLAGS="-I/usr/local/src/bitcoin-0.15.0.1/db/include" LDFLAGS="-L/usr/local/src/bitcoin-0.15.0.1/db/lib"

make <- fails here

Expected behaviour

Tell us what should happen
I should be able to compile successfully.

Actual behaviour

Tell us what happens instead
When I run make it crashes and is complaining about the Boost library. I successfully compiled 0.15.0.0 a few days ago, so I have no idea what's any different.

root@localhost:/usr/local/src/bitcoin-0.15.0.1# make
Making all in src
make[1]: Entering directory '/usr/local/src/bitcoin-0.15.0.1/src'
make[2]: Entering directory '/usr/local/src/bitcoin-0.15.0.1/src'
make[3]: Entering directory '/usr/local/src/bitcoin-0.15.0.1'
make[3]: Leaving directory '/usr/local/src/bitcoin-0.15.0.1'
make[3]: Entering directory '/usr/local/src/bitcoin-0.15.0.1/src/secp256k1'
make[3]: Leaving directory '/usr/local/src/bitcoin-0.15.0.1/src/secp256k1'
CXXLD bitcoind
libbitcoin_util.a(libbitcoin_util_a-util.o): In function GetNumCores()': /usr/local/src/bitcoin-0.15.0.1/src/util.cpp:880: undefined reference to boost::thread::physical_concurrency()'
libbitcoin_util.a(libbitcoin_util_a-utiltime.o): In function sleep_for': /usr/local/include/boost/thread/pthread/thread_data.hpp:252: undefined reference to boost::this_thread::hidden::sleep_for(timespec const&)'
libbitcoin_wallet.a(libbitcoin_wallet_a-db.o): In function copy_file': /usr/local/include/boost/filesystem/operations.hpp:539: 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*)'
collect2: error: ld returned 1 exit status
Makefile:3624: recipe for target 'bitcoind' failed
make[2]: *** [bitcoind] Error 1
make[2]: Leaving directory '/usr/local/src/bitcoin-0.15.0.1/src'
Makefile:9265: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/bitcoin-0.15.0.1/src'
Makefile:728: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Screenshots.

If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.

What version of bitcoin-core are you using?

List the version number/commit ID, and if it is an official binary, self compiled or a distribution package such as PPA.

Machine specs:

  • OS: Debian Jessie
  • CPU:
  • RAM:
  • Disk size:
  • Disk Type (HD/SDD):

Any extra information that might be useful in the debugging process.

This is normally the contents of a debug.log or config.log file. Raw text or a link to a pastebin type site are preferred.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions