@crysx @ bumacoin
You both are great.
and so are you
tanx ...
but we are all here to help and benefit from it all ...
ive been working on the compilation - and still running into errors ... looks like an ecc / boost issue ...
ill attempt to locate the main cause of it - but am happy to share the problems that have risen ...
below is the error i get when compiling ... the system is centos 7 x64 - using gcc4.8.5-4 - openssl1.0.2f - bdb6.1.26 ...
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/b3-node/granite/libraries/B3_Coin-master/src -I/home/b3-node/granite/libraries/B3_Coin-master/src/obj -I/home/b3-node/granite/deps/include -DENABLE_WALLET -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/include -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
In file included from /home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:25:0,
from /home/b3-node/granite/deps/include/boost/atomic/atomic.hpp:22,
from /home/b3-node/granite/deps/include/boost/atomic.hpp:12,
from /home/b3-node/granite/deps/include/boost/thread/pthread/once_atomic.hpp:20,
from /home/b3-node/granite/deps/include/boost/thread/once.hpp:20,
from /home/b3-node/granite/deps/include/boost/thread.hpp:17,
from util.h:24,
from chainparams.h:11,
from alert.cpp:7:
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]’:
/home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:556:139: required from here
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]::
::to’ [-Wmissing-field-initializers]
value = {};
^
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]’:
/home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:574:100: required from here
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]::::to’ [-Wmissing-field-initializers]
/bin/sh ../share/genbuild.sh obj/build.h
fatal: Not a git repository (or any of the parent directories): .git
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/b3-node/granite/libraries/B3_Coin-master/src -I/home/b3-node/granite/libraries/B3_Coin-master/src/obj -I/home/b3-node/granite/deps/include -DENABLE_WALLET -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/include -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp
In file included from /home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:25:0,
from /home/b3-node/granite/deps/include/boost/atomic/atomic.hpp:22,
from /home/b3-node/granite/deps/include/boost/atomic.hpp:12,
from /home/b3-node/granite/deps/include/boost/thread/pthread/once_atomic.hpp:20,
from /home/b3-node/granite/deps/include/boost/thread/once.hpp:20,
from /home/b3-node/granite/deps/include/boost/thread.hpp:17,
from util.h:24,
from chainparams.h:11,
from protocol.h:13,
from net.h:21,
from checkpoints.h:8,
from checkpoints.cpp:8:
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]’:
/home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:556:139: required from here
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]::::to’ [-Wmissing-field-initializers]
value = {};
^
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]’:
/home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:574:100: required from here
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]::::to’ [-Wmissing-field-initializers]
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/b3-node/granite/libraries/B3_Coin-master/src -I/home/b3-node/granite/libraries/B3_Coin-master/src/obj -I/home/b3-node/granite/deps/include -DENABLE_WALLET -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/include -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/netbase.d -o obj/netbase.o netbase.cpp
In file included from /home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:25:0,
from /home/b3-node/granite/deps/include/boost/atomic/atomic.hpp:22,
from /home/b3-node/granite/deps/include/boost/atomic.hpp:12,
from /home/b3-node/granite/deps/include/boost/thread/pthread/once_atomic.hpp:20,
from /home/b3-node/granite/deps/include/boost/thread/once.hpp:20,
from /home/b3-node/granite/deps/include/boost/thread.hpp:17,
from util.h:24,
from netbase.cpp:7:
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]’:
/home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:556:139: required from here
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]::::to’ [-Wmissing-field-initializers]
value = {};
^
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]’:
/home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:574:100: required from here
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]::::to’ [-Wmissing-field-initializers]
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/b3-node/granite/libraries/B3_Coin-master/src -I/home/b3-node/granite/libraries/B3_Coin-master/src/obj -I/home/b3-node/granite/deps/include -DENABLE_WALLET -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/include -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/addrman.d -o obj/addrman.o addrman.cpp
In file included from /home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:25:0,
from /home/b3-node/granite/deps/include/boost/atomic/atomic.hpp:22,
from /home/b3-node/granite/deps/include/boost/atomic.hpp:12,
from /home/b3-node/granite/deps/include/boost/thread/pthread/once_atomic.hpp:20,
from /home/b3-node/granite/deps/include/boost/thread/once.hpp:20,
from /home/b3-node/granite/deps/include/boost/thread.hpp:17,
from util.h:24,
from chainparams.h:11,
from protocol.h:13,
from addrman.h:8,
from addrman.cpp:5:
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]’:
/home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:556:139: required from here
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]::::to’ [-Wmissing-field-initializers]
value = {};
^
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]’:
/home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:574:100: required from here
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]::::to’ [-Wmissing-field-initializers]
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/b3-node/granite/libraries/B3_Coin-master/src -I/home/b3-node/granite/libraries/B3_Coin-master/src/obj -I/home/b3-node/granite/deps/include -DENABLE_WALLET -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/include -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/crypter.d -o obj/crypter.o crypter.cpp
In file included from /home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:25:0,
from /home/b3-node/granite/deps/include/boost/atomic/atomic.hpp:22,
from /home/b3-node/granite/deps/include/boost/atomic.hpp:12,
from /home/b3-node/granite/deps/include/boost/thread/pthread/once_atomic.hpp:20,
from /home/b3-node/granite/deps/include/boost/thread/once.hpp:20,
from /home/b3-node/granite/deps/include/boost/thread.hpp:17,
from util.h:24,
from script.h:19,
from keystore.h:11,
from crypter.h:10,
from crypter.cpp:5:
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]’:
/home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:556:139: required from here
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = long unsigned int; From = void*]::::to’ [-Wmissing-field-initializers]
value = {};
^
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp: In instantiation of ‘To boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]’:
/home/b3-node/granite/deps/include/boost/atomic/detail/atomic_template.hpp:574:100: required from here
/home/b3-node/granite/deps/include/boost/atomic/detail/bitwise_cast.hpp:39:14: warning: missing initializer for member ‘boost::atomics::detail::bitwise_cast(const From&) [with To = void*; From = long unsigned int]::::to’ [-Wmissing-field-initializers]
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/home/b3-node/granite/libraries/B3_Coin-master/src -I/home/b3-node/granite/libraries/B3_Coin-master/src/obj -I/home/b3-node/granite/deps/include -DENABLE_WALLET -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/include -I/home/b3-node/granite/libraries/B3_Coin-master/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/key.d -o obj/key.o key.cpp
key.cpp: In member function ‘bool CKey::SignCompact(const uint256&, std::vector&) const’:
key.cpp:552:17: warning: unused variable ‘ret’ [-Wunused-variable]
if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
^
key.cpp: In member function ‘bool CPubKey::VerifyCompact(const uint256&, const std::vector&) const’:
key.cpp:632:10: warning: unused variable ‘fComp’ [-Wunused-variable]
bool fComp = IsCompressed();
^
key.cpp: In member function ‘bool CPubKey::Decompress()’:
key.cpp:669:104: error: cannot convert ‘int*’ to ‘unsigned char*’ for argument ‘3’ to ‘int secp256k1_ec_pubkey_decompress(const secp256k1_context_t*, const unsigned char*, unsigned char*, int*)’
int ret = secp256k1_ec_pubkey_decompress(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &clen);
^
In file included from /home/b3-node/granite/deps/include/boost/system/system_error.hpp:14:0,
from /home/b3-node/granite/deps/include/boost/thread/exceptions.hpp:22,
from /home/b3-node/granite/deps/include/boost/thread/pthread/mutex.hpp:14,
from /home/b3-node/granite/deps/include/boost/thread/mutex.hpp:16,
from allocators.h:10,
from key.h:10,
from key.cpp:14:
/home/b3-node/granite/deps/include/boost/system/error_code.hpp: At global scope:
/home/b3-node/granite/deps/include/boost/system/error_code.hpp:221:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
static const error_category & posix_category = generic_category();
^
/home/b3-node/granite/deps/include/boost/system/error_code.hpp:222:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
static const error_category & errno_ecat = generic_category();
^
/home/b3-node/granite/deps/include/boost/system/error_code.hpp:223:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
static const error_category & native_ecat = system_category();
^
make: *** [obj/key.o] Error 1
DONE ...
so if there is anything i am over looking - and can be fixed - i would luv to hear from anyone that can see the issue ...
tanx ...
#crysx