Bitbean User Friendly Forum

raspberry PI makefile errors

append delete Britpol

Hey just tried making a debian build for the wallet
’ to ‘const BIGNUM* {aka const bignum_st*}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM*, const BIGNUM*)’
if (BN_cmp(&bn, &bn0) == 0)
^
Desktop/bitbean-core-master/src/bignum.h:363: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)
^
Desktop/bitbean-core-master/src/bignum.h:365: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))
^
Desktop/bitbean-core-master/src/bignum.h:371: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))
^
Desktop/bitbean-core-master/src/bignum.h: In member function ‘CBigNum CBigNum::pow(const CBigNum&) const’:
Desktop/bitbean-core-master/src/bignum.h:418: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))
^
Desktop/bitbean-core-master/src/bignum.h: In member function ‘CBigNum CBigNum::mul_mod(const CBigNum&, const CBigNum&) const’:
Desktop/bitbean-core-master/src/bignum.h:431: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))
^
Desktop/bitbean-core-master/src/bignum.h: In member function ‘CBigNum CBigNum::pow_mod(const CBigNum&, const CBigNum&) const’:
Desktop/bitbean-core-master/src/bignum.h:449: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))
^
Desktop/bitbean-core-master/src/bignum.h:452: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))
^
Desktop/bitbean-core-master/src/bignum.h: In member function ‘CBigNum CBigNum::inverse(const CBigNum&) const’:
Desktop/bitbean-core-master/src/bignum.h:467: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))
^
Desktop/bitbean-core-master/src/bignum.h: In static member function ‘static CBigNum CBigNum::generatePrime(unsigned int, bool)’:
Desktop/bitbean-core-master/src/bignum.h:480: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))
^
Desktop/bitbean-core-master/src/bignum.h: In member function ‘CBigNum CBigNum::gcd(const CBigNum&) const’:
Desktop/bitbean-core-master/src/bignum.h:493: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))
^
Desktop/bitbean-core-master/src/bignum.h: In member function ‘bool CBigNum::isPrime(int) const’:
Desktop/bitbean-core-master/src/bignum.h:506: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 Desktop/bitbean-core-master/src/bignum.h:14,
from Desktop/bitbean-core-master/src/chainparams.h:10,
from Desktop/bitbean-core-master/src/protocol.h:14,
from Desktop/bitbean-core-master/src/net.h:20,
from Desktop/bitbean-core-master/src/main.h:11,
from Desktop/bitbean-core-master/src/kernel.h:7,
from Desktop/bitbean-core-master/src/txdb-leveldb.cpp:18:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from Desktop/bitbean-core-master/src/chainparams.h:10:0,
from Desktop/bitbean-core-master/src/protocol.h:14,
from Desktop/bitbean-core-master/src/net.h:20,
from Desktop/bitbean-core-master/src/main.h:11,
from Desktop/bitbean-core-master/src/kernel.h:7,
from Desktop/bitbean-core-master/src/txdb-leveldb.cpp:18:
Desktop/bitbean-core-master/src/bignum.h:506: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 Desktop/bitbean-core-master/src/bignum.h:14,
from Desktop/bitbean-core-master/src/chainparams.h:10,
from Desktop/bitbean-core-master/src/protocol.h:14,
from Desktop/bitbean-core-master/src/net.h:20,
from Desktop/bitbean-core-master/src/main.h:11,
from Desktop/bitbean-core-master/src/kernel.h:7,
from Desktop/bitbean-core-master/src/txdb-leveldb.cpp:18:
/usr/include/openssl/bn.h:291:1: note: declared here
DEPRECATEDIN_0_9_8(int
^
In file included from Desktop/bitbean-core-master/src/chainparams.h:10:0,
from Desktop/bitbean-core-master/src/protocol.h:14,
from Desktop/bitbean-core-master/src/net.h:20,
from Desktop/bitbean-core-master/src/main.h:11,
from Desktop/bitbean-core-master/src/kernel.h:7,
from Desktop/bitbean-core-master/src/txdb-leveldb.cpp:18:
Desktop/bitbean-core-master/src/bignum.h:506: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);
^
Desktop/bitbean-core-master/src/bignum.h: In member function ‘bool CBigNum::isOne() const’:
Desktop/bitbean-core-master/src/bignum.h:514: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);
^
Desktop/bitbean-core-master/src/bignum.h: In member function ‘bool CBigNum::operator!() const’:
Desktop/bitbean-core-master/src/bignum.h:520: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);
^
Desktop/bitbean-core-master/src/bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’:
Desktop/bitbean-core-master/src/bignum.h:525: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))
^
Desktop/bitbean-core-master/src/bignum.h: In member function ‘CBigNum& CBigNum::operator*=(const CBigNum&)’:
Desktop/bitbean-core-master/src/bignum.h:539: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))
^
In file included from Desktop/bitbean-core-master/src/kernel.h:7:0,
from Desktop/bitbean-core-master/src/txdb-leveldb.cpp:18:
Desktop/bitbean-core-master/src/main.h: At global scope:
Desktop/bitbean-core-master/src/main.h:135:25: error: ‘CTMemPool’ was not declared in this scope
bool AcceptToMemoryPool(CTMemPool& pool, CTransaction &tx, bool fLimitFree, bool* pfMissingInputs);
^~~~~~~~~
Desktop/bitbean-core-master/src/main.h:135:36: error: ‘pool’ was not declared in this scope
bool AcceptToMemoryPool(CTMemPool& pool, CTransaction &tx, bool fLimitFree, bool* pfMissingInputs);
^~~~
Desktop/bitbean-core-master/src/main.h:135:55: error: expected primary-expression before ‘&’ token
bool AcceptToMemoryPool(CTMemPool& pool, CTransaction &tx, bool fLimitFree, bool* pfMissingInputs);
^
Desktop/bitbean-core-master/src/main.h:135:56: error: ‘tx’ was not declared in this scope
bool AcceptToMemoryPool(CTMemPool& pool, CTransaction &tx, bool fLimitFree, bool* pfMissingInputs);
^~
Desktop/bitbean-core-master/src/main.h:135:60: error: expected primary-expression before ‘bool’
bool AcceptToMemoryPool(CTMemPool& pool, CTransaction &tx, bool fLimitFree, bool* pfMissingInputs);
^~~~
Desktop/bitbean-core-master/src/main.h:135:77: error: expected primary-expression before ‘bool’
eptToMemoryPool(CTMemPool& pool, CTransaction &tx, bool fLimitFree, bool* pfMissingInputs);
^~~~
Desktop/bitbean-core-master/src/main.h:135:98: error: expression list treated as compound expression in initializer [-fpermissive]
ool(CTMemPool& pool, CTransaction &tx, bool fLimitFree, bool* pfMissingInputs);
^
In file included from Desktop/bitbean-core-master/src/kernel.h:7:0,
from Desktop/bitbean-core-master/src/txdb-leveldb.cpp:18:
Desktop/bitbean-core-master/src/main.h: In member function ‘bool CTransaction::IsFinal(int, int64_t) const’:
Desktop/bitbean-core-master/src/main.h:425:31: error: ‘AssertLockHeld’ was not declared in this scope
AssertLockHeld(cs_main);
^
Makefile.Release:1212: recipe for target 'build/txdb-leveldb.o' failed
make[1]: *** [build/txdb-leveldb.o] Error 1
make[1]: Leaving directory '/home/pi'
Makefile:38: recipe for target 'release' failed
make: *** [release] Error 2

since i am no programmer, just your average joe who likes beans (all kinds, digital and the Heinz variety) who does as thereadme files tell him I can't make heads or tails of it. Any help? Is it just not possible to get this thing to run on a raspberry PI? ps also tried doing it in qt creator. got the kits installed but still no luck :( I just wanna sprout all day everyday!

Reply RSS

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Bitbeaner, Tuwie