qt failed during compilation #13147

issue ghost opened this issue on May 2, 2018
  1. ghost commented at 3:26 AM on May 2, 2018: none
    OBJCXXLD qt/bitcoin-qt
    qt/qt_bitcoin_qt-bitcoin.o: In function `BitcoinApplication::BitcoinApplication(int&, char**)':
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:351: undefined reference to `BitcoinGUI::DEFAULT_UIPLATFORM[abi:cxx11]'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:352: undefined reference to `PlatformStyle::instantiate(QString const&)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:354: undefined reference to `PlatformStyle::instantiate(QString const&)'
    qt/qt_bitcoin_qt-bitcoin.o: In function `BitcoinApplication::createPaymentServer()':
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:389: undefined reference to `PaymentServer::PaymentServer(QObject*, bool)'
    qt/qt_bitcoin_qt-bitcoin.o: In function `BitcoinApplication::createOptionsModel(bool)':
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:395: undefined reference to `OptionsModel::OptionsModel(QObject*, bool)'
    qt/qt_bitcoin_qt-bitcoin.o: In function `BitcoinApplication::createWindow(NetworkStyle const*)':
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:400: undefined reference to `BitcoinGUI::BitcoinGUI(PlatformStyle const*, NetworkStyle const*, QWidget*)'
    qt/qt_bitcoin_qt-bitcoin.o: In function `BitcoinApplication::createSplashScreen(NetworkStyle const*)':
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:409: undefined reference to `SplashScreen::SplashScreen(QFlags<Qt::WindowType>, NetworkStyle const*)'
    qt/qt_bitcoin_qt-bitcoin.o: In function `BitcoinApplication::initializeResult(int)':
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:487: undefined reference to `PaymentServer::LoadRootCAs(x509_store_st*)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:488: undefined reference to `PaymentServer::setOptionsModel(OptionsModel*)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:491: undefined reference to `ClientModel::ClientModel(OptionsModel*, QObject*)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:492: undefined reference to `BitcoinGUI::setClientModel(ClientModel*)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:497: undefined reference to `WalletModel::WalletModel(PlatformStyle const*, CWallet*, OptionsModel*, QObject*)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:499: undefined reference to `BitcoinGUI::DEFAULT_WALLET'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:499: undefined reference to `BitcoinGUI::addWallet(QString const&, WalletModel*)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:500: undefined reference to `BitcoinGUI::setCurrentWallet(QString const&)'
    qt/qt_bitcoin_qt-bitcoin.o: In function `BitcoinGUI::tr(char const*, char const*, int)':
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoingui.h:49: undefined reference to `BitcoinGUI::staticMetaObject'
    qt/qt_bitcoin_qt-bitcoin.o: In function `BitcoinApplication::requestShutdown()':
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:462: undefined reference to `BitcoinGUI::setClientModel(ClientModel*)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:466: undefined reference to `BitcoinGUI::removeAllWallets()'
    qt/qt_bitcoin_qt-bitcoin.o: In function `main':
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:572: undefined reference to `qInitResources_bitcoin()'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:573: undefined reference to `qInitResources_bitcoin_locale()'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:604: undefined reference to `GUIUtil::SubstituteFonts(QString const&)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:616: undefined reference to `HelpMessageDialog::HelpMessageDialog(QWidget*, HelpMessageDialog::HelpMode)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:617: undefined reference to `HelpMessageDialog::showOrPrint()'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:616: undefined reference to `HelpMessageDialog::~HelpMessageDialog()'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:623: undefined reference to `Intro::pickDataDirectory()'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:656: undefined reference to `PaymentServer::ipcParseCommandLine(int, char**)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:659: undefined reference to `NetworkStyle::instantiate(QString const&)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:681: undefined reference to `PaymentServer::ipcSendCommandLine()'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:691: undefined reference to `GUIUtil::ToolTipToRichTextFilter::ToolTipToRichTextFilter(int, QObject*)'
    /home/laugh26/Downloads/new/bitcoin/src/qt/bitcoin.cpp:616: undefined reference to `HelpMessageDialog::~HelpMessageDialog()'
    collect2: error: ld returned 1 exit status
    Makefile:3644: recipe for target 'qt/bitcoin-qt' failed
    make[2]: *** [qt/bitcoin-qt] Error 1
    make[2]: Leaving directory '/home/laugh26/Downloads/new/bitcoin/src'
    Makefile:9338: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/laugh26/Downloads/new/bitcoin/src'
    Makefile:655: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1
    
  2. jonasschnelli commented at 6:48 AM on May 2, 2018: contributor

    Have you tried a fresh compilation? Eventually do: git clean -dxf (DANGER! Removes all your local edited/created files) ./autogen.sh ./configure make -j

    If it won't fix your issue, try upload your config.log somewhere.

  3. meshcollider added the label GUI on May 2, 2018
  4. MarcoFalke commented at 12:41 PM on May 2, 2018: member

    Please include the version (i.e. commit id) you are compiling.

  5. ghost commented at 3:44 PM on May 2, 2018: none

    Please topic should be closed, i have built it, qt problem

  6. unknown closed this on May 2, 2018

  7. Xayaan commented at 2:32 PM on September 22, 2018: none

    @laugh26 what was the solution?

  8. allavett commented at 3:57 PM on November 13, 2018: none
          Please topic should be closed, i have built it, qt problem

    Hey @laugh26, could You please share Your solution for the issue? I'm stuck with the same problem and would really appreciate Your help :)

  9. jmoraes7 commented at 6:13 PM on March 16, 2021: none

    @allavett @Xayaan Hey I'm stuck on this problem now as well - any chance you figured it out?

  10. allavett commented at 12:19 AM on March 19, 2021: none

    @allavett @Xayaan Hey I'm stuck on this problem now as well - any chance you figured it out?

    Sorry, I have no idea D: I did not manage to get the QT build to compile, as it was not crucial at the time, I just ran without it.

  11. jmoraes7 commented at 12:52 AM on March 19, 2021: none

    Thanks for the reply @allavett - I ended up doing the same unfortunately

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

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