cannabiscoindev / cannabiscoin420

CannabisCoin X11 Wallet
http://CannabisCoin.net
MIT License
53 stars 38 forks source link

Please help - "make" errors - Ubuntu 18.04 #17

Closed shefsam1 closed 6 years ago

shefsam1 commented 6 years ago
sudo make
Making all in src
make[1]: Entering directory '/home/shefsam/Crypto/cannabiscoin420-0.13.0.0/src'
make[2]: Entering directory '/home/shefsam/Crypto/cannabiscoin420-0.13.0.0/src'
make[3]: Entering directory '/home/shefsam/Crypto/cannabiscoin420-0.13.0.0/src/secp256k1'
make[3]: Leaving directory '/home/shefsam/Crypto/cannabiscoin420-0.13.0.0/src/secp256k1'
  CXX      libbitcoin_server_a-pow.o
In file included from ./crypto/common.h:9:0,
                 from ./script/script.h:9,
                 from ./primitives/transaction.h:10,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
../src/config/bitcoin-config.h:21:0: warning: "CLIENT_VERSION_MINOR" redefined
 #define CLIENT_VERSION_MINOR 13

In file included from ./version.h:7:0,
                 from ./serialize.h:23,
                 from ./amount.h:9,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
./clientversion.h:10:0: note: this is the location of the previous definition
 #define CLIENT_VERSION_MINOR       8

In file included from ./crypto/common.h:9:0,
                 from ./script/script.h:9,
                 from ./primitives/transaction.h:10,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
../src/config/bitcoin-config.h:24:0: warning: "CLIENT_VERSION_REVISION" redefined
 #define CLIENT_VERSION_REVISION 0

In file included from ./version.h:7:0,
                 from ./serialize.h:23,
                 from ./amount.h:9,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
./clientversion.h:11:0: note: this is the location of the previous definition
 #define CLIENT_VERSION_REVISION    9

In file included from bignum.h:12:0,
                 from pow.cpp:13:
util.h:169:0: warning: "strprintf" redefined
 #define strprintf(format, ...) real_strprintf(format, 0, __VA_ARGS__)

In file included from chain.h:12:0,
                 from pow.cpp:9:
tinyformat.h:1011:0: note: this is the location of the previous definition
 #define strprintf tfm::format

In file included from bignum.h:12:0,
                 from pow.cpp:13:
util.h:245:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
     return strprintf("%"PRI64d, n);
                      ^
In file included from pow.cpp:8:0:
arith_uint256.h:25:7: error: redefinition of ‘class base_uint<BITS>’
 class base_uint
       ^~~~~~~~~
In file included from consensus/params.h:9:0,
                 from pow.h:9,
                 from pow.cpp:6:
./uint256.h:27:7: note: previous definition of ‘class base_uint<BITS>’
 class base_uint
       ^~~~~~~~~
In file included from pow.cpp:8:0:
arith_uint256.h: In constructor ‘arith_uint256::arith_uint256(uint64_t)’:
arith_uint256.h:257:49: error: no matching function for call to ‘base_uint<256>::base_uint(uint64_t&)’
     arith_uint256(uint64_t b) : base_uint<256>(b) {}
                                                 ^
In file included from consensus/params.h:9:0,
                 from pow.h:9,
                 from pow.cpp:6:
./uint256.h:27:7: note: candidate: base_uint<256>::base_uint()
 class base_uint
       ^~~~~~~~~
./uint256.h:27:7: note:   candidate expects 0 arguments, 1 provided
./uint256.h:27:7: note: candidate: constexpr base_uint<256>::base_uint(const base_uint<256>&)
./uint256.h:27:7: note:   no known conversion for argument 1 from ‘uint64_t {aka long unsigned int}’ to ‘const base_uint<256>&’
./uint256.h:27:7: note: candidate: constexpr base_uint<256>::base_uint(base_uint<256>&&)
./uint256.h:27:7: note:   no known conversion for argument 1 from ‘uint64_t {aka long unsigned int}’ to ‘base_uint<256>&&’
In file included from pow.cpp:8:0:
arith_uint256.h: In constructor ‘arith_uint256::arith_uint256(const string&)’:
arith_uint256.h:258:72: error: no matching function for call to ‘base_uint<256>::base_uint(const string&)’
     explicit arith_uint256(const std::string& str) : base_uint<256>(str) {}
                                                                        ^
