Open hutber opened 6 years ago
Hey @hutber, you need to build against qt5 i think. You'll also need to install the SVG library libqt5svg5-dev
Ha and I'm back!!! A little bit later then expected but indeed the SVG package did the trick to get SVG working however these seems to be a new error:
Thank you for the reply too!
cd /mnt/users/Crypto/2018/AudioCoin/src/leveldb && CC=gcc CXX=g++ make OPT="-pipe -fstack-protector-all --param ssp-buffer-size=1 -O2" libleveldb.a libmemenv.a
make[1]: Entering directory '/mnt/users/Crypto/2018/AudioCoin/src/leveldb'
make[1]: 'libleveldb.a' is up to date.
make[1]: 'libmemenv.a' is up to date.
make[1]: Leaving directory '/mnt/users/Crypto/2018/AudioCoin/src/leveldb'
cd /mnt/users/Crypto/2018/AudioCoin; /bin/sh share/genbuild.sh /mnt/users/Crypto/2018/AudioCoin/build/build.h
/usr/lib/qt5/bin/uic src/qt/forms/coincontroldialog.ui -o build/ui_coincontroldialog.h
/usr/lib/qt5/bin/uic src/qt/forms/sendcoinsdialog.ui -o build/ui_sendcoinsdialog.h
/usr/lib/qt5/bin/uic src/qt/forms/addressbookpage.ui -o build/ui_addressbookpage.h
/usr/lib/qt5/bin/uic src/qt/forms/signverifymessagedialog.ui -o build/ui_signverifymessagedialog.h
/usr/lib/qt5/bin/uic src/qt/forms/aboutdialog.ui -o build/ui_aboutdialog.h
/usr/lib/qt5/bin/uic src/qt/forms/editaddressdialog.ui -o build/ui_editaddressdialog.h
/usr/lib/qt5/bin/uic src/qt/forms/transactiondescdialog.ui -o build/ui_transactiondescdialog.h
/usr/lib/qt5/bin/uic src/qt/forms/overviewpage.ui -o build/ui_overviewpage.h
/usr/lib/qt5/bin/uic src/qt/forms/sendcoinsentry.ui -o build/ui_sendcoinsentry.h
/usr/lib/qt5/bin/uic src/qt/forms/askpassphrasedialog.ui -o build/ui_askpassphrasedialog.h
/usr/lib/qt5/bin/uic src/qt/forms/rpcconsole.ui -o build/ui_rpcconsole.h
/usr/lib/qt5/bin/uic src/qt/forms/settingspage.ui -o build/ui_settingspage.h
/usr/lib/qt5/bin/uic src/qt/forms/transactionspage.ui -o build/ui_transactionspage.h
g++ -c -pipe -fstack-protector-all --param ssp-buffer-size=1 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fPIC -DENABLE_WALLET -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_BEFORE=0 -DUSE_UPNP=1 -DMINIUPNP_STATICLIB -DSTATICLIB -DUSE_DBUS -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Ibuild -Ibuild -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o build/bitcoingui.o src/qt/bitcoingui.cpp
In file included from src/crypter.h:10,
from src/wallet.h:15,
from src/qt/bitcoingui.cpp:33:
src/keystore.h: In member function ‘virtual bool CBasicKeyStore::GetKey(const CKeyID&, CKey&) const’:
src/keystore.h:80:30: warning: implicitly-declared ‘constexpr CKey& CKey::operator=(const CKey&)’ is deprecated [-Wdeprecated-copy]
80 | keyOut = mi->second;
| ^~~~~~
In file included from src/walletdb.h:9,
from src/wallet.h:8,
from src/qt/bitcoingui.cpp:33:
src/key.h:199:5: note: because ‘CKey’ has user-provided ‘CKey::CKey(const CKey&)’
199 | CKey(const CKey &secret) : fValid(secret.fValid), fCompressed(secret.fCompressed) {
| ^~~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: At global scope:
src/bignum.h:57:24: error: invalid use of incomplete type ‘BIGNUM’ {aka ‘struct bignum_st’}
57 | class CBigNum : public BIGNUM
| ^~~~~~
In file included from /usr/include/openssl/crypto.h:25,
from src/allocators.h:12,
from src/qt/walletmodel.h:8,
from src/qt/bitcoingui.cpp:20:
/usr/include/openssl/ossl_typ.h:80:16: note: forward declaration of ‘BIGNUM’ {aka ‘struct bignum_st’}
80 | typedef struct bignum_st BIGNUM;
| ^~~~~~~~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In constructor ‘CBigNum::CBigNum()’:
src/bignum.h:62:9: error: ‘BN_init’ was not declared in this scope
62 | BN_init(this);
| ^~~~~~~
src/bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
src/bignum.h:67:9: error: ‘BN_init’ was not declared in this scope
67 | BN_init(this);
| ^~~~~~~
src/bignum.h:68:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
68 | if (!BN_copy(this, &b))
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:219:25: note: initializing argument 1 of ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
219 | BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:70:31: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
70 | BN_clear_free(this);
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:218:28: note: initializing argument 1 of ‘void BN_clear_free(BIGNUM*)’
218 | void BN_clear_free(BIGNUM *a);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’:
src/bignum.h:77:30: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
77 | if (!BN_copy(this, &b))
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:219:25: note: initializing argument 1 of ‘BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)’
219 | BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In destructor ‘CBigNum::~CBigNum()’:
src/bignum.h:84:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
84 | BN_clear_free(this);
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:218:28: note: initializing argument 1 of ‘void BN_clear_free(BIGNUM*)’
218 | void BN_clear_free(BIGNUM *a);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In constructor ‘CBigNum::CBigNum(signed char)’:
src/bignum.h:88:37: error: ‘BN_init’ was not declared in this scope
88 | CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
| ^~~~~~~
src/bignum.h: In constructor ‘CBigNum::CBigNum(short int)’:
src/bignum.h:89:37: error: ‘BN_init’ was not declared in this scope
89 | CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
| ^~~~~~~
src/bignum.h: In constructor ‘CBigNum::CBigNum(int)’:
src/bignum.h:90:37: error: ‘BN_init’ was not declared in this scope
90 | CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
| ^~~~~~~
src/bignum.h: In constructor ‘CBigNum::CBigNum(long int)’:
src/bignum.h:91:37: error: ‘BN_init’ was not declared in this scope
91 | CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); }
| ^~~~~~~
src/bignum.h: In constructor ‘CBigNum::CBigNum(long long int)’:
src/bignum.h:92:37: error: ‘BN_init’ was not declared in this scope
92 | CBigNum(long long n) { BN_init(this); setint64(n); }
| ^~~~~~~
src/bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’:
src/bignum.h:93:37: error: ‘BN_init’ was not declared in this scope
93 | CBigNum(unsigned char n) { BN_init(this); setulong(n); }
| ^~~~~~~
src/bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’:
src/bignum.h:94:37: error: ‘BN_init’ was not declared in this scope
94 | CBigNum(unsigned short n) { BN_init(this); setulong(n); }
| ^~~~~~~
src/bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’:
src/bignum.h:95:37: error: ‘BN_init’ was not declared in this scope
95 | CBigNum(unsigned int n) { BN_init(this); setulong(n); }
| ^~~~~~~
src/bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int)’:
src/bignum.h:96:37: error: ‘BN_init’ was not declared in this scope
96 | CBigNum(unsigned long n) { BN_init(this); setulong(n); }
| ^~~~~~~
src/bignum.h: In constructor ‘CBigNum::CBigNum(long long unsigned int)’:
src/bignum.h:97:37: error: ‘BN_init’ was not declared in this scope
97 | CBigNum(unsigned long long n) { BN_init(this); setuint64(n); }
| ^~~~~~~
src/bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
src/bignum.h:98:37: error: ‘BN_init’ was not declared in this scope
98 | explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
| ^~~~~~~
src/bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector<unsigned char>&)’:
src/bignum.h:102:9: error: ‘BN_init’ was not declared in this scope
102 | BN_init(this);
| ^~~~~~~
src/bignum.h: In static member function ‘static CBigNum CBigNum::randBignum(const CBigNum&)’:
src/bignum.h:113:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
113 | if(!BN_rand_range(&ret, &range)){
| ^~~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:209:27: note: initializing argument 1 of ‘int BN_rand_range(BIGNUM*, const BIGNUM*)’
209 | int BN_rand_range(BIGNUM *rnd, const BIGNUM *range);
| ~~~~~~~~^~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In static member function ‘static CBigNum CBigNum::RandKBitBigum(uint32_t)’:
src/bignum.h:125:21: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
125 | if(!BN_rand(&ret, k, -1, 0)){
| ^~~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:207:21: note: initializing argument 1 of ‘int BN_rand(BIGNUM*, int, int, int)’
207 | int BN_rand(BIGNUM *rnd, int bits, int top, int bottom);
| ~~~~~~~~^~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘int CBigNum::bitSize() const’:
src/bignum.h:136:33: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
136 | return BN_num_bits(this);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:213:31: note: initializing argument 1 of ‘int BN_num_bits(const BIGNUM*)’
213 | int BN_num_bits(const BIGNUM *a);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘void CBigNum::setulong(long unsigned int)’:
src/bignum.h:142:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
142 | if (!BN_set_word(this, n))
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:271:25: note: initializing argument 1 of ‘int BN_set_word(BIGNUM*, long unsigned int)’
271 | int BN_set_word(BIGNUM *a, BN_ULONG w);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘long unsigned int CBigNum::getulong() const’:
src/bignum.h:148:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
148 | return BN_get_word(this);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:272:36: note: initializing argument 1 of ‘long unsigned int BN_get_word(const BIGNUM*)’
272 | BN_ULONG BN_get_word(const BIGNUM *a);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘unsigned int CBigNum::getuint() const’:
src/bignum.h:153:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
153 | return BN_get_word(this);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:272:36: note: initializing argument 1 of ‘long unsigned int BN_get_word(const BIGNUM*)’
272 | BN_ULONG BN_get_word(const BIGNUM *a);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘int CBigNum::getint() const’:
src/bignum.h:158:43: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
158 | unsigned long n = BN_get_word(this);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:272:36: note: initializing argument 1 of ‘long unsigned int BN_get_word(const BIGNUM*)’
272 | BN_ULONG BN_get_word(const BIGNUM *a);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:159:33: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
159 | if (!BN_is_negative(this))
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:243:34: note: initializing argument 1 of ‘int BN_is_negative(const BIGNUM*)’
243 | int BN_is_negative(const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘void CBigNum::setint64(int64_t)’:
src/bignum.h:205:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
205 | BN_mpi2bn(pch, p - pch, this);
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:226:60: note: initializing argument 3 of ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
226 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
| ~~~~~~~~^~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘uint64_t CBigNum::getuint64()’:
src/bignum.h:210:50: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
210 | unsigned int nSize = BN_bn2mpi(this, NULL);
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:227:29: note: initializing argument 1 of ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
227 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:214:32: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
214 | BN_bn2mpi(this, &vch[0]);
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:227:29: note: initializing argument 1 of ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
227 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘void CBigNum::setuint64(uint64_t)’:
src/bignum.h:247:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
247 | BN_mpi2bn(pch, p - pch, this);
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:226:60: note: initializing argument 3 of ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
226 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
| ~~~~~~~~^~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘void CBigNum::setuint256(uint256)’:
src/bignum.h:275:37: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
275 | BN_mpi2bn(pch, p - pch, this);
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:226:60: note: initializing argument 3 of ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
226 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
| ~~~~~~~~^~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘uint256 CBigNum::getuint256() const’:
src/bignum.h:280:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
280 | unsigned int nSize = BN_bn2mpi(this, NULL);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:227:29: note: initializing argument 1 of ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
227 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:284:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
284 | BN_bn2mpi(this, &vch[0]);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:227:29: note: initializing argument 1 of ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
227 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘void CBigNum::setvch(const std::vector<unsigned char>&)’:
src/bignum.h:306:46: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
306 | BN_mpi2bn(&vch2[0], vch2.size(), this);
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:226:60: note: initializing argument 3 of ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
226 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
| ~~~~~~~~^~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘std::vector<unsigned char> CBigNum::getvch() const’:
src/bignum.h:311:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
311 | unsigned int nSize = BN_bn2mpi(this, NULL);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:227:29: note: initializing argument 1 of ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
227 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:315:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
315 | BN_bn2mpi(this, &vch[0]);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:227:29: note: initializing argument 1 of ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
227 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(unsigned int)’:
src/bignum.h:329:44: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
329 | BN_mpi2bn(&vch[0], vch.size(), this);
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:226:60: note: initializing argument 3 of ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
226 | BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret);
| ~~~~~~~~^~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const’:
src/bignum.h:335:50: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
335 | unsigned int nSize = BN_bn2mpi(this, NULL);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:227:29: note: initializing argument 1 of ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
227 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:338:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
338 | BN_bn2mpi(this, &vch[0]);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:227:29: note: initializing argument 1 of ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
227 | int BN_bn2mpi(const BIGNUM *a, unsigned char *to);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘std::string CBigNum::ToString(int) const’:
src/bignum.h:383:25: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
383 | BN_set_negative(&bn, false);
| ^~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:238:30: note: initializing argument 1 of ‘void BN_set_negative(BIGNUM*, int)’
238 | void BN_set_negative(BIGNUM *b, int n);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:386:20: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
386 | if (BN_cmp(&bn, &bn0) == 0)
| ^~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:274:26: note: initializing argument 1 of ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
274 | int BN_cmp(const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:388:23: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
388 | while (BN_cmp(&bn, &bn0) > 0)
| ^~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:274:26: note: initializing argument 1 of ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
274 | int BN_cmp(const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:390:25: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
390 | if (!BN_div(&dv, &rem, &bn, &bnBase, pctx))
| ^~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:245:20: note: initializing argument 1 of ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
245 | int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
| ~~~~~~~~^~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:396:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
396 | if (BN_is_negative(this))
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:243:34: note: initializing argument 1 of ‘int BN_is_negative(const BIGNUM*)’
243 | int BN_is_negative(const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum CBigNum::pow(const CBigNum&) const’:
src/bignum.h:443:21: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
443 | if (!BN_exp(&ret, this, &e, pctx))
| ^~~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:279:20: note: initializing argument 1 of ‘int BN_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
279 | int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum CBigNum::mul_mod(const CBigNum&, const CBigNum&) const’:
src/bignum.h:456:25: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
456 | if (!BN_mod_mul(&ret, this, &b, &m, pctx))
| ^~~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:257:24: note: initializing argument 1 of ‘int BN_mod_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
257 | int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m,
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum CBigNum::pow_mod(const CBigNum&, const CBigNum&) const’:
src/bignum.h:474:29: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
474 | if (!BN_mod_exp(&ret, &inv, &posE, &m, pctx))
| ^~~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:281:24: note: initializing argument 1 of ‘int BN_mod_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
281 | int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:477:29: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
477 | if (!BN_mod_exp(&ret, this, &e, &m, pctx))
| ^~~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:281:24: note: initializing argument 1 of ‘int BN_mod_exp(BIGNUM*, const BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
281 | int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum CBigNum::inverse(const CBigNum&) const’:
src/bignum.h:492:29: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
492 | if (!BN_mod_inverse(&ret, this, &m, pctx))
| ^~~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:318:32: note: initializing argument 1 of ‘BIGNUM* BN_mod_inverse(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
318 | BIGNUM *BN_mod_inverse(BIGNUM *ret,
| ~~~~~~~~^~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In static member function ‘static CBigNum CBigNum::generatePrime(unsigned int, bool)’:
src/bignum.h:505:34: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
505 | if(!BN_generate_prime_ex(&ret, numBits, (safe == true), NULL, NULL, NULL))
| ^~~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:343:34: note: initializing argument 1 of ‘int BN_generate_prime_ex(BIGNUM*, int, int, const BIGNUM*, const BIGNUM*, BN_GENCB*)’
343 | int BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add,
| ~~~~~~~~^~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum CBigNum::gcd(const CBigNum&) const’:
src/bignum.h:518:21: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
518 | if (!BN_gcd(&ret, this, &b, pctx))
| ^~~~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:314:20: note: initializing argument 1 of ‘int BN_gcd(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
314 | int BN_gcd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘bool CBigNum::isPrime(int) const’:
src/bignum.h:531:61: warning: ‘int BN_is_prime(const BIGNUM*, int, void (*)(int, int, void*), BN_CTX*, void*)’ is deprecated [-Wdeprecated-declarations]
531 | int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
| ^
In file included from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/crypto.h:17,
from src/allocators.h:12,
from src/qt/walletmodel.h:8,
from src/qt/bitcoingui.cpp:20:
/usr/include/openssl/bn.h:332:1: note: declared here
332 | DEPRECATEDIN_0_9_8(int
| ^~~~~~~~~~~~~~~~~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:531:61: warning: ‘int BN_is_prime(const BIGNUM*, int, void (*)(int, int, void*), BN_CTX*, void*)’ is deprecated [-Wdeprecated-declarations]
531 | int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
| ^
In file included from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/crypto.h:17,
from src/allocators.h:12,
from src/qt/walletmodel.h:8,
from src/qt/bitcoingui.cpp:20:
/usr/include/openssl/bn.h:332:1: note: declared here
332 | DEPRECATEDIN_0_9_8(int
| ^~~~~~~~~~~~~~~~~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:531:61: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
531 | int ret = BN_is_prime(this, checks, NULL, pctx, NULL);
| ^
| |
| const CBigNum*
In file included from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/crypto.h:17,
from src/allocators.h:12,
from src/qt/walletmodel.h:8,
from src/qt/bitcoingui.cpp:20:
/usr/include/openssl/bn.h:332:1: note: initializing argument 1 of ‘int BN_is_prime(const BIGNUM*, int, void (*)(int, int, void*), BN_CTX*, void*)’
332 | DEPRECATEDIN_0_9_8(int
| ^~~~~~~~~~~~~~~~~~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘bool CBigNum::isOne() const’:
src/bignum.h:539:30: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
539 | return BN_is_one(this);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:185:29: note: initializing argument 1 of ‘int BN_is_one(const BIGNUM*)’
185 | int BN_is_one(const BIGNUM *a);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘bool CBigNum::operator!() const’:
src/bignum.h:545:31: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
545 | return BN_is_zero(this);
| ^
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:184:30: note: initializing argument 1 of ‘int BN_is_zero(const BIGNUM*)’
184 | int BN_is_zero(const BIGNUM *a);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’:
src/bignum.h:550:35: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
550 | if (!BN_add(this, this, &b))
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:231:20: note: initializing argument 1 of ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
231 | int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&)’:
src/bignum.h:564:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
564 | if (!BN_mul(this, this, &b, pctx))
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:232:20: note: initializing argument 1 of ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
232 | int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int)’:
src/bignum.h:583:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
583 | if (!BN_lshift(this, this, shift))
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:277:23: note: initializing argument 1 of ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
277 | int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int)’:
src/bignum.h:594:20: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
594 | if (BN_cmp(&a, this) > 0)
| ^~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:274:26: note: initializing argument 1 of ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
274 | int BN_cmp(const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h:600:41: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
600 | if (!BN_rshift(this, this, shift))
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:302:23: note: initializing argument 1 of ‘int BN_rshift(BIGNUM*, const BIGNUM*, int)’
302 | int BN_rshift(BIGNUM *r, const BIGNUM *a, int n);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum& CBigNum::operator++()’:
src/bignum.h:609:47: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
609 | if (!BN_add(this, this, BN_value_one()))
| ^
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:231:20: note: initializing argument 1 of ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
231 | int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In member function ‘CBigNum& CBigNum::operator--()’:
src/bignum.h:626:21: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
626 | if (!BN_sub(&r, this, BN_value_one()))
| ^~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:228:20: note: initializing argument 1 of ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
228 | int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&)’:
src/bignum.h:653:17: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
653 | if (!BN_add(&r, &a, &b))
| ^~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:231:20: note: initializing argument 1 of ‘int BN_add(BIGNUM*, const BIGNUM*, const BIGNUM*)’
231 | int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&)’:
src/bignum.h:661:17: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
661 | if (!BN_sub(&r, &a, &b))
| ^~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:228:20: note: initializing argument 1 of ‘int BN_sub(BIGNUM*, const BIGNUM*, const BIGNUM*)’
228 | int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
src/bignum.h:669:41: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
669 | BN_set_negative(&r, !BN_is_negative(&r));
| ^~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:243:34: note: initializing argument 1 of ‘int BN_is_negative(const BIGNUM*)’
243 | int BN_is_negative(const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘const CBigNum operator*(const CBigNum&, const CBigNum&)’:
src/bignum.h:677:17: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
677 | if (!BN_mul(&r, &a, &b, pctx))
| ^~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:232:20: note: initializing argument 1 of ‘int BN_mul(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
232 | int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&)’:
src/bignum.h:686:17: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
686 | if (!BN_div(&r, NULL, &a, &b, pctx))
| ^~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:245:20: note: initializing argument 1 of ‘int BN_div(BIGNUM*, BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
245 | int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
| ~~~~~~~~^~
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’:
src/bignum.h:695:19: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
695 | if (!BN_nnmod(&r, &a, &b, pctx))
| ^~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:248:22: note: initializing argument 1 of ‘int BN_nnmod(BIGNUM*, const BIGNUM*, const BIGNUM*, BN_CTX*)’
248 | int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’:
src/bignum.h:703:20: error: cannot convert ‘CBigNum*’ to ‘BIGNUM*’ {aka ‘bignum_st*’}
703 | if (!BN_lshift(&r, &a, shift))
| ^~
| |
| CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:277:23: note: initializing argument 1 of ‘int BN_lshift(BIGNUM*, const BIGNUM*, int)’
277 | int BN_lshift(BIGNUM *r, const BIGNUM *a, int n);
| ~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&)’:
src/bignum.h:715:77: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
715 | inline bool operator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); }
| ^~
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:274:26: note: initializing argument 1 of ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
274 | int BN_cmp(const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’:
src/bignum.h:716:77: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
716 | inline bool operator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); }
| ^~
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:274:26: note: initializing argument 1 of ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
274 | int BN_cmp(const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&)’:
src/bignum.h:717:77: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
717 | inline bool operator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); }
| ^~
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:274:26: note: initializing argument 1 of ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
274 | int BN_cmp(const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&)’:
src/bignum.h:718:77: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
718 | inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); }
| ^~
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:274:26: note: initializing argument 1 of ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
274 | int BN_cmp(const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&)’:
src/bignum.h:719:77: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
719 | inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); }
| ^~
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:274:26: note: initializing argument 1 of ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
274 | int BN_cmp(const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
src/bignum.h:720:77: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM*’ {aka ‘const bignum_st*’}
720 | inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); }
| ^~
| |
| const CBigNum*
In file included from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
/usr/include/openssl/bn.h:274:26: note: initializing argument 1 of ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
274 | int BN_cmp(const BIGNUM *a, const BIGNUM *b);
| ~~~~~~~~~~~~~~^
In file included from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/core.h: In constructor ‘CTxIn::CTxIn(COutPoint, CScript, unsigned int)’:
src/core.h:83:21: warning: implicitly-declared ‘CScript& CScript::operator=(const CScript&)’ is deprecated [-Wdeprecated-copy]
83 | scriptSig = scriptSigIn;
| ^~~~~~~~~~~
In file included from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/script.h:325:5: note: because ‘CScript’ has user-provided ‘CScript::CScript(const CScript&)’
325 | CScript(const CScript& b) : std::vector<unsigned char>(b.begin(), b.end()) { }
| ^~~~~~~
In file included from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/core.h: In constructor ‘CTxIn::CTxIn(uint256, unsigned int, CScript, unsigned int)’:
src/core.h:90:21: warning: implicitly-declared ‘CScript& CScript::operator=(const CScript&)’ is deprecated [-Wdeprecated-copy]
90 | scriptSig = scriptSigIn;
| ^~~~~~~~~~~
In file included from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/script.h:325:5: note: because ‘CScript’ has user-provided ‘CScript::CScript(const CScript&)’
325 | CScript(const CScript& b) : std::vector<unsigned char>(b.begin(), b.end()) { }
| ^~~~~~~
In file included from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/core.h: In constructor ‘CTxOut::CTxOut(int64_t, CScript)’:
src/core.h:154:24: warning: implicitly-declared ‘CScript& CScript::operator=(const CScript&)’ is deprecated [-Wdeprecated-copy]
154 | scriptPubKey = scriptPubKeyIn;
| ^~~~~~~~~~~~~~
In file included from src/core.h:11,
from src/main.h:8,
from src/wallet.h:16,
from src/qt/bitcoingui.cpp:33:
src/script.h:325:5: note: because ‘CScript’ has user-provided ‘CScript::CScript(const CScript&)’
325 | CScript(const CScript& b) : std::vector<unsigned char>(b.begin(), b.end()) { }
| ^~~~~~~
make: *** [Makefile:1618: build/bitcoingui.o] Error 1
So I have an up-to-date version from git and have all the dependencies installed that are listed.
Any ideas?