Build problem

Technical discussions related to CryptoNote repository and the forking process

Build problem

Postby brrmatteo » Fri Nov 13, 2015 5:48 pm

when i run make i get that errors:

Code: Select all
[ 50%] Building CXX object src/CMakeFiles/ConnectivityTool.dir/ConnectivityTool/ConnectivityTool.cpp.o
Linking CXX executable connectivity_tool
/usr/bin/ld: StreamTools.cpp.o: plugin needed to handle lto object
/tmp/ccwzX2d9.ltrans13.ltrans.o: nella funzione "(anonymous namespace)::readVarint(Common::IInputStream&) [clone .lto_priv.207]":
<artificial>:(.text+0x1d3): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
<artificial>:(.text+0x209): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
/tmp/ccwzX2d9.ltrans17.ltrans.o: nella funzione "(anonymous namespace)::writeArraySize(Common::IOutputStream&, unsigned long) [clone .lto_priv.139]":
<artificial>:(.text+0x111): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
<artificial>:(.text+0x13f): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
<artificial>:(.text+0x163): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
<artificial>:(.text+0x18e): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
/tmp/ccwzX2d9.ltrans17.ltrans.o: nella funzione "(anonymous namespace)::writeElementName(Common::IOutputStream&, Common::StringView) [clone .lto_priv.195]":
<artificial>:(.text+0x267): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
/tmp/ccwzX2d9.ltrans17.ltrans.o:<artificial>:(.text+0x277): seguono ulteriori riferimenti non definiti a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
/tmp/ccwzX2d9.ltrans19.ltrans.o: nella funzione "(anonymous namespace)::loadValue(Common::IInputStream&, unsigned char)":
<artificial>:(.text+0x3dc): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
<artificial>:(.text+0x414): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
<artificial>:(.text+0x43c): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
<artificial>:(.text+0x464): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
<artificial>:(.text+0x494): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
/tmp/ccwzX2d9.ltrans19.ltrans.o:<artificial>:(.text+0x4b4): seguono ulteriori riferimenti non definiti a "Common::read(Common::IInputStream&, void*, unsigned long)"
/tmp/ccwzX2d9.ltrans19.ltrans.o: nella funzione "(anonymous namespace)::loadValue(Common::IInputStream&, unsigned char)":
<artificial>:(.text+0x58c): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
<artificial>:(.text+0x5c7): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
<artificial>:(.text+0x626): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
<artificial>:(.text+0x649): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
/tmp/ccwzX2d9.ltrans19.ltrans.o: nella funzione "(anonymous namespace)::loadSection(Common::IInputStream&)":
<artificial>:(.text+0x7fe): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
<artificial>:(.text+0x850): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
<artificial>:(.text+0x891): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
<artificial>:(.text+0x8bc): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
<artificial>:(.text+0x8f9): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
/tmp/ccwzX2d9.ltrans19.ltrans.o: nella funzione "CryptoNote::KVBinaryInputStreamSerializer::KVBinaryInputStreamSerializer(Common::IInputStream&)":
<artificial>:(.text+0xe4a): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
/tmp/ccwzX2d9.ltrans24.ltrans.o: nella funzione "Crypto::serialize(Crypto::Signature&, Common::StringView, CryptoNote::ISerializer&) [clone .constprop.93]":
<artificial>:(.text+0x10e9): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
<artificial>:(.text+0x10f9): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
/tmp/ccwzX2d9.ltrans24.ltrans.o: nella funzione "bool CryptoNote::ISerializer::operator()<CryptoNote::proof_of_trust>(CryptoNote::proof_of_trust&, Common::StringView) [clone .constprop.88]":
<artificial>:(.text+0x1172): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
<artificial>:(.text+0x11aa): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
/tmp/ccwzX2d9.ltrans26.ltrans.o: nella funzione "CryptoNote::KVBinaryOutputStreamSerializer::beginObject(Common::StringView)":
<artificial>:(.text+0x4b6): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
/tmp/ccwzX2d9.ltrans26.ltrans.o:<artificial>:(.text+0x8e7): seguono ulteriori riferimenti non definiti a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
collect2: error: ld returned 1 exit status
src/CMakeFiles/ConnectivityTool.dir/build.make:103: set di istruzioni per l'obiettivo "src/connectivity_tool" non riuscito
make[3]: *** [src/connectivity_tool] Errore 1
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
CMakeFiles/Makefile2:382: set di istruzioni per l'obiettivo "src/CMakeFiles/ConnectivityTool.dir/all" non riuscito
make[2]: *** [src/CMakeFiles/ConnectivityTool.dir/all] Errore 2
make[2]: uscita dalla directory "/home/matteo/cryptonote/build/release"
Makefile:86: set di istruzioni per l'obiettivo "all" non riuscito
make[1]: *** [all] Errore 2
make[1]: uscita dalla directory "/home/matteo/cryptonote/build/release"
Makefile:20: set di istruzioni per l'obiettivo "build-release" non riuscito
make: *** [build-release] Errore 2
brrmatteo
 
Posts: 3
Joined: Fri Nov 13, 2015 5:25 pm

Re: Build problem

Postby Clever Crypto » Mon Nov 16, 2015 12:43 pm

