Build failed on Ubuntu 14.04LTS #10938

issue 315985314 opened this issue on July 26, 2017
  1. 315985314 commented at 10:26 AM on July 26, 2017: none

    <!--- Remove sections that do not apply -->

    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:

    1. ./autogen.sh 2../configure --enable-logging --enable-debug --enable-dht --with-boost-libdir=/usr/lib/x86_64-linux-gnu 3.make

    Expected behaviour

    Tell us what should happen Build successful

    Actual behaviour

    Tell us what happens instead Build failed

    Screenshots.

    If the issue is related to the GUI, screenshots can be added to this issue via drag & drop. qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o): In function GetEmptyStringAlreadyInited': /usr/local/include/google/protobuf/generated_message_util.h:86: undefined reference to google::protobuf::internal::empty_string_' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o): In function payments::PaymentDetails::MergeFrom(payments::PaymentDetails const&)': /home/jifenglei/Bitcoin/bitcoin/src/qt/paymentrequest.pb.cc:1136: undefined reference to google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o): In function google::protobuf::internal::RepeatedPtrFieldBase::MergeFromInternal(google::protobuf::internal::RepeatedPtrFieldBase const&, void (google::protobuf::internal::RepeatedPtrFieldBase::*)(void**, void**, int, int))': /usr/local/include/google/protobuf/repeated_field.h:1484: undefined reference to google::protobuf::internal::RepeatedPtrFieldBase::InternalExtend(int)' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o): In function payments::PaymentDetails::MergeFrom(payments::PaymentDetails const&)': /home/jifenglei/Bitcoin/bitcoin/src/qt/paymentrequest.pb.cc:1118: undefined reference to google::protobuf::internal::ArenaStringPtr::AssignWithDefault(std::string const*, google::protobuf::internal::ArenaStringPtr)' /home/jifenglei/Bitcoin/bitcoin/src/qt/paymentrequest.pb.cc:1112: undefined reference to google::protobuf::internal::MergeFromFail(char const*, int)' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o): In function payments::PaymentDetails::MergeFrom(google::protobuf::Message const&)': /home/jifenglei/Bitcoin/bitcoin/src/qt/paymentrequest.pb.cc:1095: undefined reference to google::protobuf::internal::MergeFromFail(char const*, int)' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o): In function CreateInternal<std::basic_string<char> >': /usr/local/include/google/protobuf/arena.h:640: undefined reference to google::protobuf::Arena::AllocateAligned(std::type_info const*, unsigned long)' /usr/local/include/google/protobuf/arena.h:642: undefined reference to google::protobuf::Arena::AddListNode(void, void ()(void))' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o): In function CreateInternal<google::protobuf::internal::InternalMetadataWithArena::Container>': /usr/local/include/google/protobuf/arena.h:640: undefined reference to google::protobuf::Arena::AllocateAligned(std::type_info const, unsigned long)' /usr/local/include/google/protobuf/arena.h:642: undefined reference to google::protobuf::Arena::AddListNode(void*, void (*)(void*))' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o): In function OwnInternalpayments::Output': /usr/local/include/google/protobuf/arena.h:824: undefined reference to google::protobuf::Arena::AddListNode(void*, void (*)(void*))' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o): In function OwnInternalpayments::PaymentDetails': /usr/local/include/google/protobuf/arena.h:824: undefined reference to google::protobuf::Arena::AddListNode(void*, void (*)(void*))' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o): In function OwnInternalpayments::PaymentRequest': /usr/local/include/google/protobuf/arena.h:824: undefined reference to google::protobuf::Arena::AddListNode(void*, void (*)(void*))' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o): In function OwnInternalpayments::X509Certificates': /usr/local/include/google/protobuf/arena.h:824: undefined reference to google::protobuf::Arena::AddListNode(void*, void (*)(void*))' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequest.pb.o):/usr/local/include/google/protobuf/arena.h:824: more undefined references to google::protobuf::Arena::AddListNode(void, void ()(void*))' follow qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequestplus.o): In function Get<google::protobuf::RepeatedPtrField<payments::Output>::TypeHandler>': /usr/local/include/google/protobuf/repeated_field.h:1407: undefined reference to google::protobuf::internal::empty_string_' qt/libbitcoinqt.a(qt_libbitcoinqt_a-paymentrequestplus.o): In function GetEmptyStringAlreadyInited': /usr/local/include/google/protobuf/generated_message_util.h:86: undefined reference to google::protobuf::internal::empty_string_' /usr/local/include/google/protobuf/generated_message_util.h:86: undefined reference to google::protobuf::internal::empty_string_' /usr/local/include/google/protobuf/generated_message_util.h:86: undefined reference to google::protobuf::internal::empty_string_' /usr/local/include/google/protobuf/generated_message_util.h:86: undefined reference to google::protobuf::internal::empty_string_' collect2: error: ld returned 1 exit status make[2]: *** [qt/bitcoin-qt] Error 1 make[2]: Leaving/home/xxx/Bitcoin/bitcoin/src' make[1]: *** [all-recursive] 错误 1 make[1]:Leaving `/home/xxx/Bitcoin/bitcoin/src' make: *** [all-recursive] 错误 1

    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.

    commit 04d395e8327d512ae31d8e024d95e2d1e1729954 (HEAD -> master, origin/master, origin/HEAD) Merge: 78f307b66 095b91746 Author: Wladimir J. van der Laan laanwj@gmail.com Date: Wed Jul 26 08:47:47 2017 +0200

    Merge [#10854](/bitcoin-bitcoin/10854/): Avoid using sizes on non-fixed-width types to derive protocol constants.
    
    095b917 Avoid using sizes on non-fixed-width types to derive protocol constants. (Gregory Maxwell)
    
    Pull request description:
    
      Thanks to awemany for pointing this out.
    
      This replaces [#10172](/bitcoin-bitcoin/10172/) which appears to be abandoned, but uses the constants as requested on that PR.
    
    Tree-SHA512: 032c0d75b3aaf807a7d0c7fb8ff5515acc45ad58bd00fe81413f900fe02bad900534a970403b9bb568e132c9eddea6043e958daf625e8acc84375bd41ee2e2ef

    Machine specs:

    • OS: Ubuntu 14.04LTS
    • CPU:Intel Core i5-4590 CPU @3.30GHz x 4
    • RAM:15.6GiB
    • Disk size:967.6GB
    • Disk Type (HD/SDD):HD

    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.

  2. fanquake added the label Linux/Unix on Jul 26, 2017
  3. fanquake added the label Mining on Jul 26, 2017
  4. fanquake removed the label Mining on Jul 26, 2017
  5. globaltoken commented at 7:34 PM on July 26, 2017: none

    Did you installed the whole dependencies ?

  6. 315985314 commented at 4:21 AM on July 27, 2017: none

    I think boost was not installed right on my computer. I Run ./configure --with-boost=/usr/local And the build is successful

  7. 315985314 closed this on Jul 27, 2017

  8. MarcoFalke locked this on Sep 8, 2021

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-13 15:15 UTC

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