In file included from consensus/params.h:9:0,
                 from pow.h:9,
                 from pow.cpp:6:
./uint256.h:27:7: note: candidate: base_uint<256>::base_uint()
 class base_uint
       ^~~~~~~~~
./uint256.h:27:7: note:   candidate expects 0 arguments, 1 provided
./uint256.h:27:7: note: candidate: constexpr base_uint<256>::base_uint(const base_uint<256>&)
./uint256.h:27:7: note:   no known conversion for argument 1 from ‘const string {aka const std::__cxx11::basic_string<char>}’ to ‘const base_uint<256>&’
./uint256.h:27:7: note: candidate: constexpr base_uint<256>::base_uint(base_uint<256>&&)
./uint256.h:27:7: note:   no known conversion for argument 1 from ‘const string {aka const std::__cxx11::basic_string<char>}’ to ‘base_uint<256>&&’
In file included from ./primitives/transaction.h:9:0,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
./amount.h: At global scope:
./amount.h:64:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
./amount.h: In member function ‘void CFeeRate::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./amount.h:68:9: note: in expansion of macro ‘READWRITE’
         READWRITE(nSatoshisPerK);
         ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘Serialize’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./amount.h:68:9: note: in expansion of macro ‘READWRITE’
         READWRITE(nSatoshisPerK);
         ^~~~~~~~~
In file included from primitives/block.h:9:0,
                 from chain.h:10,
                 from pow.cpp:9:
./primitives/transaction.h: At global scope:
./primitives/transaction.h:28:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
./primitives/transaction.h: In member function ‘void COutPoint::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:32:9: note: in expansion of macro ‘READWRITE’
         READWRITE(hash);
         ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘Serialize’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:32:9: note: in expansion of macro ‘READWRITE’
         READWRITE(hash);
         ^~~~~~~~~
In file included from primitives/block.h:9:0,
                 from chain.h:10,
                 from pow.cpp:9:
./primitives/transaction.h: In member function ‘void COutPoint::SetNull()’:
./primitives/transaction.h:36:27: error: ‘class uint256’ has no member named ‘SetNull’
     void SetNull() { hash.SetNull(); n = (uint32_t) -1; }
                           ^~~~~~~
./primitives/transaction.h: In member function ‘bool COutPoint::IsNull() const’:
./primitives/transaction.h:37:40: error: ‘const class uint256’ has no member named ‘IsNull’
     bool IsNull() const { return (hash.IsNull() && n == (uint32_t) -1); }
                                        ^~~~~~
./primitives/transaction.h: In function ‘bool operator<(const COutPoint&, const COutPoint&)’:
./primitives/transaction.h:41:26: error: ‘const class uint256’ has no member named ‘Compare’
         int cmp = a.hash.Compare(b.hash);
                          ^~~~~~~
./primitives/transaction.h: At global scope:
./primitives/transaction.h:104:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
./primitives/transaction.h: In member function ‘void CTxIn::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:108:9: note: in expansion of macro ‘READWRITE’
         READWRITE(prevout);
         ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘Serialize’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:108:9: note: in expansion of macro ‘READWRITE’
         READWRITE(prevout);
         ^~~~~~~~~
In file included from primitives/block.h:9:0,
                 from chain.h:10,
                 from pow.cpp:9:
./primitives/transaction.h: At global scope:
./primitives/transaction.h:144:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
./primitives/transaction.h: In member function ‘void CTxOut::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:148:9: note: in expansion of macro ‘READWRITE’
         READWRITE(nValue);
         ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘Serialize’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:148:9: note: in expansion of macro ‘READWRITE’
         READWRITE(nValue);
         ^~~~~~~~~
In file included from primitives/block.h:9:0,
                 from chain.h:10,
                 from pow.cpp:9:
./primitives/transaction.h: At global scope:
./primitives/transaction.h:221:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
./primitives/transaction.h: In member function ‘void CTxInWitness::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:226:9: note: in expansion of macro ‘READWRITE’
         READWRITE(scriptWitness.stack);
         ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘Serialize’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:226:9: note: in expansion of macro ‘READWRITE’
         READWRITE(scriptWitness.stack);
         ^~~~~~~~~
In file included from primitives/block.h:9:0,
                 from chain.h:10,
                 from pow.cpp:9:
