Win64 QT Build Fails - Ubuntu&Windows #12445

issue RossClelland opened this issue on February 16, 2018
  1. RossClelland commented at 8:59 AM on February 16, 2018: none

    I'm trying to build the QT client for Windows using the instructions in /doc. I've tried to use Ubuntu directly to build the .exe and I've also installed Ubunutu for Windows; both give the same error.

    PATH=$(echo "$PATH" | sed -e 's/:/mnt.*//g') # strip out problematic Windows %PATH% imported var cd depends make HOST=x86_64-w64-mingw32 cd .. ./autogen.sh # not required when building from tarball CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/ make

    The script ran for about an hour and a half before failing with the following error:

    /usr/include/c++/5/ostream:509: undefined reference to std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)' .libs/libbitcoinconsensus_la-utilstrencodings.o: In function__static_initialization_and_destruction_0': /usr/include/c++/5/iostream:74: undefined reference to __dso_handle' /usr/include/c++/5/iostream:74: undefined reference to__cxa_atexit' .libs/libbitcoinconsensus_la-utilstrencodings.o: In function __static_initialization_and_destruction_0': /home/ucs/bitcoin-0.15.1/src/utilstrencodings.cpp:15: undefined reference to__dso_handle' /home/ucs/bitcoin-0.15.1/src/utilstrencodings.cpp:15: undefined reference to __cxa_atexit' /home/ucs/bitcoin-0.15.1/src/utilstrencodings.cpp:17: undefined reference to__dso_handle' /home/ucs/bitcoin-0.15.1/src/utilstrencodings.cpp:17: undefined reference to __cxa_atexit' .libs/libbitcoinconsensus_la-utilstrencodings.o:(.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to__gxx_personality_v0' collect2: error: ld returned 1 exit status Makefile:3562: recipe for target 'libbitcoinconsensus.la' failed make[2]: *** [libbitcoinconsensus.la] Error 1 make[2]: Leaving directory '/home/ross/bitcoin-0.15.1/src' Makefile:9295: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/ross/bitcoin-0.15.1/src' Makefile:746: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1

    Any suggestions would be welcome. Thanks.

    Edit: On the same machines I'm able to create Bitcoind and Bitcoin-cli without any problems.

  2. RossClelland commented at 1:46 PM on February 17, 2018: none

    Building the .exe's using the older version of Ubuntu (ubuntu-14.04.5-desktop-amd64) worked.

  3. RossClelland closed this on Feb 17, 2018

  4. DerUntote commented at 12:38 PM on April 2, 2018: none

    I have this error too. Any further pieces of information needed or any advice?

  5. askari01 commented at 7:36 AM on July 16, 2018: none

    but recommended system is 18.04 lts and its broken. Builds wont succeed.

  6. DrahtBot 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-05-01 21:15 UTC

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