To resolve the following issue please install boost 1.57
Hi!
I've gotten compilation error. I follow the mentioned steps. Could you look?
make
Making all in src
make[1]: Вход в каталог `/home/mgridin/1000GB/projects/HOdlcoin-HODLCoin0.11.3/src'
make[2]: Вход в каталог `/home/mgridin/1000GB/projects/HOdlcoin-HODLCoin0.11.3/src'
CXX crypto/libbitcoinconsensus_la-hmac_sha512.lo
CXX crypto/libbitcoinconsensus_la-ripemd160.lo
CXX crypto/libbitcoinconsensus_la-sha1.lo
CXX crypto/libbitcoinconsensus_la-sha256.lo
CXX crypto/libbitcoinconsensus_la-sha512.lo
CXX libbitcoinconsensus_la-eccryptoverify.lo
CXX libbitcoinconsensus_la-ecwrapper.lo
CXX libbitcoinconsensus_la-hash.lo
CXX primitives/libbitcoinconsensus_la-transaction.lo
In file included from primitives/transaction.cpp:18:0:
./test/bignum.h: In member function 'uint64_t CBigNum::getuint64()':
./test/bignum.h:88:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0, j = vch.size()-1; i < sizeof(n) && j >= 4; i++, j--)
^
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-self-assign'
CXX libbitcoinconsensus_la-pubkey.lo
CXX script/libbitcoinconsensus_la-bitcoinconsensus.lo
CXX script/libbitcoinconsensus_la-interpreter.lo
CXX script/libbitcoinconsensus_la-script.lo
CXX libbitcoinconsensus_la-uint256.lo
CXX libbitcoinconsensus_la-utilstrencodings.lo
CXXLD libbitcoinconsensus.la
CXX hodlcoind-bitcoind.o
CXX libbitcoin_server_a-addrman.o
CXX libbitcoin_server_a-alert.o
CXX libbitcoin_server_a-bloom.o
CXX libbitcoin_server_a-chain.o
CXX libbitcoin_server_a-checkpoints.o
CXX libbitcoin_server_a-init.o
In file included from ./support/pagelocker.h:14:0,
from support/allocators/secure.h:9,
from key.h:11,
from init.cpp:17:
/usr/include/boost/thread/once.hpp: In instantiation of ‘void boost::call_once(Function, boost::once_flag&) [with Function = void (*)()]’:
./support/pagelocker.h:138:89: required from here
[font=Verdana]/usr/include/boost/thread/once.hpp:38:18: error: no matching function for call to ‘call_once(boost::once_flag&, void (*&)())’
call_once(flag,func);[/color][/color][/font]
^
In file included from /usr/include/boost/thread/once.hpp:20:0,
from ./support/pagelocker.h:14,
from support/allocators/secure.h:9,
from key.h:11,
from init.cpp:17:
/usr/include/boost/thread/pthread/once_atomic.hpp:121:15: note: candidate: template
void boost::call_once(boost::once_flag&, boost::detail::thread_move_t, boost::detail::thread_move_t...)
inline void call_once(once_flag& flag, BOOST_THREAD_RV_REF(Function) f, BOOST_THREAD_RV_REF(ArgTypes)... args)
^
/usr/include/boost/thread/pthread/once_atomic.hpp:121:15: note: template argument deduction/substitution failed:
In file included from ./support/pagelocker.h:14:0,
from support/allocators/secure.h:9,
from key.h:11,
from init.cpp:17:
/usr/include/boost/thread/once.hpp:38:18: note: mismatched types ‘boost::detail::thread_move_t’ and ‘void (*)()’
call_once(flag,func);
^
/usr/include/boost/thread/once.hpp:35:13: note: candidate: template void boost::call_once(Function, boost::once_flag&)
inline void call_once(Function func,once_flag& flag)
^
/usr/include/boost/thread/once.hpp:35:13: note: template argument deduction/substitution failed:
/usr/include/boost/thread/once.hpp:38:18: note: cannot convert ‘func’ (type ‘void (*)()’) to type ‘boost::once_flag&’
call_once(flag,func);
^
cc1plus: warning: unrecognized command line option ‘-Wno-self-assign’
make[2]: *** [libbitcoin_server_a-init.o] Ошибка 1
make[2]: Выход из каталога `/home/mgridin/1000GB/projects/HOdlcoin-HODLCoin0.11.3/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/home/mgridin/1000GB/projects/HOdlcoin-HODLCoin0.11.3/src'
make: *** [all-recursive] Ошибка 1