Skip to content

compile error #122

@ROBERT-MCDOWELL

Description

@ROBERT-MCDOWELL

Fedora 31 64bits gcc-9.3.1

[root@node138 multichain]# make
Making all in src
make[1]: Entering directory '/home/src/multichain/src'
CXX multichain/multichaind-multichaind.o
In file included from ./wallet/crypter.h:10,
from ./wallet/wallet.h:13,
from ./wallet/wallettxs.h:11,
from ./community/community.h:8,
from multichain/multichaind.cpp:13:
./wallet/keystore.h: In member function ‘virtual bool CBasicKeyStore::GetKey(const CKeyID&, CKey&) const’:
./wallet/keystore.h:94:30: warning: implicitly-declared ‘CKey& CKey::operator=(const CKey&)’ is deprecated [-Wdeprecated-copy]
94 | keyOut = mi->second;
| ^~~~~~
In file included from ./structs/base58.h:19,
from ./utils/utilparse.h:7,
from ./filters/multichainfilter.h:10,
from ./core/main.h:25,
from multichain/multichaind.cpp:9:
./keys/key.h:60:5: note: because ‘CKey’ has user-provided ‘CKey::CKey(const CKey&)’
60 | CKey(const CKey& secret) : fValid(secret.fValid), fCompressed(secret.fCompressed)
| ^~~~
In file included from ./wallet/wallettxs.h:11,
from ./community/community.h:8,
from multichain/multichaind.cpp:13:
./wallet/wallet.h: In constructor ‘CMerkleTx::CMerkleTx(const CTransaction&)’:
./wallet/wallet.h:774:60: warning: implicitly-declared ‘CTransaction::CTransaction(const CTransaction&)’ is deprecated [-Wdeprecated-copy]
774 | CMerkleTx(const CTransaction& txIn) : CTransaction(txIn)
| ^
In file included from ./primitives/block.h:10,
from ./chain/chain.h:10,
from ./core/main.h:15,
from multichain/multichaind.cpp:9:
./primitives/transaction.h:229:19: note: because ‘CTransaction’ has user-provided ‘CTransaction& CTransaction::operator=(const CTransaction&)’
229 | CTransaction& operator=(const CTransaction& tx);
| ^~~~~~~~
In file included from ./wallet/wallettxs.h:11,
from ./community/community.h:8,
from multichain/multichaind.cpp:13:
./wallet/wallet.h: In copy constructor ‘CMerkleTx::CMerkleTx(const CMerkleTx&)’:
./wallet/wallet.h:755:7: warning: implicitly-declared ‘CTransaction::CTransaction(const CTransaction&)’ is deprecated [-Wdeprecated-copy]
755 | class CMerkleTx : public CTransaction
| ^~~~~~~~~
In file included from ./primitives/block.h:10,
from ./chain/chain.h:10,
from ./core/main.h:15,
from multichain/multichaind.cpp:9:
./primitives/transaction.h:229:19: note: because ‘CTransaction’ has user-provided ‘CTransaction& CTransaction::operator=(const CTransaction&)’
229 | CTransaction& operator=(const CTransaction& tx);
| ^~~~~~~~
In file included from ./wallet/wallettxs.h:11,
from ./community/community.h:8,
from multichain/multichaind.cpp:13:
./wallet/wallet.h: In constructor ‘CWalletTx::CWalletTx(const CWallet*, const CMerkleTx&)’:
./wallet/wallet.h:866:80: note: synthesized method ‘CMerkleTx::CMerkleTx(const CMerkleTx&)’ first required here
866 | CWalletTx(const CWallet* pwalletIn, const CMerkleTx& txIn) : CMerkleTx(txIn)
| ^
In file included from ./primitives/block.h:10,
from ./chain/chain.h:10,
from ./core/main.h:15,
from multichain/multichaind.cpp:9:
./primitives/transaction.h: In member function ‘CTxOut& CTxOut::operator=(const CTxOut&)’:
./primitives/transaction.h:107:7: warning: implicitly-declared ‘CScript& CScript::operator=(const CScript&)’ is deprecated [-Wdeprecated-copy]
107 | class CTxOut
| ^~~~~~
In file included from ./primitives/transaction.h:11,
from ./primitives/block.h:10,
from ./chain/chain.h:10,
from ./core/main.h:15,
from multichain/multichaind.cpp:9:
./script/script.h:376:5: note: because ‘CScript’ has user-provided ‘CScript::CScript(const CScript&)’
376 | CScript(const CScript& b) : std::vector(b.begin(), b.end()) { }
| ^~~~~~~
In file included from ./wallet/wallettxs.h:11,
from ./community/community.h:8,
from multichain/multichaind.cpp:13:
./wallet/wallet.h: In member function ‘mc_Coin& mc_Coin::operator=(const mc_Coin&)’:
./wallet/wallet.h:94:7: note: synthesized method ‘CTxOut& CTxOut::operator=(const CTxOut&)’ first required here
94 | class mc_Coin
| ^~~~~~~
In file included from ./wallet/wallettxs.h:11,
from ./community/community.h:8,
from multichain/multichaind.cpp:13:
./wallet/wallet.h: In constructor ‘COutput::COutput(const CWalletTx*, int, int, bool, const mc_Coin&)’:
./wallet/wallet.h:1227:82: note: synthesized method ‘mc_Coin& mc_Coin::operator=(const mc_Coin&)’ first required here
1227 | tx = txIn; i = iIn; nDepth = nDepthIn; fSpendable = fSpendableIn; coin = coinIn;
| ^~~~~~
CXX rpc/multichaind-rpclist.o
CXX chainparams/multichaind-buildgenesis.o
chainparams/buildgenesis.cpp: In member function ‘int mc_MultichainParams::Build(const unsigned char*, int)’:
chainparams/buildgenesis.cpp:156:114: warning: implicitly-declared ‘CScript& CScript::operator=(const CScript&)’ is deprecated [-Wdeprecated-copy]
156 | txNew.vin[0].scriptSig = CScript() << nBits << CScriptNum(4) << vector(ptr, ptr + size - 1);
| ^
In file included from ./primitives/transaction.h:11,
from ./primitives/block.h:10,
from ./chainparams/chainparams.h:12,
from ./multichain/multichain.h:11,
from chainparams/buildgenesis.cpp:4:
./script/script.h:376:5: note: because ‘CScript’ has user-provided ‘CScript::CScript(const CScript&)’
376 | CScript(const CScript& b) : std::vector(b.begin(), b.end()) { }
| ^~~~~~~
chainparams/buildgenesis.cpp:162:153: warning: implicitly-declared ‘CScript& CScript::operator=(const CScript&)’ is deprecated [-Wdeprecated-copy]
162 | txNew.vout[0].scriptPubKey = CScript() << OP_DUP << OP_HASH160 << vector(pubkey_hash, pubkey_hash + 20) << OP_EQUALVERIFY << OP_CHECKSIG;
| ^~~~~~~~~~~
In file included from ./primitives/transaction.h:11,
from ./primitives/block.h:10,
from ./chainparams/chainparams.h:12,
from ./multichain/multichain.h:11,
from chainparams/buildgenesis.cpp:4:
./script/script.h:376:5: note: because ‘CScript’ has user-provided ‘CScript::CScript(const CScript&)’
376 | CScript(const CScript& b) : std::vector(b.begin(), b.end()) { }
| ^~~~~~~
chainparams/buildgenesis.cpp:166:110: warning: implicitly-declared ‘CScript& CScript::operator=(const CScript&)’ is deprecated [-Wdeprecated-copy]
166 | txNew.vout[0].scriptPubKey = CScript() << vector(pubkey, pubkey + pubkey_size) << OP_CHECKSIG;
| ^~~~~~~~~~~
In file included from ./primitives/transaction.h:11,
from ./primitives/block.h:10,
from ./chainparams/chainparams.h:12,
from ./multichain/multichain.h:11,
from chainparams/buildgenesis.cpp:4:
./script/script.h:376:5: note: because ‘CScript’ has user-provided ‘CScript::CScript(const CScript&)’
376 | CScript(const CScript& b) : std::vector(b.begin(), b.end()) { }
| ^~~~~~~
chainparams/buildgenesis.cpp:210:48: warning: implicitly-declared ‘CScript& CScript::operator=(const CScript&)’ is deprecated [-Wdeprecated-copy]
210 | txNew.vout[1].scriptPubKey=CScript();
| ^
In file included from ./primitives/transaction.h:11,
from ./primitives/block.h:10,
from ./chainparams/chainparams.h:12,
from ./multichain/multichain.h:11,
from chainparams/buildgenesis.cpp:4:
./script/script.h:376:5: note: because ‘CScript’ has user-provided ‘CScript::CScript(const CScript&)’
376 | CScript(const CScript& b) : std::vector(b.begin(), b.end()) { }
| ^~~~~~~
CXX filters/multichaind-filtercallback.o
CXX filters/multichaind-watchdog.o
CXX json/multichaind-json_spirit_writer.o
CXX filters/multichaind-filter.o
In file included from filters/filter.cpp:9:
./v8/v8engine.h:10:10: fatal error: v8.h: No such file or directory
10 | #include <v8.h>
| ^~~~~~
compilation terminated.
make[1]: *** [Makefile:4880: filters/multichaind-filter.o] Error 1
make[1]: Leaving directory '/home/src/multichain/src'
make: *** [Makefile:560: all-recursive] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions