compilation error #11104

issue eMosbat opened this issue on August 21, 2017
  1. eMosbat commented at 11:02 AM on August 21, 2017: none

    I am getting this error when compile win64 version in ubuntu server 16.04:

    Making all in src make[1]: Entering directory '/home/coin/bitcoin-0.14.2/src' make[2]: Entering directory '/home/coin/bitcoin-0.14.2/src' make[3]: Entering directory '/home/coin/bitcoin-0.14.2' make[3]: Leaving directory '/home/coin/bitcoin-0.14.2' make[3]: Entering directory '/home/coin/bitcoin-0.14.2/src/secp256k1' make[3]: Leaving directory '/home/coin/bitcoin-0.14.2/src/secp256k1' CXX libbitcoin_server_a-httprpc.o In file included from support/allocators/secure.h:9:0, from key.h:11, from base58.h:18, from httprpc.cpp:7: ./support/lockedpool.h:195:18: error: âmutexâ in namespace âstdâ does not name a type mutable std::mutex mutex; ^ ./support/lockedpool.h:228:17: error: âonce_flagâ in namespace âstdâ does not name a type static std::once_flag init_flag; ^ ./support/lockedpool.h: In static member function âstatic LockedPoolManager& LockedPoolManager::Instance()â: ./support/lockedpool.h:215:9: error: âcall_onceâ is not a member of âstdâ std::call_once(LockedPoolManager::init_flag, LockedPoolManager::CreateInstance); ^ ./support/lockedpool.h:215:24: error: âinit_flagâ is not a member of âLockedPoolManagerâ std::call_once(LockedPoolManager::init_flag, LockedPoolManager::CreateInstance); ^ Makefile:5306: recipe for target 'libbitcoin_server_a-httprpc.o' failed make[2]: *** [libbitcoin_server_a-httprpc.o] Error 1 make[2]: Leaving directory '/home/coin/bitcoin-0.14.2/src' Makefile:8888: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/coin/bitcoin-0.14.2/src' Makefile:677: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1

  2. laanwj commented at 3:52 PM on August 22, 2017: member

    Yes, unfortunately this is a known issue - see #8653, #8732. The recommendation is to use trusty (14.04) for cross-compiling for now.

  3. laanwj closed this on Aug 22, 2017

  4. MarcoFalke locked this on Sep 8, 2021
Contributors

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-04-17 06:15 UTC

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