Installer un portefeuille Blackcoin sur Debian 9 Stretch

Le
G2PC
Bonjour,
J'expérimente la cryptomonnaie, le Bitcoin, et, les altcoins.
J'aimerais stocker mon propre portefeuille Blackcoin, et, réussir à
mener cette installation à bien.

J'ai pu installer le portefeuille, sur Windows, et, sur Jessie 8.7.1

Je suis entrain de l'installer sur Stretch.

Ca semble fonctionner.
Pour réussir à installer ce portefeuille, j'ai fais un mix de deux
tutoriels.

J'aimerais vos retours, concernant cette synthèse qui repprend mes
manipulations.

J'aimerais savoir si certaines étapes sont superflues, ou, mal menées,
si certains paquets sont de trop, ou, si une autre approche plus propre
est possible.

Merci de vos avis.

Ma synthèse " fonctionnelle " mais, qui me semble un peu obscure.

https://www.visionduweb.eu/wiki/index.php?title=Conserver_son_portefeuille_sur_son_ordinateur_tablette_mobile#Installer_un_portefeuille_pour_la_cryptomonnaie_de_votre_choix
Vos réponses
Gagnez chaque mois un abonnement Premium avec GNT : Inscrivez-vous !
Trier par : date / pertinence
G2PC
Le #26438415
Le 14/07/2017 à 18:33, G2PC a écrit :
Bonjour,
J'expérimente la cryptomonnaie, le Bitcoin, et, les altcoins.
J'aimerais stocker mon propre portefeuille Blackcoin, et, réussir à
mener cette installation à bien.
J'ai pu installer le portefeuille, sur Windows, et, sur Jessie 8.7.1 et ça fonctionne.
Je suis entrain de l'installer sur Stretch.
Pour réussir à installer ce portefeuille, j'ai fais un mix de deux
tutoriels.
J'aimerais vos retours, concernant cette synthèse qui repprend mes
manipulations.
J'aimerais savoir si certaines étapes sont superflues, ou, mal menées,
si certains paquets sont de trop, ou, si une autre approche plus propre
est possible.
Merci de vos avis.
Ma synthèse " fonctionnelle " mais, qui me semble un peu obscure.
https://www.visionduweb.eu/wiki/index.php?title=Conserver_son_portefeuille_sur_son_ordinateur_tablette_mobile#Installer_un_portefeuille_pour_la_cryptomonnaie_de_votre_choix