./primitives/transaction.h: At global scope:
./primitives/transaction.h:240:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
./primitives/transaction.h: In member function ‘void CTxWitness::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:263:13: note: in expansion of macro ‘READWRITE’
             READWRITE(vtxinwit[n]);
             ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘Serialize’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:263:13: note: in expansion of macro ‘READWRITE’
             READWRITE(vtxinwit[n]);
             ^~~~~~~~~
./primitives/transaction.h: In function ‘void SerializeTransaction(TxType&, Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:293:5: note: in expansion of macro ‘READWRITE’
     READWRITE(*const_cast<int32_t*>(&tx.nVersion));
     ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘nVersion’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
./primitives/transaction.h:293:5: note: in expansion of macro ‘READWRITE’
     READWRITE(*const_cast<int32_t*>(&tx.nVersion));
     ^~~~~~~~~
In file included from primitives/block.h:9:0,
                 from chain.h:10,
                 from pow.cpp:9:
./primitives/transaction.h: At global scope:
./primitives/transaction.h:385:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
./primitives/transaction.h:449:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from chain.h:10:0,
                 from pow.cpp:9:
primitives/block.h:36:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
primitives/block.h: In member function ‘void CBlockHeader::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
primitives/block.h:40:9: note: in expansion of macro ‘READWRITE’
         READWRITE(this->nVersion);
         ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘nVersion’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
primitives/block.h:40:9: note: in expansion of macro ‘READWRITE’
         READWRITE(this->nVersion);
         ^~~~~~~~~
In file included from chain.h:10:0,
                 from pow.cpp:9:
primitives/block.h: In member function ‘void CBlockHeader::SetNull()’:
primitives/block.h:51:23: error: ‘class uint256’ has no member named ‘SetNull’
         hashPrevBlock.SetNull();
                       ^~~~~~~
primitives/block.h:52:24: error: ‘class uint256’ has no member named ‘SetNull’
         hashMerkleRoot.SetNull();
                        ^~~~~~~
primitives/block.h: At global scope:
primitives/block.h:92:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
primitives/block.h: In member function ‘void CBlock::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
primitives/block.h:96:9: note: in expansion of macro ‘READWRITE’
         READWRITE(*(CBlockHeader*)this);
         ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘nVersion’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
primitives/block.h:96:9: note: in expansion of macro ‘READWRITE’
         READWRITE(*(CBlockHeader*)this);
         ^~~~~~~~~
In file included from chain.h:10:0,
                 from pow.cpp:9:
primitives/block.h: At global scope:
primitives/block.h:137:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
primitives/block.h: In member function ‘void CBlockLocator::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
primitives/block.h:142:13: note: in expansion of macro ‘READWRITE’
             READWRITE(nVersion);
             ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘Serialize’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
primitives/block.h:142:13: note: in expansion of macro ‘READWRITE’
             READWRITE(nVersion);
             ^~~~~~~~~
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
primitives/block.h:143:9: note: in expansion of macro ‘READWRITE’
         READWRITE(vHave);
         ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘Serialize’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
primitives/block.h:143:9: note: in expansion of macro ‘READWRITE’
         READWRITE(vHave);
         ^~~~~~~~~
In file included from pow.cpp:9:0:
chain.h: At global scope:
chain.h:28:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
chain.h: In member function ‘void CBlockFileInfo::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
chain.h:32:9: note: in expansion of macro ‘READWRITE’
         READWRITE(VARINT(nBlocks));
         ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘nSize’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
chain.h:32:9: note: in expansion of macro ‘READWRITE’
         READWRITE(VARINT(nBlocks));
         ^~~~~~~~~
In file included from pow.cpp:9:0:
chain.h: At global scope:
chain.h:76:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
chain.h: In member function ‘void CDiskBlockPos::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
chain.h:80:9: note: in expansion of macro ‘READWRITE’
         READWRITE(VARINT(nFile));
         ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘Serialize’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
chain.h:80:9: note: in expansion of macro ‘READWRITE’
         READWRITE(VARINT(nFile));
         ^~~~~~~~~
In file included from pow.cpp:9:0:
chain.h: At global scope:
chain.h:357:5: error: ‘ADD_SERIALIZE_METHODS’ does not name a type
     ADD_SERIALIZE_METHODS;
     ^~~~~~~~~~~~~~~~~~~~~
In file included from ./amount.h:9:0,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
chain.h: In member function ‘void CDiskBlockIndex::SerializationOp(Stream&, Operation, int, int)’:
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
chain.h:362:13: note: in expansion of macro ‘READWRITE’
             READWRITE(VARINT(nVersion));
             ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘nVersion’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
chain.h:362:13: note: in expansion of macro ‘READWRITE’
             READWRITE(VARINT(nVersion));
             ^~~~~~~~~
./serialize.h:93:30: error: ‘nSerSize’ was not declared in this scope
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
chain.h:364:9: note: in expansion of macro ‘READWRITE’
         READWRITE(VARINT(nHeight));
         ^~~~~~~~~
./serialize.h:93:30: note: suggested alternative: ‘nVersion’
 #define READWRITE(obj)      (nSerSize += ::SerReadWrite(s, (obj), nType, nVersion, ser_action))
                              ^
chain.h:364:9: note: in expansion of macro ‘READWRITE’
         READWRITE(VARINT(nHeight));
         ^~~~~~~~~
In file included from pow.cpp:10:0:
chainparams.h: At global scope:
chainparams.h:57:27: error: ‘MessageStartChars’ in ‘class CMessageHeader’ does not name a type
     const CMessageHeader::MessageStartChars& MessageStart() const { return pchMessageStart; }
                           ^~~~~~~~~~~~~~~~~
chainparams.h:82:21: error: ‘MessageStartChars’ in ‘class CMessageHeader’ does not name a type
     CMessageHeader::MessageStartChars pchMessageStart;
                     ^~~~~~~~~~~~~~~~~
In file included from bignum.h:12:0,
                 from pow.cpp:13:
util.h:35:20: error: conflicting declaration ‘const int64 COIN’
 static const int64 COIN = 100000000;
                    ^~~~
In file included from ./primitives/transaction.h:9:0,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
./amount.h:17:22: note: previous declaration as ‘const CAmount COIN’
 static const CAmount COIN = 100000000;
                      ^~~~
In file included from bignum.h:12:0,
                 from pow.cpp:13:
util.h:36:20: error: conflicting declaration ‘const int64 CENT’
 static const int64 CENT = 1000000;
                    ^~~~
In file included from ./primitives/transaction.h:9:0,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
./amount.h:18:22: note: previous declaration as ‘const CAmount CENT’
 static const CAmount CENT = 1000000;
                      ^~~~
In file included from pow.cpp:13:0:
bignum.h:51:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}’
 class CBigNum : public BIGNUM
                        ^~~~~~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from ./allocators.h:12,
                 from ./serialize.h:22,
                 from ./amount.h:9,
                 from ./primitives/transaction.h:9,
                 from primitives/block.h:9,
                 from chain.h:10,
                 from pow.cpp:9:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM {aka struct bignum_st}’
 typedef struct bignum_st BIGNUM;
                ^~~~~~~~~
