Bitcoin Forum
May 03, 2024, 05:39:57 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: compiling bitcoin-qt in cubian/weezy  (Read 1918 times)
ltcnim (OP)
Legendary
*
Offline Offline

Activity: 914
Merit: 1001



View Profile
December 24, 2013, 12:49:31 AM
 #1

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:

Code:
...
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.

1714757997
Hero Member
*
Offline Offline

Posts: 1714757997

View Profile Personal Message (Offline)

Ignore
1714757997
Reply with quote  #2

1714757997
Report to moderator
1714757997
Hero Member
*
Offline Offline

Posts: 1714757997

View Profile Personal Message (Offline)

Ignore
1714757997
Reply with quote  #2

1714757997
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714757997
Hero Member
*
Offline Offline

Posts: 1714757997

View Profile Personal Message (Offline)

Ignore
1714757997
Reply with quote  #2

1714757997
Report to moderator
1714757997
Hero Member
*
Offline Offline

Posts: 1714757997

View Profile Personal Message (Offline)

Ignore
1714757997
Reply with quote  #2

1714757997
Report to moderator
ltcnim (OP)
Legendary
*
Offline Offline

Activity: 914
Merit: 1001



View Profile
December 27, 2013, 03:00:35 PM
 #2

 Huh

ltcnim (OP)
Legendary
*
Offline Offline

Activity: 914
Merit: 1001



View Profile
December 28, 2013, 07:30:12 PM
 #3

still need hlp!

elbandi
Hero Member
*****
Offline Offline

Activity: 525
Merit: 529


View Profile
December 28, 2013, 07:59:37 PM
 #4

pastebin the full log.
ltcnim (OP)
Legendary
*
Offline Offline

Activity: 914
Merit: 1001



View Profile
December 29, 2013, 01:02:08 AM
 #5

http://pastebin.com/HrWZYsYR

full make output.

ltcnim (OP)
Legendary
*
Offline Offline

Activity: 914
Merit: 1001



View Profile
January 08, 2014, 01:00:39 PM
 #6

Cry

ltcnim (OP)
Legendary
*
Offline Offline

Activity: 914
Merit: 1001



View Profile
January 29, 2014, 08:59:47 PM
 #7

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 ^^

Splash
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
January 30, 2014, 10:13:09 AM
 #8

Thanks vor posting tue solution!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!