Pour Stretch, je n'ai pas réussi à installer ce portefeuille Blackcoin,
quelques erreurs, aille.
:~/blackcoin# qmake
Info: creating stash file /root/blackcoin/.qmake.stash
Project MESSAGE: Building with UPNP support
Project MESSAGE: Building with DBUS (Freedesktop notifications) support
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
:~/blackcoin# make
cd /root/blackcoin/src/leveldb && CC=gcc CXX=g++ make OPT="-pipe
-fstack-protector-all --param ssp-buffer-size=1 -O2" libleveldb.a
libmemenv.a
make[1] : on entre dans le répertoire « /root/blackcoin/src/leveldb »
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/builder.cc -o db/builder.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/c.cc -o db/c.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/dbformat.cc -o db/dbformat.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/db_impl.cc -o db/db_impl.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/db_iter.cc -o db/db_iter.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/filename.cc -o db/filename.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/log_reader.cc -o db/log_reader.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/log_writer.cc -o db/log_writer.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/memtable.cc -o db/memtable.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/repair.cc -o db/repair.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/table_cache.cc -o db/table_cache.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/version_edit.cc -o db/version_edit.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/version_set.cc -o db/version_set.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c db/write_batch.cc -o db/write_batch.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c table/block_builder.cc -o table/block_builder.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c table/block.cc -o table/block.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c table/filter_block.cc -o table/filter_block.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c table/format.cc -o table/format.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c table/iterator.cc -o table/iterator.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c table/merger.cc -o table/merger.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c table/table_builder.cc -o table/table_builder.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c table/table.cc -o table/table.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c table/two_level_iterator.cc -o
table/two_level_iterator.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/arena.cc -o util/arena.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/bloom.cc -o util/bloom.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/cache.cc -o util/cache.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/coding.cc -o util/coding.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/comparator.cc -o util/comparator.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/crc32c.cc -o util/crc32c.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/env.cc -o util/env.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/env_posix.cc -o util/env_posix.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/env_win.cc -o util/env_win.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/filter_policy.cc -o util/filter_policy.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/hash.cc -o util/hash.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/histogram.cc -o util/histogram.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/logging.cc -o util/logging.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/options.cc -o util/options.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c util/status.cc -o util/status.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c port/port_posix.cc -o port/port_posix.o
rm -f libleveldb.a
ar -rs libleveldb.a db/builder.o db/c.o db/dbformat.o db/db_impl.o
db/db_iter.o db/filename.o db/log_reader.o db/log_writer.o db/memtable.o
db/repair.o db/table_cache.o db/version_edit.o db/version_set.o
db/write_batch.o table/block_builder.o table/block.o
table/filter_block.o table/format.o table/iterator.o table/merger.o
table/table_builder.o table/table.o table/two_level_iterator.o
util/arena.o util/bloom.o util/cache.o util/coding.o util/comparator.o
util/crc32c.o util/env.o util/env_posix.o util/env_win.o
util/filter_policy.o util/hash.o util/histogram.o util/logging.o
util/options.o util/status.o port/port_posix.o
ar: création de libleveldb.a
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX
-DLEVELDB_PLATFORM_POSIX -pipe -fstack-protector-all --param
ssp-buffer-size=1 -O2 -c helpers/memenv/memenv.cc -o helpers/memenv/memenv.o
rm -f libmemenv.a
ar -rs libmemenv.a helpers/memenv/memenv.o
ar: création de libmemenv.a
make[1] : on quitte le répertoire « /root/blackcoin/src/leveldb »
cd /root/blackcoin; /bin/sh share/genbuild.sh /root/blackcoin/build/build.h
/usr/lib/i386-linux-gnu/qt5/bin/uic src/qt/forms/coincontroldialog.ui -o
build/ui_coincontroldialog.h
/usr/lib/i386-linux-gnu/qt5/bin/uic src/qt/forms/sendcoinsdialog.ui -o
build/ui_sendcoinsdialog.h
/usr/lib/i386-linux-gnu/qt5/bin/uic src/qt/forms/addressbookpage.ui -o
build/ui_addressbookpage.h
/usr/lib/i386-linux-gnu/qt5/bin/uic
src/qt/forms/signverifymessagedialog.ui -o
build/ui_signverifymessagedialog.h
/usr/lib/i386-linux-gnu/qt5/bin/uic src/qt/forms/aboutdialog.ui -o
build/ui_aboutdialog.h
/usr/lib/i386-linux-gnu/qt5/bin/uic src/qt/forms/editaddressdialog.ui -o
build/ui_editaddressdialog.h
/usr/lib/i386-linux-gnu/qt5/bin/uic
src/qt/forms/transactiondescdialog.ui -o build/ui_transactiondescdialog.h
/usr/lib/i386-linux-gnu/qt5/bin/uic src/qt/forms/overviewpage.ui -o
build/ui_overviewpage.h
/usr/lib/i386-linux-gnu/qt5/bin/uic src/qt/forms/sendcoinsentry.ui -o
build/ui_sendcoinsentry.h
/usr/lib/i386-linux-gnu/qt5/bin/uic src/qt/forms/askpassphrasedialog.ui
-o build/ui_askpassphrasedialog.h
/usr/lib/i386-linux-gnu/qt5/bin/uic src/qt/forms/rpcconsole.ui -o
build/ui_rpcconsole.h
/usr/lib/i386-linux-gnu/qt5/bin/uic src/qt/forms/optionsdialog.ui -o
build/ui_optionsdialog.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_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/i386-linux-gnu/qt5 -isystem
/usr/include/i386-linux-gnu/qt5/QtWidgets -isystem
/usr/include/i386-linux-gnu/qt5/QtGui -isystem
/usr/include/i386-linux-gnu/qt5/QtNetwork -isystem
/usr/include/i386-linux-gnu/qt5/QtDBus -isystem
/usr/include/i386-linux-gnu/qt5/QtCore -Ibuild -Ibuild
-I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o build/txdb-leveldb.o
src/txdb-leveldb.cpp
In file included from src/script.h:18:0,
from src/core.h:11,
from src/main.h:8,
from src/kernel.h:7,
from src/txdb-leveldb.cpp:17:
src/bignum.h:57:24: error: invalid use of incomplete type ‘BIGNUM {aka
struct bignum_st}’
class CBigNum : public BIGNUM
^~~~~~
In file included from /usr/include/openssl/crypto.h:31:0,
from src/allocators.h:12,
from src/serialize.h:22,
from src/core.h:9,
from src/main.h:8,
from src/kernel.h:7,
from src/txdb-leveldb.cpp:17:
/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/script.h:18:0,
from src/core.h:11,
from src/main.h:8,
from src/kernel.h:7,
from src/txdb-leveldb.cpp:17:
src/bignum.h: In constructor ‘CBigNum::CBigNum()’:
src/bignum.h:62: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:67:21: error: ‘BN_init’ was not declared in this scope
BN_init(this);
^
src/bignum.h:68: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:70: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:77: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:84: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(signed char)’:
src/bignum.h:88:49: error: ‘BN_init’ was not declared in this scope
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:49: error: ‘BN_init’ was not declared in this scope
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:49: error: ‘BN_init’ was not declared in this scope
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:49: error: ‘BN_init’ was not declared in this scope
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:49: error: ‘BN_init’ was not declared in this scope
CBigNum(long long n) { BN_init(this); setint64(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’:
src/bignum.h:93:49: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned char n) { BN_init(this); setulong(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’:
src/bignum.h:94:49: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned short n) { BN_init(this); setulong(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’:
src/bignum.h:95:49: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned int n) { BN_init(this); setulong(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int)’:
src/bignum.h:96:49: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned long n) { BN_init(this); setulong(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(long long unsigned int)’:
src/bignum.h:97:49: error: ‘BN_init’ was not declared in this scope
CBigNum(unsigned long long n) { BN_init(this); setuint64(n); }
^
src/bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’:
src/bignum.h:98:49: 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<unsigned char>&)’:
src/bignum.h:102: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:113: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:125: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:136: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::setulong(long unsigned
int)’:
src/bignum.h:142: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 ‘long unsigned int CBigNum::getulong()
const’:
src/bignum.h:148: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 ‘unsigned int CBigNum::getuint() const’:
src/bignum.h:153: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 ‘int CBigNum::getint() const’:
src/bignum.h:158:43: error: cannot convert ‘const CBigNum*’ to ‘const
BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘unsigned int
BN_get_word(const BIGNUM*)’
unsigned long n = BN_get_word(this);
^
src/bignum.h:159: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/script.h:18:0,
from src/core.h:11,
from src/main.h:8,
from src/kernel.h:7,
from src/txdb-leveldb.cpp:17:
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*}’ for argument ‘3’ to ‘BIGNUM* BN_mpi2bn(const unsigned
char*, int, BIGNUM*)’
BN_mpi2bn(pch, p - pch, this);
^
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*}’ for argument ‘1’ to ‘int BN_bn2mpi(const
BIGNUM*, unsigned char*)’
unsigned int nSize = BN_bn2mpi(this, NULL);
^
src/bignum.h:214: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:247: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);
^
src/bignum.h: In member function ‘void CBigNum::setuint256(uint256)’:
src/bignum.h:275: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);
^
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*}’ for argument ‘1’ to ‘int BN_bn2mpi(const
BIGNUM*, unsigned char*)’
unsigned int nSize = BN_bn2mpi(this, NULL);
^
src/bignum.h:284: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::setvch(const
std::vector<unsigned char>&)’:
src/bignum.h:306: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);
^
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*}’ for argument ‘1’ to ‘int BN_bn2mpi(const
BIGNUM*, unsigned char*)’
unsigned int nSize = BN_bn2mpi(this, NULL);
^
src/bignum.h:315: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(unsigned
int)’:
src/bignum.h:329:44: 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], vch.size(), this);
^
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*}’ for argument ‘1’ to ‘int BN_bn2mpi(const
BIGNUM*, unsigned char*)’
unsigned int nSize = BN_bn2mpi(this, NULL);
^
src/bignum.h:338: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:383: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:386: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:388: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:390: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:396: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:443: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:456: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:474: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:477: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:492: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:505: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:518: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:531: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/bn.h:31:0,
from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/kernel.h:7,
from src/txdb-leveldb.cpp:17:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from src/script.h:18:0,
from src/core.h:11,
from src/main.h:8,
from src/kernel.h:7,
from src/txdb-leveldb.cpp:17:
src/bignum.h:531: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/bn.h:31:0,
from src/bignum.h:13,
from src/script.h:18,
from src/core.h:11,
from src/main.h:8,
from src/kernel.h:7,
from src/txdb-leveldb.cpp:17:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from src/script.h:18:0,
from src/core.h:11,
from src/main.h:8,
from src/kernel.h:7,
from src/txdb-leveldb.cpp:17:
src/bignum.h:531: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:539: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:545: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:550: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:564: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:583: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:594: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:600: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:609: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:626: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:653: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:661: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:669: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:677: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:686: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:695: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:703: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:715: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:716: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:717: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:718: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:719: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:720: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); }

^
Makefile:1302 : la recette pour la cible « build/txdb-leveldb.o » a échouée
make: *** [build/txdb-leveldb.o] Erreur 1
Publicité
Poster une réponse
Anonyme