Post
Topic
Board Announcements (Altcoins)
Re: [ANN] [CHC] Chaincoin - Network Upgrade 16.1 - SegWit Activation in Progress
by
pazor_true
on 13/07/2018, 11:33:28 UTC

i am trying to compile chaincoin V16.1 on my raspberry pi 2 (debian Cool and got this error

-----
  CXX      libbitcoin_wallet_a-privatesend-client.o
privatesend-client.cpp: In member function ‘void CPrivateSendClient::ProcessMessage(CNode*, const string&, CDataStream&, CConnman*)’:
privatesend-client.cpp:57:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(dsq.nInputCount < 0 || dsq.nInputCount > PRIVATESEND_ENTRY_MAX_SIZE) return;
                                                   ^
privatesend-client.cpp: In member function ‘bool CPrivateSendClient::PrepareDenominate(int, int, std::string&, std::vector&, std::vector&)’:
privatesend-client.cpp:1172:120: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (CPrivateSend::GetDenominations(vecTxOutRet) != nSessionDenom || (nSessionInputCount != 0 && vecTxOutRet.size() != nSessionInputCount)) {
                                                                                                                        ^
privatesend-client.cpp: In member function ‘bool CPrivateSendClient::MakeCollateralAmounts(const CompactTallyItem&, bool, CConnman*)’:
privatesend-client.cpp:1226:15: error: no matching function for call to ‘CWalletTx::CWalletTx()’
     CWalletTx wtx;
               ^
privatesend-client.cpp:1226:15: note: candidates are:
In file included from ./privatesend-client.h:10:0,
                 from privatesend-client.cpp:4:
./wallet/wallet.h:379:5: note: CWalletTx::CWalletTx(const CWallet*, CTransactionRef)
     CWalletTx(const CWallet* pwalletIn, CTransactionRef arg) : CMerkleTx(std::move(arg))
     ^
./wallet/wallet.h:379:5: note:   candidate expects 2 arguments, 0 provided
./wallet/wallet.h:298:7: note: CWalletTx::CWalletTx(const CWalletTx&)
 class CWalletTx : public CMerkleTx
./wallet/wallet.h:298:7: note:   candidate expects 1 argument, 0 provided
./wallet/wallet.h:298:7: note: CWalletTx::CWalletTx(CWalletTx&&)
./wallet/wallet.h:298:7: note:   candidate expects 1 argument, 0 provided
privatesend-client.cpp: In member function ‘bool CPrivateSendClient::CreateDenominated(const CompactTallyItem&, bool, CConnman*)’:
privatesend-client.cpp:1393:15: error: no matching function for call to ‘CWalletTx::CWalletTx()’
     CWalletTx wtx;
               ^
privatesend-client.cpp:1393:15: note: candidates are:
In file included from ./privatesend-client.h:10:0,
                 from privatesend-client.cpp:4:
./wallet/wallet.h:379:5: note: CWalletTx::CWalletTx(const CWallet*, CTransactionRef)
     CWalletTx(const CWallet* pwalletIn, CTransactionRef arg) : CMerkleTx(std::move(arg))
./wallet/wallet.h:379:5: note:   candidate expects 2 arguments, 0 provided
./wallet/wallet.h:298:7: note: CWalletTx::CWalletTx(const CWalletTx&)
 class CWalletTx : public CMerkleTx
       ^
./wallet/wallet.h:298:7: note:   candidate expects 1 argument, 0 provided
./wallet/wallet.h:298:7: note: CWalletTx::CWalletTx(CWalletTx&&)
./wallet/wallet.h:298:7: note:   candidate expects 1 argument, 0 provided
Makefile:7757: recipe for target 'libbitcoin_wallet_a-privatesend-client.o' failed
make[2]: *** [libbitcoin_wallet_a-privatesend-client.o] Error 1
make[2]: Leaving directory '/opt/zzz_coins/chaincoin/src'
Makefile:11120: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/opt/zzz_coins/chaincoin/src'
Makefile:736: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

-----

any idea how to solve ?