How to install a Linux client? The link on the website seems to be broken a bit, and no instructions.
Biocoin wallet installation on Ubuntu 16.04
~$ sudo apt-get update
~$ sudo apt-get install git qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev
~$ sudo apt-get install libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev
~$ sudo apt install Libdb5.3* -y
~$ sudo git clone
https://github.com/Blackithart/biocoin.git~$ cd ./biocoin/
~$ sudo qmake
~$ sudo apt-get install libqrencode-dev
~$ make
~$ ./BioCoin-qt
All! Working.
I've got problem wit the "make"
pi@raspberrypi-f:~/biocoin $ sudo qmake
Project MESSAGE: Building with Berkeley DB transaction index
Project MESSAGE: Using generic scrypt & sha256 implementations
pi@raspberrypi-f:~/biocoin $ sudo apt-get install libqrencode-dev
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
libqrencode-dev is already the newest version (3.4.4-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 170 non mis à jour.
pi@raspberrypi-f:~/biocoin $ make
cd /home/pi/biocoin; /bin/sh share/genbuild.sh /home/pi/biocoin/build/build.h
share/genbuild.sh: 33: share/genbuild.sh: cannot create /home/pi/biocoin/build/build.h: Permission denied
share/genbuild.sh: 34: share/genbuild.sh: cannot create /home/pi/biocoin/build/build.h: Permission denied
Makefile:418 : la recette pour la cible « /home/pi/biocoin/build/build.h » a échouée
make: *** [/home/pi/biocoin/build/build.h] Erreur 2pi@raspberrypi-f:~/biocoin $ ./BioCoin-qt
bash: ./BioCoin-qt: Aucun fichier ou dossier de ce type
pi@raspberrypi-f:~/biocoin $
~$ sudo apt-get update
~$ sudo apt-get install git qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev
~$ sudo apt-get install libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev
~$ sudo apt install Libdb5.3* -y
~$ sudo git clone
https://github.com/Blackithart/biocoin.git~$ cd ./biocoin/
~$ sudo qmake
~$ sudo apt-get install libqrencode-dev
~$ sudo su
~$ sudo apt-get install libtool autotools-dev autoconf libdb-dev libminiupnpc-dev dh-autoreconf libdb++-dev libboost-all-dev libssl-dev pkg-config joe ufw protobuf-compiler libprotobuf-dev libqt4-dev
~$ make
~$ ./BioCoin-qt
Allways the same problem when i do the "make"
cd /home/pi/biocoin; /bin/sh share/genbuild.sh /home/pi/biocoin/build/build.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/intro.ui -o build/ui_intro.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/coincontroldialog.ui -o build/ui_coincontroldialog.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/sendcoinsdialog.ui -o build/ui_sendcoinsdialog.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/addressbookpage.ui -o build/ui_addressbookpage.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/signverifymessagedialog.ui -o build/ui_signverifymessagedialog.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/aboutdialog.ui -o build/ui_aboutdialog.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/editaddressdialog.ui -o build/ui_editaddressdialog.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/transactiondescdialog.ui -o build/ui_transactiondescdialog.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/overviewpage.ui -o build/ui_overviewpage.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/sendcoinsentry.ui -o build/ui_sendcoinsentry.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/askpassphrasedialog.ui -o build/ui_askpassphrasedialog.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/rpcconsole.ui -o build/ui_rpcconsole.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/optionsdialog.ui -o build/ui_optionsdialog.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/multisigaddressentry.ui -o build/ui_multisigaddressentry.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/multisiginputentry.ui -o build/ui_multisiginputentry.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/multisigdialog.ui -o build/ui_multisigdialog.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/secondauthdialog.ui -o build/ui_secondauthdialog.h
/usr/lib/arm-linux-gnueabihf/qt4/bin/uic src/qt/forms/qrcodedialog.ui -o build/ui_qrcodedialog.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 -Wno-unused-local-typedef -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ibuild -Ibuild -o build/txdb-bdb.o src/txdb-bdb.cpp
In file included from src/main.h:11:0,
from src/db.h:8,
from src/txdb-bdb.cpp:6:
src/bignum.h:50:24: error: invalid use of incomplete type ‘BIGNUM {aka struct bignum_st}’
class CBigNum : public BIGNUM
^~~~~~
In file included from /usr/include/openssl/bn.h:32:0,
from src/bignum.h:10,
from src/main.h:11,
from src/db.h:8,
from src/txdb-bdb.cpp:6:
/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 src/main.h:11:0,
from src/db.h:8,
from src/txdb-bdb.cpp:6:
src/bignum.h: In constructor ‘CBigNum::CBigNum()’:
src/bignum.h:55:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
src/bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’:
src/bignum.h:60:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
src/bignum.h:61: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))
^
src/bignum.h:63:31: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
src/bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’:
src/bignum.h:70: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))
^
src/bignum.h: In destructor ‘CBigNum::~CBigNum()’:
src/bignum.h:77:27: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM*)’
BN_clear_free(this);
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(int8_t)’:
src/bignum.h:80:39: error: ‘BN_init’ was not declared in this scope
CBigNum(int8_t n) { BN_init(this); if (n >= 0) setuint32(n); else setint64(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(int16_t)’:
src/bignum.h:81:39: error: ‘BN_init’ was not declared in this scope
CBigNum(int16_t n) { BN_init(this); if (n >= 0) setuint32(n); else setint64(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(int32_t)’:
src/bignum.h:82:39: error: ‘BN_init’ was not declared in this scope
CBigNum(int32_t n) { BN_init(this); if (n >= 0) setuint32(n); else setint64(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(int64_t)’:
src/bignum.h:83:39: error: ‘BN_init’ was not declared in this scope
CBigNum(int64_t n) { BN_init(this); if (n >= 0) setuint64(n); else setint64(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(uint8_t)’:
src/bignum.h:85:39: error: ‘BN_init’ was not declared in this scope
CBigNum(uint8_t n) { BN_init(this); setuint32(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(uint16_t)’:
src/bignum.h:86:39: error: ‘BN_init’ was not declared in this scope
CBigNum(uint16_t n) { BN_init(this); setuint32(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(uint32_t)’:
src/bignum.h:87:39: error: ‘BN_init’ was not declared in this scope
CBigNum(uint32_t n) { BN_init(this); setuint32(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(uint64_t)’:
src/bignum.h:88:39: error: ‘BN_init’ was not declared in this scope
CBigNum(uint64_t n) { BN_init(this); setuint64(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
src/bignum.h:90:47: error: ‘BN_init’ was not declared in this scope
explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector
&)’:
src/bignum.h:93:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
src/bignum.h: In static member function ‘static CBigNum CBigNum::randBignum(const CBigNum&)’:
src/bignum.h:104: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)){
^
src/bignum.h: In static member function ‘static CBigNum CBigNum::RandKBitBigum(uint32_t)’:
src/bignum.h:116: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)){
^
src/bignum.h: In member function ‘int CBigNum::bitSize() const’:
src/bignum.h:127: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);
^
src/bignum.h: In member function ‘void CBigNum::setuint32(uint32_t)’:
src/bignum.h:133:33: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, unsigned int)’
if (!BN_set_word(this, n))
^
src/bignum.h: In member function ‘uint32_t CBigNum::getuint32() const’:
src/bignum.h:139:32: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘unsigned int BN_get_word(const BIGNUM*)’
return BN_get_word(this);
^
src/bignum.h: In member function ‘int32_t CBigNum::getint32() const’:
src/bignum.h:144:38: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘unsigned int BN_get_word(const BIGNUM*)’
uint64_t n = BN_get_word(this);
^
src/bignum.h:145: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 src/main.h:11:0,
from src/db.h:8,
from src/txdb-bdb.cpp:6:
src/bignum.h: In member function ‘void CBigNum::setint64(int64_t)’:
src/bignum.h:191:44: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(pch, (int)(p - pch), this);
^
src/bignum.h: In member function ‘uint64_t CBigNum::getuint64()’:
src/bignum.h:196:44: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
size_t nSize = BN_bn2mpi(this, NULL);
^
src/bignum.h:200:32: error: cannot convert ‘CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
BN_bn2mpi(this, &vch[0]);
^
src/bignum.h: In member function ‘void CBigNum::setuint64(uint64_t)’:
src/bignum.h:214:47: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM*, unsigned int)’
if (!BN_set_word(this, (BN_ULONG)n))
^
src/bignum.h:241:44: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(pch, (int)(p - pch), this);
^
src/bignum.h: In member function ‘void CBigNum::setuint160(uint160)’:
src/bignum.h:269:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(pch, (int) (p - pch), this);
^
src/bignum.h: In member function ‘uint160 CBigNum::getuint160() const’:
src/bignum.h:274: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);
^
src/bignum.h:278: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]);
^
src/bignum.h: In member function ‘void CBigNum::setuint256(uint256)’:
src/bignum.h:312:45: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(pch, (int) (p - pch), this);
^
src/bignum.h: In member function ‘uint256 CBigNum::getuint256() const’:
src/bignum.h:317: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);
^
src/bignum.h:321: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]);
^
src/bignum.h: In member function ‘void CBigNum::setBytes(const std::vector&)’:
src/bignum.h:332:60: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_bin2bn(const unsigned char*, int, BIGNUM*)’
BN_bin2bn(&vchBytes[0], (int) vchBytes.size(), this);
^
In file included from src/bignum.h:10:0,
from src/main.h:11,
from src/db.h:8,
from src/txdb-bdb.cpp:6:
src/bignum.h: In member function ‘std::vector CBigNum::getBytes() const’:
src/bignum.h:337:22: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_num_bits(const BIGNUM*)’
int nBytes = BN_num_bytes(this);
^
In file included from src/main.h:11:0,
from src/db.h:8,
from src/txdb-bdb.cpp:6:
src/bignum.h:341:45: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2bin(const BIGNUM*, unsigned char*)’
int n = BN_bn2bin(this, &vchBytes[0]);
^
src/bignum.h: In member function ‘void CBigNum::setvch(const std::vector&)’:
src/bignum.h:361:52: 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], (int) vch2.size(), this);
^
src/bignum.h: In member function ‘std::vector CBigNum::getvch() const’:
src/bignum.h:366: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);
^
src/bignum.h:370: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]);
^
src/bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(uint32_t)’:
src/bignum.h:384:50: error: cannot convert ‘CBigNum*’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned char*, int, BIGNUM*)’
BN_mpi2bn(&vch[0], (int) vch.size(), this);
^
src/bignum.h: In member function ‘uint32_t CBigNum::GetCompact() const’:
src/bignum.h:390:46: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_bn2mpi(const BIGNUM*, unsigned char*)’
uint32_t nSize = BN_bn2mpi(this, NULL);
^
src/bignum.h:393: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]);
^
src/bignum.h: In member function ‘std::__cxx11::string CBigNum::ToString(int) const’:
src/bignum.h:438: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);
^
src/bignum.h:441: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)
^
src/bignum.h:443: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)
^
src/bignum.h:445: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))
^
src/bignum.h:451: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))
^
src/bignum.h: In member function ‘CBigNum CBigNum::pow(const CBigNum&) const’:
src/bignum.h:498: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))
^
src/bignum.h: In member function ‘CBigNum CBigNum::mul_mod(const CBigNum&, const CBigNum&) const’:
src/bignum.h:511: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))
^
src/bignum.h: In member function ‘CBigNum CBigNum::pow_mod(const CBigNum&, const CBigNum&) const’:
src/bignum.h:529: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))
^
src/bignum.h:532: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))
^
src/bignum.h: In member function ‘CBigNum CBigNum::inverse(const CBigNum&) const’:
src/bignum.h:547: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))
^
src/bignum.h: In static member function ‘static CBigNum CBigNum::generatePrime(unsigned int, bool)’:
src/bignum.h:560: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))
^
src/bignum.h: In member function ‘CBigNum CBigNum::gcd(const CBigNum&) const’:
src/bignum.h:573: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))
^
src/bignum.h: In member function ‘bool CBigNum::isPrime(int) const’:
src/bignum.h:586:19: 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/crypto.h:32:0,
from /usr/include/openssl/bn.h:33,
from src/bignum.h:10,
from src/main.h:11,
from src/db.h:8,
from src/txdb-bdb.cpp:6:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from src/main.h:11:0,
from src/db.h:8,
from src/txdb-bdb.cpp:6:
src/bignum.h:586: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/crypto.h:32:0,
from /usr/include/openssl/bn.h:33,
from src/bignum.h:10,
from src/main.h:11,
from src/db.h:8,
from src/txdb-bdb.cpp:6:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from src/main.h:11:0,
from src/db.h:8,
from src/txdb-bdb.cpp:6:
src/bignum.h:586: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);
^
src/bignum.h: In member function ‘bool CBigNum::isOne() const’:
src/bignum.h:594: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);
^
src/bignum.h: In member function ‘bool CBigNum::operator!() const’:
src/bignum.h:600: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);
^
src/bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’:
src/bignum.h:605: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))
^
src/bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&)’:
src/bignum.h:619: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))
^
src/bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int)’:
src/bignum.h:638: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))
^
src/bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int)’:
src/bignum.h:649: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)
^
src/bignum.h:655: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))
^
src/bignum.h: In member function ‘CBigNum& CBigNum::operator++()’:
src/bignum.h:664: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()))
^
src/bignum.h: In member function ‘CBigNum& CBigNum::operator--()’:
src/bignum.h:681: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()))
^
src/bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&)’:
src/bignum.h:708: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))
^
src/bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&)’:
src/bignum.h:716: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))
^
src/bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’:
src/bignum.h:724: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));
^
src/bignum.h: In function ‘const CBigNum operator*(const CBigNum&, const CBigNum&)’:
src/bignum.h:732: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))
^
src/bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&)’:
src/bignum.h:741: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))
^
src/bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’:
src/bignum.h:750: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))
^
src/bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’:
src/bignum.h:758: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))
^
src/bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&)’:
src/bignum.h:770:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
perator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); }
^
src/bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’:
src/bignum.h:771:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
perator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); }
^
src/bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&)’:
src/bignum.h:772:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
perator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); }
^
src/bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&)’:
src/bignum.h:773:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
perator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); }
^
src/bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&)’:
src/bignum.h:774:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); }
^
src/bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’:
src/bignum.h:775:83: error: cannot convert ‘const CBigNum*’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); }
^
In file included from src/db.h:8:0,
from src/txdb-bdb.cpp:6:
src/main.h: In member function ‘unsigned int CBlock::GetStakeEntropyBit(unsigned int) const’:
src/main.h:961:21: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
if (nHeight >= 0 || fTestNet)
~~~~~~~~^~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-unused-local-typedef’
Makefile:799 : la recette pour la cible « build/txdb-bdb.o » a échouée
make: *** [build/txdb-bdb.o] Erreur 1