The simplest way is to turn LTO off.
So, you should open CMakeLists.txt, then find the line
set(RELEASE_FLAGS "${RELEASE_FLAGS} -flto")
and delete it, or you could mark it with #
#set(RELEASE_FLAGS "${RELEASE_FLAGS} -flto")
Clever Crypto
 
Posts: 33
Joined: Tue May 26, 2015 12:25 pm

Re: Build problem

Postby brrmatteo » Sun Nov 22, 2015 12:28 pm

i have tried but i got another errors

Code: Select all

[ 50%] Building CXX object src/CMakeFiles/ConnectivityTool.dir/ConnectivityTool/ConnectivityTool.cpp.o
Linking CXX executable connectivity_tool
libSerialization.a(KVBinaryInputStreamSerializer.cpp.o): nella funzione "(anonymous namespace)::loadValue(Common::IInputStream&, unsigned char)":
KVBinaryInputStreamSerializer.cpp:(.text+0x2e0): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x34b): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x3a3): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x3d3): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x403): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x433): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
libSerialization.a(KVBinaryInputStreamSerializer.cpp.o):KVBinaryInputStreamSerializer.cpp:(.text+0x463): seguono ulteriori riferimenti non definiti a "Common::read(Common::IInputStream&, void*, unsigned long)"
libSerialization.a(KVBinaryInputStreamSerializer.cpp.o): nella funzione "(anonymous namespace)::loadValue(Common::IInputStream&, unsigned char)":
KVBinaryInputStreamSerializer.cpp:(.text+0x51c): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x557): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x5b5): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x619): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x6c7): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
libSerialization.a(KVBinaryInputStreamSerializer.cpp.o): nella funzione "(anonymous namespace)::loadSection(Common::IInputStream&)":
KVBinaryInputStreamSerializer.cpp:(.text+0x83d): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x879): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x8be): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x910): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x951): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x97c): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x9b9): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
libSerialization.a(KVBinaryInputStreamSerializer.cpp.o): nella funzione "CryptoNote::KVBinaryInputStreamSerializer::KVBinaryInputStreamSerializer(Common::IInputStream&)":
KVBinaryInputStreamSerializer.cpp:(.text+0xb4a): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
libSerialization.a(KVBinaryOutputStreamSerializer.cpp.o): nella funzione "(anonymous namespace)::writeArraySize(Common::IOutputStream&, unsigned long)":
KVBinaryOutputStreamSerializer.cpp:(.text+0x71): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
KVBinaryOutputStreamSerializer.cpp:(.text+0xaf): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
KVBinaryOutputStreamSerializer.cpp:(.text+0xd3): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
KVBinaryOutputStreamSerializer.cpp:(.text+0xf6): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
libSerialization.a(KVBinaryOutputStreamSerializer.cpp.o): nella funzione "(anonymous namespace)::writeElementName(Common::IOutputStream&, Common::StringView)":
KVBinaryOutputStreamSerializer.cpp:(.text+0x1f8): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
libSerialization.a(KVBinaryOutputStreamSerializer.cpp.o):KVBinaryOutputStreamSerializer.cpp:(.text+0x214): seguono ulteriori riferimenti non definiti a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
collect2: error: ld returned 1 exit status
src/CMakeFiles/ConnectivityTool.dir/build.make:103: set di istruzioni per l'obiettivo "src/connectivity_tool" non riuscito
make[3]: *** [src/connectivity_tool] Errore 1
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
CMakeFiles/Makefile2:382: set di istruzioni per l'obiettivo "src/CMakeFiles/ConnectivityTool.dir/all" non riuscito
make[2]: *** [src/CMakeFiles/ConnectivityTool.dir/all] Errore 2
make[2]: uscita dalla directory "/home/matteo/cryptonote/build/release"
Makefile:86: set di istruzioni per l'obiettivo "all" non riuscito
make[1]: *** [all] Errore 2
make[1]: uscita dalla directory "/home/matteo/cryptonote/build/release"
Makefile:20: set di istruzioni per l'obiettivo "build-release" non riuscito
make: *** [build-release] Errore 2
matteo@imac-ubuntu:~/cryptonote$

brrmatteo
 
Posts: 3
Joined: Fri Nov 13, 2015 5:25 pm

Re: Build problem

Postby ikeman32 » Mon Nov 23, 2015 11:18 am

Are you using
Code: Select all
sudo make -j


See my post about this https://forum.cryptonote.org/viewtopic.php?f=5&t=814
ikeman32
 
Posts: 12
Joined: Tue Nov 17, 2015 1:05 am

Re: Build problem

Postby brrmatteo » Mon Nov 23, 2015 7:51 pm

Hello, i tried again to build:
First time, it built successfully, this is the log

Code: Select all

make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[  0%] Built target version
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[  5%] Built target upnpc-static
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[  5%] Built target gtest
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[  6%] Built target gtest_main
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[  7%] Built target BlockchainExplorer
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 14%] Built target Common
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 19%] Built target System
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 26%] Built target Crypto
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 27%] Built target Http
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 37%] Built target CryptoNoteCore
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 41%] Built target Logging
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 43%] Built target Rpc
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 47%] Built target P2P
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 50%] Built target Serialization
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 50%] Built target ConnectivityTool
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 50%] Building CXX object src/CMakeFiles/Daemon.dir/Daemon/DaemonCommandsHandler.cpp.o
[ 50%] Building CXX object src/CMakeFiles/Daemon.dir/Daemon/Daemon.cpp.o
Linking CXX executable o2coind
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 50%] Built target Daemon
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Scanning dependencies of target InProcessNode
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 50%] Building CXX object src/CMakeFiles/InProcessNode.dir/InProcessNode/InProcessNode.cpp.o
[ 51%] Building CXX object src/CMakeFiles/InProcessNode.dir/InProcessNode/InProcessNodeErrors.cpp.o
Linking CXX static library libInProcessNode.a
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 51%] Built target InProcessNode
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 51%] Building CXX object src/CMakeFiles/JsonRpcServer.dir/JsonRpcServer/JsonRpcServer.cpp.o
In file included from /home/matteo/cryptonote/src/JsonRpcServer/JsonRpcServer.cpp:21:0:
/home/matteo/cryptonote/src/Common/JsonValue.h: In instantiation of ‘Common::JsonValue& Common::JsonValue::operator=(const char (&)[size]) [with long unsigned int size = 17ul]’:
/home/matteo/cryptonote/src/JsonRpcServer/JsonRpcServer.cpp:146:11:   required from here
/home/matteo/cryptonote/src/Common/JsonValue.h:77:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
       reinterpret_cast<String*>(valueString)->assign(value, size - 1);
       ^
Linking CXX static library libJsonRpcServer.a
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 51%] Built target JsonRpcServer
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 51%] Building CXX object src/CMakeFiles/NodeRpcProxy.dir/NodeRpcProxy/NodeRpcProxy.cpp.o
Linking CXX static library libNodeRpcProxy.a
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 51%] Built target NodeRpcProxy
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 51%] Building CXX object src/CMakeFiles/PaymentGate.dir/PaymentGate/WalletService.cpp.o
[ 52%] Building CXX object src/CMakeFiles/PaymentGate.dir/PaymentGate/PaymentServiceJsonRpcMessages.cpp.o
[ 52%] Building CXX object src/CMakeFiles/PaymentGate.dir/PaymentGate/WalletFactory.cpp.o
[ 52%] Building CXX object src/CMakeFiles/PaymentGate.dir/PaymentGate/NodeFactory.cpp.o
[ 53%] Building CXX object src/CMakeFiles/PaymentGate.dir/PaymentGate/PaymentServiceJsonRpcServer.cpp.o
Linking CXX static library libPaymentGate.a
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 53%] Built target PaymentGate
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 53%] Building CXX object src/CMakeFiles/Transfers.dir/Transfers/TransfersSubscription.cpp.o
[ 54%] Building CXX object src/CMakeFiles/Transfers.dir/Transfers/TransfersContainer.cpp.o
/home/matteo/cryptonote/src/Transfers/TransfersContainer.cpp: In member function ‘size_t CryptoNote::SpentOutputDescriptor::hash() const’:
/home/matteo/cryptonote/src/Transfers/TransfersContainer.cpp:144:61: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     return *reinterpret_cast<const size_t*>(m_keyImage->data);
                                                             ^