In file included from pow.cpp:13:0:
bignum.h: In constructor ‘CBigNum::CBigNum()’:
bignum.h:56:9: error: ‘BN_init’ was not declared in this scope
         BN_init(this);
         ^~~~~~~
bignum.h:56:9: note: suggested alternative: ‘BN_print’
         BN_init(this);
         ^~~~~~~
         BN_print
bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
bignum.h:61:9: error: ‘BN_init’ was not declared in this scope
         BN_init(this);
         ^~~~~~~
bignum.h:61:9: note: suggested alternative: ‘BN_print’
         BN_init(this);
         ^~~~~~~
         BN_print
bignum.h:62:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
         if (!BN_copy(this, &b))
                              ^
bignum.h:64:31: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
             BN_clear_free(this);
                               ^
bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’:
bignum.h:71:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
         if (!BN_copy(this, &b))
                              ^
bignum.h: In destructor ‘CBigNum::~CBigNum()’:
bignum.h:78:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
         BN_clear_free(this);
                           ^
bignum.h: In constructor ‘CBigNum::CBigNum(signed char)’:
bignum.h:82:35: error: ‘BN_init’ was not declared in this scope
     CBigNum(signed char n)      { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                   ^~~~~~~
bignum.h:82:35: note: suggested alternative: ‘BN_print’
     CBigNum(signed char n)      { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                   ^~~~~~~
                                   BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(short int)’:
bignum.h:83:35: error: ‘BN_init’ was not declared in this scope
     CBigNum(short n)            { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                   ^~~~~~~
bignum.h:83:35: note: suggested alternative: ‘BN_print’
     CBigNum(short n)            { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                   ^~~~~~~
                                   BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(int)’:
bignum.h:84:35: error: ‘BN_init’ was not declared in this scope
     CBigNum(int n)              { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                   ^~~~~~~
bignum.h:84:35: note: suggested alternative: ‘BN_print’
     CBigNum(int n)              { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                   ^~~~~~~
                                   BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(long int)’:
bignum.h:85:35: error: ‘BN_init’ was not declared in this scope
     CBigNum(long n)             { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                   ^~~~~~~
bignum.h:85:35: note: suggested alternative: ‘BN_print’
     CBigNum(long n)             { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
                                   ^~~~~~~
                                   BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(int64)’:
bignum.h:86:35: error: ‘BN_init’ was not declared in this scope
     CBigNum(int64 n)            { BN_init(this); setint64(n); }
                                   ^~~~~~~
bignum.h:86:35: note: suggested alternative: ‘BN_print’
     CBigNum(int64 n)            { BN_init(this); setint64(n); }
                                   ^~~~~~~
                                   BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’:
bignum.h:87:35: error: ‘BN_init’ was not declared in this scope
     CBigNum(unsigned char n)    { BN_init(this); setulong(n); }
                                   ^~~~~~~
bignum.h:87:35: note: suggested alternative: ‘BN_print’
     CBigNum(unsigned char n)    { BN_init(this); setulong(n); }
                                   ^~~~~~~
                                   BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’:
bignum.h:88:35: error: ‘BN_init’ was not declared in this scope
     CBigNum(unsigned short n)   { BN_init(this); setulong(n); }
                                   ^~~~~~~
bignum.h:88:35: note: suggested alternative: ‘BN_print’
     CBigNum(unsigned short n)   { BN_init(this); setulong(n); }
                                   ^~~~~~~
                                   BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’:
bignum.h:89:35: error: ‘BN_init’ was not declared in this scope
     CBigNum(unsigned int n)     { BN_init(this); setulong(n); }
                                   ^~~~~~~
bignum.h:89:35: note: suggested alternative: ‘BN_print’
     CBigNum(unsigned int n)     { BN_init(this); setulong(n); }
                                   ^~~~~~~
                                   BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int)’:
bignum.h:90:35: error: ‘BN_init’ was not declared in this scope
     CBigNum(unsigned long n)    { BN_init(this); setulong(n); }
                                   ^~~~~~~
bignum.h:90:35: note: suggested alternative: ‘BN_print’
     CBigNum(unsigned long n)    { BN_init(this); setulong(n); }
                                   ^~~~~~~
                                   BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(uint64)’:
bignum.h:91:35: error: ‘BN_init’ was not declared in this scope
     CBigNum(uint64 n)           { BN_init(this); setuint64(n); }
                                   ^~~~~~~
bignum.h:91:35: note: suggested alternative: ‘BN_print’
     CBigNum(uint64 n)           { BN_init(this); setuint64(n); }
                                   ^~~~~~~
                                   BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
bignum.h:92:35: error: ‘BN_init’ was not declared in this scope
     explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
                                   ^~~~~~~
bignum.h:92:35: note: suggested alternative: ‘BN_print’
     explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
                                   ^~~~~~~
                                   BN_print
bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector<unsigned char>&)’:
bignum.h:96:9: error: ‘BN_init’ was not declared in this scope
         BN_init(this);
         ^~~~~~~
bignum.h:96:9: note: suggested alternative: ‘BN_print’
         BN_init(this);
         ^~~~~~~
         BN_print
bignum.h: In member function ‘void CBigNum::setulong(long unsigned int)’:
bignum.h:102:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
         if (!BN_set_word(this, n))
                                 ^
bignum.h: In member function ‘long unsigned int CBigNum::getulong() const’:
bignum.h:108:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
         return BN_get_word(this);
                                ^
bignum.h: In member function ‘unsigned int CBigNum::getuint() const’:
bignum.h:113:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
         return BN_get_word(this);
                                ^
bignum.h: In member function ‘int CBigNum::getint() const’:
bignum.h:118:43: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
         unsigned long n = BN_get_word(this);
                                           ^
bignum.h:119:33: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
         if (!BN_is_negative(this))
                                 ^
In file included from pow.cpp:13:0:
bignum.h: In member function ‘void CBigNum::setint64(int64)’:
bignum.h:167:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
         BN_mpi2bn(pch, p - pch, this);
                                     ^
bignum.h: In member function ‘void CBigNum::setuint64(uint64)’:
bignum.h:194:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
         BN_mpi2bn(pch, p - pch, this);
                                     ^
bignum.h: In member function ‘void CBigNum::setuint256(uint256)’:
bignum.h:222:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
         BN_mpi2bn(pch, p - pch, this);
                                     ^
bignum.h: In member function ‘uint256 CBigNum::getuint256() const’:
bignum.h:227:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
         unsigned int nSize = BN_bn2mpi(this, NULL);
                                                  ^
bignum.h:231:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
         BN_bn2mpi(this, &vch[0]);
                                ^
bignum.h: In member function ‘void CBigNum::setvch(const std::vector<unsigned char>&)’:
bignum.h:252:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
         BN_mpi2bn(&vch2[0], vch2.size(), this);
                                              ^
bignum.h: In member function ‘std::vector<unsigned char> CBigNum::getvch() const’:
bignum.h:257:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
         unsigned int nSize = BN_bn2mpi(this, NULL);
                                                  ^
bignum.h:261:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
         BN_bn2mpi(this, &vch[0]);
                                ^
bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(unsigned int)’:
bignum.h:297:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
             BN_set_word(this, nWord);
                                    ^
bignum.h:301:36: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, long unsigned int)’
             BN_set_word(this, nWord);
                                    ^
bignum.h:302:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
             BN_lshift(this, this, 8*(nSize-3));
                                              ^
bignum.h:304:40: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)’
         BN_set_negative(this, fNegative);
                                        ^
In file included from bignum.h:10:0,
                 from pow.cpp:13:
bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const’:
bignum.h:310:30: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_num_bits(const BIGNUM*)’
         unsigned int nSize = BN_num_bytes(this);
                              ^
In file included from pow.cpp:13:0:
bignum.h:313:40: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
             nCompact = BN_get_word(this) << 8*(3-nSize);
                                        ^
bignum.h:317:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)’
             BN_rshift(&bn, this, 8*(nSize-3));
                                             ^
bignum.h:318:39: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM*)’
             nCompact = BN_get_word(&bn);
                                       ^
bignum.h:328:41: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
         nCompact |= (BN_is_negative(this) ? 0x00800000 : 0);
                                         ^
In file included from pow.cpp:13:0:
bignum.h: In member function ‘std::__cxx11::string CBigNum::ToString(int) const’:
bignum.h:369:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_set_negative(BIGNUM*, int)’
         BN_set_negative(&bn, false);
                                   ^
bignum.h:372:29: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
         if (BN_cmp(&bn, &bn0) == 0)
                             ^
bignum.h:374:32: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
         while (BN_cmp(&bn, &bn0) > 0)
                                ^
bignum.h:376:54: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
             if (!BN_div(&dv, &rem, &bn, &bnBase, pctx))
                                                      ^
bignum.h:382:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
         if (BN_is_negative(this))
                                ^
bignum.h: In member function ‘bool CBigNum::operator!() const’:
bignum.h:415:31: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_zero(const BIGNUM*)’
         return BN_is_zero(this);
                               ^
bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’:
bignum.h:420:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
         if (!BN_add(this, this, &b))
                                   ^
bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&)’:
bignum.h:434:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
         if (!BN_mul(this, this, &b, pctx))
                                         ^
bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int)’:
bignum.h:453:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
         if (!BN_lshift(this, this, shift))
                                         ^
bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int)’:
bignum.h:464:28: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
         if (BN_cmp(&a, this) > 0)
                            ^
bignum.h:470:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)’
         if (!BN_rshift(this, this, shift))
                                         ^
bignum.h: In member function ‘CBigNum& CBigNum::operator++()’:
bignum.h:479:47: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
         if (!BN_add(this, this, BN_value_one()))
                                               ^
bignum.h: In member function ‘CBigNum& CBigNum::operator--()’:
bignum.h:496:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
         if (!BN_sub(&r, this, BN_value_one()))
                                             ^
bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&)’:
bignum.h:521:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
     if (!BN_add(&r, &a, &b))
                           ^
bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&)’:
bignum.h:529:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
     if (!BN_sub(&r, &a, &b))
                           ^
bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
bignum.h:537:43: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM*)’
     BN_set_negative(&r, !BN_is_negative(&r));
                                           ^
bignum.h: In function ‘const CBigNum operator*(const CBigNum&, const CBigNum&)’:
bignum.h:545:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
     if (!BN_mul(&r, &a, &b, pctx))
                                 ^
bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&)’:
bignum.h:554:39: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
     if (!BN_div(&r, NULL, &a, &b, pctx))
                                       ^
In file included from bignum.h:10:0,
                 from pow.cpp:13:
bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’:
bignum.h:563:10: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘2’ to ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
     if (!BN_mod(&r, &a, &b, pctx))
          ^
In file included from pow.cpp:13:0:
bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’:
bignum.h:571:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
     if (!BN_lshift(&r, &a, shift))
                                 ^
bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&)’:
bignum.h:583:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
 inline bool operator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); }
                                                                                   ^
bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’:
bignum.h:584:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
 inline bool operator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); }
                                                                                   ^
bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&)’:
bignum.h:585:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
 inline bool operator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); }
                                                                                   ^
bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&)’:
bignum.h:586:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
 inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); }
                                                                                   ^
bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&)’:
bignum.h:587:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
 inline bool operator<(const CBigNum& a, const CBigNum& b)  { return (BN_cmp(&a, &b) < 0); }
                                                                                   ^
bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
bignum.h:588:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
 inline bool operator>(const CBigNum& a, const CBigNum& b)  { return (BN_cmp(&a, &b) > 0); }
                                                                                   ^
pow.cpp: In function ‘unsigned int CalculateNextWorkRequired(const CBlockIndex*, int64_t, const Consensus::Params&)’:
pow.cpp:124:11: error: no match for ‘operator*=’ (operand types are ‘arith_uint256’ and ‘int64_t {aka long int}’)
     bnNew *= nActualTimespan;
     ~~~~~~^~~~~~~~~~~~~~~~~~
