Title: compiling bitcoin-qt in cubian/weezy
Post by: ltcnim on December 24, 2013, 12:49:31 AM
Hi I have a CubieBoard2 running cubian here, and I already have litecoind/litecoin-qt and dogecoind/dogecoin-qt installed. Hoewever, today I tried compiling the bitcoind and bitcoin-qt from github, but that didn't work. So I downloaded the tar.gz file, and I was able to compile bitcoind. But I still have problems with bitcoin-qt. After about 15mins of compiling the make process failed, and now I always geht the same errors spammed all over the screen when trying to run make: ... build/protocol.o: In function `CMessageHeader::IsValid() const': protocol.cpp:(.text+0x4cc): undefined reference to `pchMessageStart' build/txdb.o: In function `CCoinsViewDB::CCoinsViewDB(unsigned int, bool, bool)': txdb.cpp:(.text+0x13c): undefined reference to `vtable for CCoinsView' build/txdb.o: In function `CCoinsViewDB::GetBestBlock()': txdb.cpp:(.text+0x94c): undefined reference to `mapBlockIndex' txdb.cpp:(.text+0x950): undefined reference to `mapBlockIndex' build/txdb.o: In function `CBlockTreeDB::LoadBlockIndexGuts()': txdb.cpp:(.text+0xec2): undefined reference to `InsertBlockIndex(uint256)' txdb.cpp:(.text+0xed4): undefined reference to `InsertBlockIndex(uint256)' txdb.cpp:(.text+0xf14): undefined reference to `pindexGenesisBlock' txdb.cpp:(.text+0xf18): undefined reference to `pindexGenesisBlock' txdb.cpp:(.text+0xf66): undefined reference to `CheckProofOfWork(uint256, unsigned int)' txdb.cpp:(.text+0x105e): undefined reference to `pindexGenesisBlock' txdb.cpp:(.text+0x1062): undefined reference to `pindexGenesisBlock' txdb.cpp:(.text+0x11c0): undefined reference to `hashGenesisBlock' build/txdb.o: In function `CCoinsViewDB::~CCoinsViewDB()': txdb.cpp:(.text._ZN12CCoinsViewDBD2Ev[_ZN12CCoinsViewDBD5Ev]+0x3c): undefined reference to `vtable for CCoinsView' build/txdb.o: In function `CCoinsViewDB::~CCoinsViewDB()': txdb.cpp:(.text._ZN12CCoinsViewDBD0Ev[_ZN12CCoinsViewDBD5Ev]+0x44): undefined reference to `vtable for CCoinsView' build/txdb.o: In function `CCoins::GetSerializeSize(int, int) const': txdb.cpp:(.text._ZNK6CCoins16GetSerializeSizeEii[CCoins::GetSerializeSize(int, int) const]+0x13a): undefined reference to `CTxOutCompressor::CompressAmount(unsigned long long)' build/txdb.o: In function `void CCoins::Serialize<CDataStream>(CDataStream&, int, int) const': txdb.cpp:(.text._ZNK6CCoins9SerializeI11CDataStreamEEvRT_ii[void CCoins::Serialize<CDataStream>(CDataStream&, int, int) const]+0x252): undefined reference to `CTxOutCompressor::CompressAmount(unsigned long long)' build/txdb.o: In function `void CCoins::Unserialize<CDataStream>(CDataStream&, int, int)': txdb.cpp:(.text._ZN6CCoins11UnserializeI11CDataStreamEEvRT_ii[void CCoins::Unserialize<CDataStream>(CDataStream&, int, int)]+0x1d0): undefined reference to `CTxOutCompressor::DecompressAmount(unsigned long long)' build/txdb.o:(.rodata+0x290): undefined reference to `typeinfo for CCoinsView' build/notificator.o: In function `Notificator::Notificator(QString const&, QSystemTrayIcon*, QWidget*)': notificator.cpp:(.text+0xe8): undefined reference to `QDBusConnection::sessionBus()' notificator.cpp:(.text+0x108): undefined reference to `QDBusInterface::QDBusInterface(QString const&, QString const&, QString const&, QDBusConnection const&, QObject*)' notificator.cpp:(.text+0x112): undefined reference to `QDBusConnection::~QDBusConnection()' notificator.cpp:(.text+0x15e): undefined reference to `QDBusAbstractInterface::isValid() const' notificator.cpp:(.text+0x1a4): undefined reference to `QDBusConnection::~QDBusConnection()' build/notificator.o: In function `operator<<(QDBusArgument&, FreedesktopImage const&)': notificator.cpp:(.text+0x49a): undefined reference to `QDBusArgument::beginStructure()' notificator.cpp:(.text+0x4a2): undefined reference to `QDBusArgument::operator<<(int)' notificator.cpp:(.text+0x4a8): undefined reference to `QDBusArgument::operator<<(int)' notificator.cpp:(.text+0x4ae): undefined reference to `QDBusArgument::operator<<(int)' notificator.cpp:(.text+0x4b4): undefined reference to `QDBusArgument::operator<<(bool)' notificator.cpp:(.text+0x4ba): undefined reference to `QDBusArgument::operator<<(int)' notificator.cpp:(.text+0x4c0): undefined reference to `QDBusArgument::operator<<(int)' notificator.cpp:(.text+0x4c8): undefined reference to `QDBusArgument::operator<<(QByteArray const&)' notificator.cpp:(.text+0x4ce): undefined reference to `QDBusArgument::endStructure()' build/notificator.o: In function `operator>>(QDBusArgument const&, FreedesktopImage&)': notificator.cpp:(.text+0x4f6): undefined reference to `QDBusArgument::beginStructure() const' notificator.cpp:(.text+0x4fe): undefined reference to `QDBusArgument::operator>>(int&) const' notificator.cpp:(.text+0x504): undefined reference to `QDBusArgument::operator>>(int&) const' notificator.cpp:(.text+0x50c): undefined reference to `QDBusArgument::operator>>(int&) const' notificator.cpp:(.text+0x514): undefined reference to `QDBusArgument::operator>>(bool&) const' notificator.cpp:(.text+0x51c): undefined reference to `QDBusArgument::operator>>(int&) const' notificator.cpp:(.text+0x524): undefined reference to `QDBusArgument::operator>>(int&) const' notificator.cpp:(.text+0x52c): undefined reference to `QDBusArgument::operator>>(QByteArray&) const' notificator.cpp:(.text+0x532): undefined reference to `QDBusArgument::endStructure() const' build/notificator.o: In function `FreedesktopImage::metaType()': notificator.cpp:(.text+0x570): undefined reference to `QDBusMetaType::registerMarshallOperators(int, void (*)(QDBusArgument&, void const*), void (*)(QDBusArgument const&, void*))' build/notificator.o: In function `Notificator::notifyDBus(Notificator::Class, QString const&, QString const&, QIcon const&, int)': notificator.cpp:(.text+0x954): undefined reference to `QDBusAbstractInterface::callWithArgumentList(QDBus::CallMode, QString const&, QList<QVariant> const&)' notificator.cpp:(.text+0x95a): undefined reference to `QDBusMessage::~QDBusMessage()' collect2: ld returned 1 exit status make: *** [bitcoin-qt] Error 1 I installed all pre-requisites as far as I know. Anyone had the same problem yet? Or any advice? thx a lot.
Title: Re: compiling bitcoin-qt in cubian/weezy
Post by: ltcnim on December 27, 2013, 03:00:35 PM
???
Title: Re: compiling bitcoin-qt in cubian/weezy
Post by: ltcnim on December 28, 2013, 07:30:12 PM
still need hlp!
Title: Re: compiling bitcoin-qt in cubian/weezy
Post by: elbandi on December 28, 2013, 07:59:37 PM
pastebin the full log.
Title: Re: compiling bitcoin-qt in cubian/weezy
Post by: ltcnim on December 29, 2013, 01:02:08 AM
http://pastebin.com/HrWZYsYR
full make output.
Title: Re: compiling bitcoin-qt in cubian/weezy
Post by: ltcnim on January 08, 2014, 01:00:39 PM
:'(
Title: Re: compiling bitcoin-qt in cubian/weezy
Post by: ltcnim on January 29, 2014, 08:59:47 PM
Just for the record: i managed to get it to compile now. After having the same problem with the latest dogecoin build, I found out, that it's most likely connected to the limited amount of memory on the cubieboard. After stopping most of the processes, I was able to built both, dogecoin-qt & bitcoin-qt without problems using: "make -B"
may this solution help someone else, too ^^
Title: Re: compiling bitcoin-qt in cubian/weezy
Post by: Splash on January 30, 2014, 10:13:09 AM
Thanks vor posting tue solution!
|