[ 54%] Building CXX object src/CMakeFiles/Transfers.dir/Transfers/SynchronizationState.cpp.o
[ 55%] Building CXX object src/CMakeFiles/Transfers.dir/Transfers/TransfersConsumer.cpp.o
[ 55%] Building CXX object src/CMakeFiles/Transfers.dir/Transfers/BlockchainSynchronizer.cpp.o
[ 55%] Building CXX object src/CMakeFiles/Transfers.dir/Transfers/TransfersSynchronizer.cpp.o
Linking CXX static library libTransfers.a
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 55%] Built target Transfers
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 55%] Building CXX object src/CMakeFiles/Wallet.dir/Wallet/WalletSerialization.cpp.o
/home/matteo/cryptonote/src/Wallet/WalletSerialization.cpp: In member function ‘void CryptoNote::WalletSerializer::loadWallets(Common::IInputStream&, CryptoNote::CryptoContext&)’:
/home/matteo/cryptonote/src/Wallet/WalletSerialization.cpp:674:74: warning: ‘isTrackingMode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     } else if ((isTrackingMode && dto.spendSecretKey != NULL_SECRET_KEY) || (!isTrackingMode && dto.spendSecretKey == NULL_SECRET_KEY)) {
                                                                          ^
[ 56%] Building CXX object src/CMakeFiles/Wallet.dir/Wallet/LegacyKeysImporter.cpp.o
[ 56%] Building CXX object src/CMakeFiles/Wallet.dir/Wallet/WalletGreen.cpp.o
[ 56%] Building CXX object src/CMakeFiles/Wallet.dir/Wallet/WalletRpcServer.cpp.o
[ 57%] Building CXX object src/CMakeFiles/Wallet.dir/WalletLegacy/WalletLegacy.cpp.o
[ 57%] Building CXX object src/CMakeFiles/Wallet.dir/WalletLegacy/WalletTransactionSender.cpp.o
[ 57%] Building CXX object src/CMakeFiles/Wallet.dir/WalletLegacy/WalletLegacySerialization.cpp.o
[ 58%] Building CXX object src/CMakeFiles/Wallet.dir/WalletLegacy/WalletUnconfirmedTransactions.cpp.o
[ 58%] Building CXX object src/CMakeFiles/Wallet.dir/WalletLegacy/WalletUserTransactionsCache.cpp.o
[ 58%] Building CXX object src/CMakeFiles/Wallet.dir/WalletLegacy/KeysStorage.cpp.o
[ 59%] Building CXX object src/CMakeFiles/Wallet.dir/WalletLegacy/WalletLegacySerializer.cpp.o
[ 59%] Building CXX object src/CMakeFiles/Wallet.dir/WalletLegacy/WalletHelper.cpp.o
Linking CXX static library libWallet.a
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 60%] Built target Wallet
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Scanning dependencies of target PaymentGateService
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 60%] Building CXX object src/CMakeFiles/PaymentGateService.dir/PaymentGateService/PaymentGateService.cpp.o
[ 60%] Building CXX object src/CMakeFiles/PaymentGateService.dir/PaymentGateService/RpcNodeConfiguration.cpp.o
[ 61%] Building CXX object src/CMakeFiles/PaymentGateService.dir/PaymentGateService/PaymentServiceConfiguration.cpp.o
[ 61%] Building CXX object src/CMakeFiles/PaymentGateService.dir/PaymentGateService/ConfigurationManager.cpp.o
[ 62%] Building CXX object src/CMakeFiles/PaymentGateService.dir/PaymentGateService/main.cpp.o
Linking CXX executable walletd
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 62%] Built target PaymentGateService
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Scanning dependencies of target SimpleWallet
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 62%] Building CXX object src/CMakeFiles/SimpleWallet.dir/SimpleWallet/SimpleWallet.cpp.o
[ 63%] Building CXX object src/CMakeFiles/SimpleWallet.dir/SimpleWallet/PasswordContainer.cpp.o
Linking CXX executable simplewallet
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 63%] Built target SimpleWallet
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 63%] Building CXX object tests/CMakeFiles/TestGenerator.dir/TestGenerator/TestGenerator.cpp.o
Linking CXX static library libTestGenerator.a
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 63%] Built target TestGenerator
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Scanning dependencies of target CoreTests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 64%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/Chaingen.cpp.o
[ 64%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/ChaingenMain.cpp.o
[ 65%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/ChainSwitch1.cpp.o
[ 65%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/TransactionBuilder.cpp.o
[ 65%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/BlockValidation.cpp.o
[ 66%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/TransactionValidation.cpp.o
[ 66%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/IntegerOverflow.cpp.o
[ 66%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/DoubleSpend.cpp.o
[ 67%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/Chaingen001.cpp.o
[ 67%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/BlockReward.cpp.o
[ 67%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/RandomOuts.cpp.o
[ 68%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/RingSignature.cpp.o
[ 68%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/TransactionTests.cpp.o
[ 68%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/ChainSplit1.cpp.o
Linking CXX executable core_tests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 68%] Built target CoreTests
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Linking CXX executable crypto_tests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 70%] Built target CryptoTests
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 71%] Building CXX object tests/CMakeFiles/DifficultyTests.dir/Difficulty/Difficulty.cpp.o
Linking CXX executable difficulty_tests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 71%] Built target DifficultyTests
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Linking CXX executable hash_target_tests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 71%] Built target HashTargetTests
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 72%] Built target HashTests
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Scanning dependencies of target IntegrationTestLibrary
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 72%] Building CXX object tests/CMakeFiles/IntegrationTestLibrary.dir/IntegrationTestLib/BaseFunctionalTests.cpp.o
[ 72%] Building CXX object tests/CMakeFiles/IntegrationTestLibrary.dir/IntegrationTestLib/InProcTestNode.cpp.o
[ 73%] Building CXX object tests/CMakeFiles/IntegrationTestLibrary.dir/IntegrationTestLib/TestNetwork.cpp.o
[ 73%] Building CXX object tests/CMakeFiles/IntegrationTestLibrary.dir/IntegrationTestLib/RPCTestNode.cpp.o
[ 73%] Building CXX object tests/CMakeFiles/IntegrationTestLibrary.dir/IntegrationTestLib/Process.cpp.o
[ 74%] Building CXX object tests/CMakeFiles/IntegrationTestLibrary.dir/IntegrationTestLib/TestWalletLegacy.cpp.o
[ 74%] Building CXX object tests/CMakeFiles/IntegrationTestLibrary.dir/IntegrationTestLib/Logger.cpp.o
Linking CXX static library libIntegrationTestLibrary.a
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 74%] Built target IntegrationTestLibrary
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Scanning dependencies of target IntegrationTests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 75%] Building CXX object tests/CMakeFiles/IntegrationTests.dir/IntegrationTests/Node.cpp.o
[ 75%] Building CXX object tests/CMakeFiles/IntegrationTests.dir/IntegrationTests/MultiVersion.cpp.o
[ 75%] Building CXX object tests/CMakeFiles/IntegrationTests.dir/IntegrationTests/IntegrationTests.cpp.o
[ 76%] Building CXX object tests/CMakeFiles/IntegrationTests.dir/IntegrationTests/WalletLegacyTests.cpp.o
[ 76%] Building CXX object tests/CMakeFiles/IntegrationTests.dir/IntegrationTests/main.cpp.o
Linking CXX executable integration_tests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 76%] Built target IntegrationTests
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Scanning dependencies of target NodeRpcProxyTests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 77%] Building CXX object tests/CMakeFiles/NodeRpcProxyTests.dir/NodeRpcProxyTests/NodeRpcProxyTests.cpp.o
Linking CXX executable node_rpc_proxy_tests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 77%] Built target NodeRpcProxyTests
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 77%] Building CXX object tests/CMakeFiles/PerformanceTests.dir/PerformanceTests/main.cpp.o
Linking CXX executable performance_tests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 77%] Built target PerformanceTests
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 77%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/OperationTimeoutTests.cpp.o
[ 78%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/ContextGroupTests.cpp.o
[ 78%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/EventTests.cpp.o
[ 78%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/TcpListenerTests.cpp.o
[ 78%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/TimerTests.cpp.o
[ 79%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/TcpConnectorTests.cpp.o
[ 79%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/DispatcherTests.cpp.o
[ 79%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/ContextGroupTimeoutTests.cpp.o
[ 80%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/EventLockTests.cpp.o
[ 80%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/TcpConnectionTests.cpp.o
/home/matteo/cryptonote/tests/System/TcpConnectionTests.cpp:36:13: warning: ‘std::string {anonymous}::removePort(const string&)’ defined but not used [-Wunused-function]
 std::string removePort(const std::string& address) {
             ^
[ 80%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/Ipv4AddressTests.cpp.o
[ 81%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/ContextTests.cpp.o
In file included from /home/matteo/cryptonote/tests/System/ContextTests.cpp:5:0:
/home/matteo/cryptonote/src/System/Context.h: In instantiation of ‘ResultType& System::Context<ResultType>::get() [with ResultType = int]’:
/home/matteo/cryptonote/tests/System/ContextTests.cpp:20:3:   required from here
/home/matteo/cryptonote/src/System/Context.h:50:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     return *reinterpret_cast<ResultType*>(resultStorage);
                                                        ^
[ 81%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/RemoteContextTests.cpp.o
[ 81%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/main.cpp.o
[ 82%] Building CXX object tests/CMakeFiles/SystemTests.dir/System/ErrorMessageTests.cpp.o
Linking CXX executable system_tests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 83%] Built target SystemTests
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Scanning dependencies of target TransfersTests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 84%] Building CXX object tests/CMakeFiles/TransfersTests.dir/TransfersTests/Tests.cpp.o
[ 84%] Building CXX object tests/CMakeFiles/TransfersTests.dir/TransfersTests/TestTxPoolSync.cpp.o
[ 84%] Building CXX object tests/CMakeFiles/TransfersTests.dir/TransfersTests/TestNodeRpcProxy.cpp.o
[ 85%] Building CXX object tests/CMakeFiles/TransfersTests.dir/TransfersTests/main.cpp.o
Linking CXX executable transfers_tests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 85%] Built target TransfersTests
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Scanning dependencies of target UnitTests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
[ 85%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestTransfersContainerKeyImage.cpp.o
In file included from /home/matteo/cryptonote/tests/UnitTests/TestTransfersContainerKeyImage.cpp:16:0:
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:47:24: warning: ‘CryptoNote::AccountPublicAddress {anonymous}::generateAddress()’ defined but not used [-Wunused-function]
   AccountPublicAddress generateAddress() {
                        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:67:8: warning: ‘void {anonymous}::addTestInput(CryptoNote::ITransaction&, uint64_t)’ defined but not used [-Wunused-function]
   void addTestInput(ITransaction& transaction, uint64_t amount) {
        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:76:34: warning: ‘CryptoNote::TransactionOutputInformationIn {anonymous}::addTestKeyOutput(CryptoNote::ITransaction&, uint64_t, uint32_t, const CryptoNote::AccountKeys&)’ defined but not used [-Wunused-function]
   TransactionOutputInformationIn addTestKeyOutput(ITransaction& transaction, uint64_t amount,
                                  ^
[ 85%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/Shuffle.cpp.o
[ 86%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/ParseAmount.cpp.o
[ 86%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/Chacha8.cpp.o
[ 86%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestMessageQueue.cpp.o
[ 87%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestPeerlist.cpp.o
[ 87%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestBlockchainGenerator.cpp.o
[ 88%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/ICoreStub.cpp.o
[ 88%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/Base58.cpp.o
[ 88%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/MulDiv.cpp.o
[ 89%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/SerializationKV.cpp.o
[ 89%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/StringBufferTests.cpp.o
[ 89%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestTransfersConsumer.cpp.o
In file included from /home/matteo/cryptonote/tests/UnitTests/TestTransfersConsumer.cpp:17:0:
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:47:24: warning: ‘CryptoNote::AccountPublicAddress {anonymous}::generateAddress()’ defined but not used [-Wunused-function]
   AccountPublicAddress generateAddress() {
                        ^
[ 90%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestProtocolPack.cpp.o
[ 90%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestFormatUtils.cpp.o
[ 90%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestTransfersContainer.cpp.o
In file included from /home/matteo/cryptonote/tests/UnitTests/TestTransfersContainer.cpp:16:0:
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:47:24: warning: ‘CryptoNote::AccountPublicAddress {anonymous}::generateAddress()’ defined but not used [-Wunused-function]
   AccountPublicAddress generateAddress() {
                        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:67:8: warning: ‘void {anonymous}::addTestInput(CryptoNote::ITransaction&, uint64_t)’ defined but not used [-Wunused-function]
   void addTestInput(ITransaction& transaction, uint64_t amount) {
        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:76:34: warning: ‘CryptoNote::TransactionOutputInformationIn {anonymous}::addTestKeyOutput(CryptoNote::ITransaction&, uint64_t, uint32_t, const CryptoNote::AccountKeys&)’ defined but not used [-Wunused-function]
   TransactionOutputInformationIn addTestKeyOutput(ITransaction& transaction, uint64_t amount,
                                  ^
[ 91%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/StringViewTests.cpp.o
[ 91%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/Serialization.cpp.o
[ 92%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/BlockingQueue.cpp.o
[ 92%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/PaymentGateTests.cpp.o
[ 92%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestBcS.cpp.o
[ 93%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestTransfersSubscription.cpp.o
In file included from /home/matteo/cryptonote/tests/UnitTests/TestTransfersSubscription.cpp:14:0:
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:47:24: warning: ‘CryptoNote::AccountPublicAddress {anonymous}::generateAddress()’ defined but not used [-Wunused-function]
   AccountPublicAddress generateAddress() {
                        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:76:34: warning: ‘CryptoNote::TransactionOutputInformationIn {anonymous}::addTestKeyOutput(CryptoNote::ITransaction&, uint64_t, uint32_t, const CryptoNote::AccountKeys&)’ defined but not used [-Wunused-function]
   TransactionOutputInformationIn addTestKeyOutput(ITransaction& transaction, uint64_t amount,
                                  ^
[ 93%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestWalletLegacy.cpp.o
[ 93%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/ArrayRefTests.cpp.o
[ 94%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/INodeStubs.cpp.o
[ 94%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TransactionApiHelpers.cpp.o
In file included from /home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.cpp:5:0:
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:67:8: warning: ‘void {anonymous}::addTestInput(CryptoNote::ITransaction&, uint64_t)’ defined but not used [-Wunused-function]
   void addTestInput(ITransaction& transaction, uint64_t amount) {
        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:76:34: warning: ‘CryptoNote::TransactionOutputInformationIn {anonymous}::addTestKeyOutput(CryptoNote::ITransaction&, uint64_t, uint32_t, const CryptoNote::AccountKeys&)’ defined but not used [-Wunused-function]
   TransactionOutputInformationIn addTestKeyOutput(ITransaction& transaction, uint64_t amount,
                                  ^
[ 94%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestPath.cpp.o
[ 95%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestTransfers.cpp.o
In file included from /home/matteo/cryptonote/tests/UnitTests/TestTransfers.cpp:12:0:
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:47:24: warning: ‘CryptoNote::AccountPublicAddress {anonymous}::generateAddress()’ defined but not used [-Wunused-function]
   AccountPublicAddress generateAddress() {
                        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:67:8: warning: ‘void {anonymous}::addTestInput(CryptoNote::ITransaction&, uint64_t)’ defined but not used [-Wunused-function]
   void addTestInput(ITransaction& transaction, uint64_t amount) {
        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:76:34: warning: ‘CryptoNote::TransactionOutputInformationIn {anonymous}::addTestKeyOutput(CryptoNote::ITransaction&, uint64_t, uint32_t, const CryptoNote::AccountKeys&)’ defined but not used [-Wunused-function]
   TransactionOutputInformationIn addTestKeyOutput(ITransaction& transaction, uint64_t amount,
                                  ^
[ 95%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestTransactionPoolDetach.cpp.o
In file included from /home/matteo/cryptonote/tests/UnitTests/TestTransactionPoolDetach.cpp:14:0:
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:47:24: warning: ‘CryptoNote::AccountPublicAddress {anonymous}::generateAddress()’ defined but not used [-Wunused-function]
   AccountPublicAddress generateAddress() {
                        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:67:8: warning: ‘void {anonymous}::addTestInput(CryptoNote::ITransaction&, uint64_t)’ defined but not used [-Wunused-function]
   void addTestInput(ITransaction& transaction, uint64_t amount) {
        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:76:34: warning: ‘CryptoNote::TransactionOutputInformationIn {anonymous}::addTestKeyOutput(CryptoNote::ITransaction&, uint64_t, uint32_t, const CryptoNote::AccountKeys&)’ defined but not used [-Wunused-function]
   TransactionOutputInformationIn addTestKeyOutput(ITransaction& transaction, uint64_t amount,
                                  ^
[ 95%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestInprocessNode.cpp.o
[ 96%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TransactionPool.cpp.o
In file included from /home/matteo/cryptonote/tests/UnitTests/TransactionPool.cpp:21:0:
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:47:24: warning: ‘CryptoNote::AccountPublicAddress {anonymous}::generateAddress()’ defined but not used [-Wunused-function]
   AccountPublicAddress generateAddress() {
                        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:67:8: warning: ‘void {anonymous}::addTestInput(CryptoNote::ITransaction&, uint64_t)’ defined but not used [-Wunused-function]
   void addTestInput(ITransaction& transaction, uint64_t amount) {
        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:76:34: warning: ‘CryptoNote::TransactionOutputInformationIn {anonymous}::addTestKeyOutput(CryptoNote::ITransaction&, uint64_t, uint32_t, const CryptoNote::AccountKeys&)’ defined but not used [-Wunused-function]
   TransactionOutputInformationIn addTestKeyOutput(ITransaction& transaction, uint64_t amount,
                                  ^
[ 96%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/Checkpoints.cpp.o
[ 97%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestCurrency.cpp.o
In file included from /home/matteo/cryptonote/tests/UnitTests/TestCurrency.cpp:12:0:
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:47:24: warning: ‘CryptoNote::AccountPublicAddress {anonymous}::generateAddress()’ defined but not used [-Wunused-function]
   AccountPublicAddress generateAddress() {
                        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:67:8: warning: ‘void {anonymous}::addTestInput(CryptoNote::ITransaction&, uint64_t)’ defined but not used [-Wunused-function]
   void addTestInput(ITransaction& transaction, uint64_t amount) {
        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:76:34: warning: ‘CryptoNote::TransactionOutputInformationIn {anonymous}::addTestKeyOutput(CryptoNote::ITransaction&, uint64_t, uint32_t, const CryptoNote::AccountKeys&)’ defined but not used [-Wunused-function]
   TransactionOutputInformationIn addTestKeyOutput(ITransaction& transaction, uint64_t amount,
                                  ^
[ 97%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TransactionApi.cpp.o
In file included from /home/matteo/cryptonote/tests/UnitTests/TransactionApi.cpp:14:0:
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:47:24: warning: ‘CryptoNote::AccountPublicAddress {anonymous}::generateAddress()’ defined but not used [-Wunused-function]
   AccountPublicAddress generateAddress() {
                        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:67:8: warning: ‘void {anonymous}::addTestInput(CryptoNote::ITransaction&, uint64_t)’ defined but not used [-Wunused-function]
   void addTestInput(ITransaction& transaction, uint64_t amount) {
        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:76:34: warning: ‘CryptoNote::TransactionOutputInformationIn {anonymous}::addTestKeyOutput(CryptoNote::ITransaction&, uint64_t, uint32_t, const CryptoNote::AccountKeys&)’ defined but not used [-Wunused-function]
   TransactionOutputInformationIn addTestKeyOutput(ITransaction& transaction, uint64_t amount,
                                  ^
[ 97%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestBlockchainExplorer.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/BlockReward.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/ArrayViewTests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/EventWaiter.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/DecomposeAmountIntoDigits.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestJsonValue.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/TestWallet.cpp.o
In file included from /home/matteo/cryptonote/tests/UnitTests/TestWallet.cpp:17:0:
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:47:24: warning: ‘CryptoNote::AccountPublicAddress {anonymous}::generateAddress()’ defined but not used [-Wunused-function]
   AccountPublicAddress generateAddress() {
                        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:67:8: warning: ‘void {anonymous}::addTestInput(CryptoNote::ITransaction&, uint64_t)’ defined but not used [-Wunused-function]
   void addTestInput(ITransaction& transaction, uint64_t amount) {
        ^
/home/matteo/cryptonote/tests/UnitTests/TransactionApiHelpers.h:76:34: warning: ‘CryptoNote::TransactionOutputInformationIn {anonymous}::addTestKeyOutput(CryptoNote::ITransaction&, uint64_t, uint32_t, const CryptoNote::AccountKeys&)’ defined but not used [-Wunused-function]
   TransactionOutputInformationIn addTestKeyOutput(ITransaction& transaction, uint64_t amount,
                                  ^
[100%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/main.cpp.o
[100%] Building CXX object tests/CMakeFiles/UnitTests.dir/UnitTests/ICryptoNoteProtocolQueryStub.cpp.o
Linking CXX executable unit_tests
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[100%] Built target UnitTests
make[2]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[1]: uscita dalla directory "/home/matteo/cryptonote/build/release"




Then i generate the genesis block, and it worked.

Then i tried to rebuild with genesis and i got that errors:
Code: Select all

matteo@imac-ubuntu:~/cryptonote$ sudo make
mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
-- Boost version: 1.59.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
--   date_time
--   chrono
--   regex
--   serialization
--   program_options
-- Found Git: /usr/bin/git
-- Could NOT find Threads (missing:  Threads_FOUND)
-- Configuring done
CMake Warning in CMakeLists.txt:
  CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have
  been specified


-- Generating done
-- Build files have been written to: /home/matteo/cryptonote/build/release
cd build/release && make
make[1]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[2]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
fatal: No names found, cannot describe anything.
CMake Warning at src/version.cmake:3 (message):
  Cannot determine current revision.  Make sure that you are building either
  from a Git working tree or from a source archive.


make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[  0%] Built target version
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[  5%] Built target upnpc-static
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[  5%] Built target gtest
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[  6%] Built target gtest_main
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[  7%] Built target BlockchainExplorer
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 14%] Built target Common
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 19%] Built target System
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 26%] Built target Crypto
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 27%] Built target Http
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 37%] Built target CryptoNoteCore
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 41%] Built target Logging
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 43%] Built target Rpc
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 47%] Built target P2P
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
[ 50%] Built target Serialization
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
make[3]: ingresso nella directory "/home/matteo/cryptonote/build/release"
Linking CXX executable connectivity_tool
libSerialization.a(KVBinaryInputStreamSerializer.cpp.o): nella funzione "(anonymous namespace)::loadValue(Common::IInputStream&, unsigned char)":
KVBinaryInputStreamSerializer.cpp:(.text+0x2e0): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x34b): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x3a3): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x3d3): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x403): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x433): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
libSerialization.a(KVBinaryInputStreamSerializer.cpp.o):KVBinaryInputStreamSerializer.cpp:(.text+0x463): seguono ulteriori riferimenti non definiti a "Common::read(Common::IInputStream&, void*, unsigned long)"
libSerialization.a(KVBinaryInputStreamSerializer.cpp.o): nella funzione "(anonymous namespace)::loadValue(Common::IInputStream&, unsigned char)":
KVBinaryInputStreamSerializer.cpp:(.text+0x51c): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x557): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x5b5): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x619): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x6c7): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
libSerialization.a(KVBinaryInputStreamSerializer.cpp.o): nella funzione "(anonymous namespace)::loadSection(Common::IInputStream&)":
KVBinaryInputStreamSerializer.cpp:(.text+0x83d): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x879): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x8be): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x910): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x951): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
KVBinaryInputStreamSerializer.cpp:(.text+0x97c): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
KVBinaryInputStreamSerializer.cpp:(.text+0x9b9): riferimento non definito a "Common::read(Common::IInputStream&, unsigned char&)"
libSerialization.a(KVBinaryInputStreamSerializer.cpp.o): nella funzione "CryptoNote::KVBinaryInputStreamSerializer::KVBinaryInputStreamSerializer(Common::IInputStream&)":
KVBinaryInputStreamSerializer.cpp:(.text+0xb4a): riferimento non definito a "Common::read(Common::IInputStream&, void*, unsigned long)"
libSerialization.a(KVBinaryOutputStreamSerializer.cpp.o): nella funzione "(anonymous namespace)::writeArraySize(Common::IOutputStream&, unsigned long)":
KVBinaryOutputStreamSerializer.cpp:(.text+0x71): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
KVBinaryOutputStreamSerializer.cpp:(.text+0xaf): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
KVBinaryOutputStreamSerializer.cpp:(.text+0xd3): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
KVBinaryOutputStreamSerializer.cpp:(.text+0xf6): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
libSerialization.a(KVBinaryOutputStreamSerializer.cpp.o): nella funzione "(anonymous namespace)::writeElementName(Common::IOutputStream&, Common::StringView)":
KVBinaryOutputStreamSerializer.cpp:(.text+0x1f8): riferimento non definito a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
libSerialization.a(KVBinaryOutputStreamSerializer.cpp.o):KVBinaryOutputStreamSerializer.cpp:(.text+0x214): seguono ulteriori riferimenti non definiti a "Common::write(Common::IOutputStream&, void const*, unsigned long)"
collect2: error: ld returned 1 exit status
src/CMakeFiles/ConnectivityTool.dir/build.make:103: set di istruzioni per l'obiettivo "src/connectivity_tool" non riuscito
make[3]: *** [src/connectivity_tool] Errore 1
make[3]: uscita dalla directory "/home/matteo/cryptonote/build/release"
CMakeFiles/Makefile2:382: set di istruzioni per l'obiettivo "src/CMakeFiles/ConnectivityTool.dir/all" non riuscito
make[2]: *** [src/CMakeFiles/ConnectivityTool.dir/all] Errore 2
make[2]: uscita dalla directory "/home/matteo/cryptonote/build/release"
Makefile:86: set di istruzioni per l'obiettivo "all" non riuscito
make[1]: *** [all] Errore 2
make[1]: uscita dalla directory "/home/matteo/cryptonote/build/release"
Makefile:20: set di istruzioni per l'obiettivo "build-release" non riuscito
make: *** [build-release] Errore 2



If i try to build it without genesis, i get same errors.
brrmatteo
 
Posts: 3
Joined: Fri Nov 13, 2015 5:25 pm

Re: Build problem

Postby Clever Crypto » Tue Nov 24, 2015 2:36 pm

Edit src/CMakeLists.txt

You should find the line:

target_link_libraries(ConnectivityTool CryptoNoteCore Common Logging Crypto P2P Rpc Http Serialization System ${Boost_LIBRARIES})

and replace it with:

set(ConnectivityToolLibs CryptoNoteCore Common Logging Crypto P2P Rpc Http Serialization System ${Boost_LIBRARIES})
target_link_libraries(ConnectivityTool ${ConnectivityToolLibs} ${ConnectivityToolLibs})
Clever Crypto
 
Posts: 33
Joined: Tue May 26, 2015 12:25 pm

Re: Build problem

Postby pristine » Sun Dec 06, 2015 9:29 pm

boost errors are annoying did you try a different version of boost i noticed your using 1.59
i had better luck with 1.55 on ubuntu and 1.57 on windows
pristine
 
Posts: 2
Joined: Sun Dec 06, 2015 9:20 pm


Return to Reference Code & Forking

Who is online

Users browsing this forum: No registered users and 2 guests

cron