pow.cpp:125:11: error: no match for ‘operator/=’ (operand types are ‘arith_uint256’ and ‘const int64_t {aka const long int}’)
     bnNew /= params.nPowTargetTimespan;
     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:5660: recipe for target 'libbitcoin_server_a-pow.o' failed
make[2]: *** [libbitcoin_server_a-pow.o] Error 1
make[2]: Leaving directory '/home/shefsam/Crypto/cannabiscoin420-0.13.0.0/src'
Makefile:8864: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/shefsam/Crypto/cannabiscoin420-0.13.0.0/src'
Makefile:684: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Bushstar commented 6 years ago

Use the dependencies provided in the depends folder and do not build with system libs.

git clean -fdx
cd depends/
make HOST=x86_64-pc-linux-gnu
cd ..
./autogen.sh
./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu 
make
shefsam1 commented 6 years ago

That seems to have worked, but where do I find the executible? It looks like one was not created.

On Thu, Sep 27, 2018 at 1:26 AM Peter Bushnell notifications@github.com wrote:

Use the dependencies provided in the depends folder and do not build with system libs.

git clean -fdx cd depends/ make HOST=x86_64-pc-linux-gnu cd .. ./autogen.sh ./configure --prefix=pwd/depends/x86_64-pc-linux-gnu make

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cannabiscoindev/cannabiscoin420/issues/17#issuecomment-424963261, or mute the thread https://github.com/notifications/unsubscribe-auth/AVHU6w2lvcUrZIslAW3ipSQ6fnZcIPPGks5ufGGcgaJpZM4W7he1 .

Bushstar commented 6 years ago

cannabiscoind, cannabiscoin-cli and cannabiscoin-tx should be in the src folder and cannabiscoin-qt should be in the src/qt folder.

If nothing is created please post the end of the make log here.

shefsam1 commented 6 years ago

Thanks! Core is up and running.

Where can I find and where/how do I install the bootstrap/.dat?

On Thu, Sep 27, 2018 at 9:51 AM Peter Bushnell notifications@github.com wrote:

cannabiscoind, cannabiscoin-cli and cannabiscoin-tx should be in the src folder and cannabiscoin-qt should be in the src/qt folder.

If nothing is created please post the end of the make log here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cannabiscoindev/cannabiscoin420/issues/17#issuecomment-425100353, or mute the thread https://github.com/notifications/unsubscribe-auth/AVHU6_3gWBo6y_1O1qqrWIKOu4z17K3yks5ufNfEgaJpZM4W7he1 .

Bushstar commented 6 years ago

There's one on the main website, I'm not familiar with it specifically. Typically you copy the contents to the coins data directory in your profile.

http://cannabiscoin.net/