-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Followed the steps on the Unix build docs.
Output of running make command
Making all in src
make[1]: Entering directory '/home/user/SaveNodeCore-3.1/src'
make[2]: Entering directory '/home/user/SaveNodeCore-3.1/src'
CXX savenoded-savenoded.o
In file included from libzerocoin/Params.h:16:0,
from chainparams.h:17,
from main.h:18,
from savenoded.cpp:11:
libzerocoin/bignum.h:53: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:25:0,
from ./allocators.h:17,
from ./key.h:10,
from ./keystore.h:9,
from primitives/block.h:11,
from chain.h:11,
from main.h:17,
from savenoded.cpp:11:
/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 libzerocoin/Params.h:16:0,
from chainparams.h:17,
from main.h:18,
from savenoded.cpp:11:
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum()’:
libzerocoin/bignum.h:58:9: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^~~~~~~
libzerocoin/bignum.h:58:9: note: suggested alternative: ‘BN_print’
BN_init(this);
^~~~~~~
BN_print
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum(const string&)’:
libzerocoin/bignum.h:63:9: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^~~~~~~
libzerocoin/bignum.h:63:9: note: suggested alternative: ‘BN_print’
BN_init(this);
^~~~~~~
BN_print
libzerocoin/bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
libzerocoin/bignum.h:70:9: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^~~~~~~
libzerocoin/bignum.h:70:9: note: suggested alternative: ‘BN_print’
BN_init(this);
^~~~~~~
BN_print
libzerocoin/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))
^
libzerocoin/bignum.h:73:31: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
libzerocoin/bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’:
libzerocoin/bignum.h:80: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))
^
libzerocoin/bignum.h: In destructor ‘CBigNum::~CBigNum()’:
libzerocoin/bignum.h:87:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum(signed char)’:
libzerocoin/bignum.h:91: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); }
^~~~~~~
libzerocoin/bignum.h:91:35: note: suggested alternative: ‘BN_print’
CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum(short int)’:
libzerocoin/bignum.h:92:35: error: ‘BN_init’ was not declared in this scope
CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
libzerocoin/bignum.h:92:35: note: suggested alternative: ‘BN_print’
CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum(int)’:
libzerocoin/bignum.h:93:35: error: ‘BN_init’ was not declared in this scope
CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
libzerocoin/bignum.h:93:35: note: suggested alternative: ‘BN_print’
CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum(long int)’:
libzerocoin/bignum.h:94:35: error: ‘BN_init’ was not declared in this scope
CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
libzerocoin/bignum.h:94:35: note: suggested alternative: ‘BN_print’
CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
^~~~~~~
BN_print
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’:
libzerocoin/bignum.h:98:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned char n) { BN_init(this); setulong(n); }
^~~~~~~
libzerocoin/bignum.h:98:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned char n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’:
libzerocoin/bignum.h:99:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned short n) { BN_init(this); setulong(n); }
^~~~~~~
libzerocoin/bignum.h:99:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned short n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’:
libzerocoin/bignum.h:100:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned int n) { BN_init(this); setulong(n); }
^~~~~~~
libzerocoin/bignum.h:100:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned int n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int)’:
libzerocoin/bignum.h:101:35: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned long n) { BN_init(this); setulong(n); }
^~~~~~~
libzerocoin/bignum.h:101:35: note: suggested alternative: ‘BN_print’
CBigNum(unsigned long n) { BN_init(this); setulong(n); }
^~~~~~~
BN_print
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
libzerocoin/bignum.h:103:35: error: ‘BN_init’ was not declared in this scope
explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
^~~~~~~
libzerocoin/bignum.h:103:35: note: suggested alternative: ‘BN_print’
explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
^~~~~~~
BN_print
libzerocoin/bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector<unsigned char>&)’:
libzerocoin/bignum.h:107:9: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^~~~~~~
libzerocoin/bignum.h:107:9: note: suggested alternative: ‘BN_print’
BN_init(this);
^~~~~~~
BN_print
libzerocoin/bignum.h: In static member function ‘static CBigNum CBigNum::randBignum(const CBigNum&)’:
libzerocoin/bignum.h:118:39: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rand_range(BIGNUM*, const BIGNUM*)’
if(!BN_rand_range(&ret, &range)){
^
libzerocoin/bignum.h: In static member function ‘static CBigNum CBigNum::RandKBitBigum(uint32_t)’:
libzerocoin/bignum.h:130:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_rand(BIGNUM*, int, int, int)’
if(!BN_rand(&ret, k, -1, 0)){
^
libzerocoin/bignum.h: In member function ‘int CBigNum::bitSize() const’:
libzerocoin/bignum.h:141:33: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_num_bits(const BIGNUM*)’
return BN_num_bits(this);
^
libzerocoin/bignum.h: In member function ‘void CBigNum::setulong(long unsigned int)’:
libzerocoin/bignum.h:146: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))
^
libzerocoin/bignum.h: In member function ‘long unsigned int CBigNum::getulong() const’:
libzerocoin/bignum.h:152: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);
^
libzerocoin/bignum.h: In member function ‘unsigned int CBigNum::getuint() const’:
libzerocoin/bignum.h:157: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);
^
libzerocoin/bignum.h: In member function ‘int CBigNum::getint() const’:
libzerocoin/bignum.h:162: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);
^
libzerocoin/bignum.h:163: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 libzerocoin/Params.h:16:0,
from chainparams.h:17,
from main.h:18,
from savenoded.cpp:11:
libzerocoin/bignum.h: In member function ‘void CBigNum::setint64(int64_t)’:
libzerocoin/bignum.h:211: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);
^
libzerocoin/bignum.h: In member function ‘void CBigNum::setuint64(uint64_t)’:
libzerocoin/bignum.h:238: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);
^
libzerocoin/bignum.h: In member function ‘void CBigNum::setuint256(uint256)’:
libzerocoin/bignum.h:266: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);
^
libzerocoin/bignum.h: In member function ‘uint256 CBigNum::getuint256() const’:
libzerocoin/bignum.h:271: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);
^
libzerocoin/bignum.h:275: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]);
^
libzerocoin/bignum.h: In member function ‘void CBigNum::setvch(const std::vector<unsigned char>&)’:
libzerocoin/bignum.h:296: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);
^
libzerocoin/bignum.h: In member function ‘std::vector<unsigned char> CBigNum::getvch() const’:
libzerocoin/bignum.h:301: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);
^
libzerocoin/bignum.h:305: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]);
^
libzerocoin/bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(unsigned int)’:
libzerocoin/bignum.h:341: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);
^
libzerocoin/bignum.h:345: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);
^
libzerocoin/bignum.h:346: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));
^
libzerocoin/bignum.h:348: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 libzerocoin/bignum.h:11:0,
from libzerocoin/Params.h:16,
from chainparams.h:17,
from main.h:18,
from savenoded.cpp:11:
libzerocoin/bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const’:
libzerocoin/bignum.h:354: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 libzerocoin/Params.h:16:0,
from chainparams.h:17,
from main.h:18,
from savenoded.cpp:11:
libzerocoin/bignum.h:357: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);
^
libzerocoin/bignum.h:361: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));
^
libzerocoin/bignum.h:362: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);
^
libzerocoin/bignum.h:372: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 libzerocoin/Params.h:16:0,
from chainparams.h:17,
from main.h:18,
from savenoded.cpp:11:
libzerocoin/bignum.h: In member function ‘std::__cxx11::string CBigNum::ToString(int) const’:
libzerocoin/bignum.h:446: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);
^
libzerocoin/bignum.h:449: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)
^
libzerocoin/bignum.h:451: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)
^
libzerocoin/bignum.h:453: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))
^
libzerocoin/bignum.h:459: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))
^
libzerocoin/bignum.h: In member function ‘CBigNum CBigNum::pow(const CBigNum&) const’:
libzerocoin/bignum.h:506:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_exp(&ret, this, &e, pctx))
^
libzerocoin/bignum.h: In member function ‘CBigNum CBigNum::mul_mod(const CBigNum&, const CBigNum&) const’:
libzerocoin/bignum.h:519:49: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mod_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mod_mul(&ret, this, &b, &m, pctx))
^
libzerocoin/bignum.h: In member function ‘CBigNum CBigNum::pow_mod(const CBigNum&, const CBigNum&) const’:
libzerocoin/bignum.h:537:56: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mod_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mod_exp(&ret, &inv, &posE, &m, pctx))
^
libzerocoin/bignum.h:540:53: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_mod_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mod_exp(&ret, this, &e, &m, pctx))
^
libzerocoin/bignum.h: In member function ‘CBigNum CBigNum::inverse(const CBigNum&) const’:
libzerocoin/bignum.h:555:49: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘BIGNUM* BN_mod_inverse(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_mod_inverse(&ret, this, &m, pctx))
^
libzerocoin/bignum.h: In static member function ‘static CBigNum CBigNum::generatePrime(unsigned int, bool)’:
libzerocoin/bignum.h:568:81: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_generate_prime_ex(BIGNUM*, int, int, const BIGNUM*, const BIGNUM*, BN_GENCB*)’
if(!BN_generate_prime_ex(&ret, numBits, (safe == true), NULL, NULL, NULL))
^
libzerocoin/bignum.h: In member function ‘CBigNum CBigNum::gcd(const CBigNum&) const’:
libzerocoin/bignum.h:581:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_gcd(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_gcd(&ret, this, &b, pctx))
^
libzerocoin/bignum.h: In member function ‘bool CBigNum::isPrime(int) const’:
libzerocoin/bignum.h:594:61: warning: ‘int BN_is_prime(const BIGNUM*, int, void (*)(int, int, void*), BN_CTX*, void*)’ is deprecated [-Wdeprecated-declarations]
int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
^
In file included from /usr/include/openssl/e_os2.h:13:0,
from /usr/include/openssl/sha.h:13,
from ./hash.h:37,
from ./pubkey.h:9,
from ./script/script.h:12,
from ./primitives/transaction.h:11,
from primitives/block.h:10,
from chain.h:11,
from main.h:17,
from savenoded.cpp:11:
/usr/include/openssl/bn.h:332:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from libzerocoin/Params.h:16:0,
from chainparams.h:17,
from main.h:18,
from savenoded.cpp:11:
libzerocoin/bignum.h:594:61: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_prime(const BIGNUM*, int, void (*)(int, int, void*), BN_CTX*, void*)’
int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
^
libzerocoin/bignum.h: In member function ‘bool CBigNum::isOne() const’:
libzerocoin/bignum.h:602:30: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_is_one(const BIGNUM*)’
return BN_is_one(this);
^
libzerocoin/bignum.h: In member function ‘bool CBigNum::operator!() const’:
libzerocoin/bignum.h:609: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);
^
libzerocoin/bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’:
libzerocoin/bignum.h:614: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))
^
libzerocoin/bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&)’:
libzerocoin/bignum.h:628: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))
^
libzerocoin/bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int)’:
libzerocoin/bignum.h:647: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))
^
libzerocoin/bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int)’:
libzerocoin/bignum.h:658: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)
^
libzerocoin/bignum.h:664: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))
^
libzerocoin/bignum.h: In member function ‘CBigNum& CBigNum::operator++()’:
libzerocoin/bignum.h:673: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()))
^
libzerocoin/bignum.h: In member function ‘CBigNum& CBigNum::operator--()’:
libzerocoin/bignum.h:690: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()))
^
libzerocoin/bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&)’:
libzerocoin/bignum.h:718: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))
^
libzerocoin/bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&)’:
libzerocoin/bignum.h:726: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))
^
libzerocoin/bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
libzerocoin/bignum.h:734: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));
^
libzerocoin/bignum.h: In function ‘const CBigNum operator*(const CBigNum&, const CBigNum&)’:
libzerocoin/bignum.h:742: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))
^
libzerocoin/bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&)’:
libzerocoin/bignum.h:751: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))
^
libzerocoin/bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’:
libzerocoin/bignum.h:760:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_nnmod(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
if (!BN_nnmod(&r, &a, &b, pctx))
^
libzerocoin/bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’:
libzerocoin/bignum.h:768: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))
^
libzerocoin/bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&)’:
libzerocoin/bignum.h:780: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); }
^
libzerocoin/bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’:
libzerocoin/bignum.h:781: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); }
^
libzerocoin/bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&)’:
libzerocoin/bignum.h:782: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); }
^
libzerocoin/bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&)’:
libzerocoin/bignum.h:783: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); }
^
libzerocoin/bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&)’:
libzerocoin/bignum.h:784: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); }
^
libzerocoin/bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
libzerocoin/bignum.h:785: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); }
^
Makefile:7089: recipe for target 'savenoded-savenoded.o' failed
make[2]: *** [savenoded-savenoded.o] Error 1
make[2]: Leaving directory '/home/user/SaveNodeCore-3.1/src'
Makefile:7827: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/SaveNodeCore-3.1/src'
Makefile:611: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Metadata
Metadata
Assignees
Labels
No labels