reddcoin-project / reddcoin-3.10

Reddcoin: the digital social currency
http://www.reddcoin.com
MIT License
285 stars 114 forks source link

Can't compile reddcoin (latest as of 18-07) #103

Closed rudybroersma closed 4 years ago

rudybroersma commented 7 years ago

Trying to compile Reddcoin, i get errors when compiling on debian 9. a lot of errors regarding conversion:

`$

make Making all in src make[1]: Entering directory '/home/reddcoin/reddcoin/src' make all-recursive make[2]: Entering directory '/home/reddcoin/reddcoin/src' Making all in . make[3]: Entering directory '/home/reddcoin/reddcoin/src' CXX addrman.o In file included from chainparams.h:9:0, from protocol.h:13, from addrman.h:9, from addrman.cpp:5: bignum.h:56: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 allocators.h:15, from serialize.h:9, from netbase.h:13, from addrman.h:8, from addrman.cpp:5: /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 chainparams.h:9:0, from protocol.h:13, from addrman.h:9, from addrman.cpp:5: bignum.h: In constructor ‘CBigNum::CBigNum()’: bignum.h:61:21: error: ‘BN_init’ was not declared in this scope BN_init(this); ^ bignum.h: In copy constructor ‘CBigNum::CBigNum(const CBigNum&)’: bignum.h:66:21: error: ‘BN_init’ was not declared in this scope BN_init(this); ^ bignum.h:67: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)) ^ bignum.h:69:31: error: cannot convert ‘CBigNum’ to ‘BIGNUM {aka bignum_st}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM)’ BN_clear_free(this); ^ bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’: bignum.h:76: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)) ^ bignum.h: In destructor ‘CBigNum::~CBigNum()’: bignum.h:83:27: error: cannot convert ‘CBigNum’ to ‘BIGNUM {aka bignum_st}’ for argument ‘1’ to ‘void BN_clear_free(BIGNUM)’ BN_clear_free(this); ^ bignum.h: In constructor ‘CBigNum::CBigNum(signed char)’: bignum.h:87: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); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(short int)’: bignum.h:88:49: error: ‘BN_init’ was not declared in this scope CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(int)’: bignum.h:89:49: error: ‘BN_init’ was not declared in this scope CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(long int)’: bignum.h:90:49: error: ‘BN_init’ was not declared in this scope CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(long long int)’: bignum.h:91:49: error: ‘BN_init’ was not declared in this scope CBigNum(long long n) { BN_init(this); setint64(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(unsigned char)’: bignum.h:92:49: error: ‘BN_init’ was not declared in this scope CBigNum(unsigned char n) { BN_init(this); setulong(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(short unsigned int)’: bignum.h:93:49: error: ‘BN_init’ was not declared in this scope CBigNum(unsigned short n) { BN_init(this); setulong(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(unsigned int)’: bignum.h:94:49: error: ‘BN_init’ was not declared in this scope CBigNum(unsigned int n) { BN_init(this); setulong(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(long unsigned int)’: bignum.h:95:49: error: ‘BN_init’ was not declared in this scope CBigNum(unsigned long n) { BN_init(this); setulong(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(long long unsigned int)’: bignum.h:96:49: error: ‘BN_init’ was not declared in this scope CBigNum(unsigned long long n) { BN_init(this); setuint64(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(uint256)’: bignum.h:97:49: error: ‘BN_init’ was not declared in this scope explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); } ^ bignum.h: In constructor ‘CBigNum::CBigNum(const std::vector&)’: bignum.h:101:21: error: ‘BN_init’ was not declared in this scope BN_init(this); ^ bignum.h: In member function ‘void CBigNum::setulong(long unsigned int)’: bignum.h:107:33: error: cannot convert ‘CBigNum’ to ‘BIGNUM {aka bignum_st}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM, long unsigned int)’ if (!BN_set_word(this, n)) ^ bignum.h: In member function ‘long unsigned int CBigNum::getulong() const’: bignum.h:113:32: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM)’ return BN_get_word(this); ^ bignum.h: In member function ‘unsigned int CBigNum::getuint() const’: bignum.h:118:32: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM)’ return BN_get_word(this); ^ bignum.h: In member function ‘int CBigNum::getint() const’: bignum.h:123:43: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM)’ unsigned long n = BN_get_word(this); ^ bignum.h:124: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 chainparams.h:9:0, from protocol.h:13, from addrman.h:9, from addrman.cpp:5: bignum.h: In member function ‘void CBigNum::setint64(int64_t)’: bignum.h:172: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); ^ bignum.h: In member function ‘void CBigNum::setuint64(uint64_t)’: bignum.h:199: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); ^ bignum.h: In member function ‘uint64_t CBigNum::getuint64() const’: bignum.h:204: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); ^ bignum.h:208: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]); ^ bignum.h: In member function ‘void CBigNum::setuint256(uint256)’: bignum.h:242: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); ^ bignum.h: In member function ‘uint256 CBigNum::getuint256() const’: bignum.h:247: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); ^ bignum.h:251: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]); ^ bignum.h: In member function ‘void CBigNum::setvch(const std::vector&)’: bignum.h:272: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); ^ bignum.h: In member function ‘std::vector CBigNum::getvch() const’: bignum.h:277: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); ^ bignum.h:281: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]); ^ bignum.h: In member function ‘CBigNum& CBigNum::SetCompact(unsigned int)’: bignum.h:317:36: error: cannot convert ‘CBigNum’ to ‘BIGNUM {aka bignum_st}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM, long unsigned int)’ BN_set_word(this, nWord); ^ bignum.h:321:36: error: cannot convert ‘CBigNum’ to ‘BIGNUM {aka bignum_st}’ for argument ‘1’ to ‘int BN_set_word(BIGNUM, long unsigned int)’ BN_set_word(this, nWord); ^ bignum.h:322:46: error: cannot convert ‘CBigNum’ to ‘BIGNUM {aka bignum_st}’ for argument ‘1’ to ‘int BN_lshift(BIGNUM, const BIGNUM, int)’ BN_lshift(this, this, 8(nSize-3)); ^ bignum.h:324:40: error: cannot convert ‘CBigNum’ to ‘BIGNUM {aka bignum_st}’ for argument ‘1’ to ‘void BN_set_negative(BIGNUM, int)’ BN_set_negative(this, fNegative); ^ In file included from bignum.h:17:0, from chainparams.h:9, from protocol.h:13, from addrman.h:9, from addrman.cpp:5: bignum.h: In member function ‘unsigned int CBigNum::GetCompact() const’: bignum.h:330:30: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘int BN_num_bits(const BIGNUM)’ unsigned int nSize = BN_num_bytes(this); ^ In file included from chainparams.h:9:0, from protocol.h:13, from addrman.h:9, from addrman.cpp:5: bignum.h:333:40: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM)’ nCompact = BN_get_word(this) << 8(3-nSize); ^ bignum.h:337:45: error: cannot convert ‘CBigNum’ to ‘BIGNUM {aka bignum_st}’ for argument ‘1’ to ‘int BN_rshift(BIGNUM, const BIGNUM, int)’ BN_rshift(&bn, this, 8(nSize-3)); ^ bignum.h:338:39: error: cannot convert ‘CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘long unsigned int BN_get_word(const BIGNUM)’ nCompact = BN_get_word(&bn); ^ bignum.h:348:41: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘int BN_is_negative(const BIGNUM)’ nCompact |= (BN_is_negative(this) ? 0x00800000 : 0); ^ bignum.h: In member function ‘std::__cxx11::string CBigNum::ToString(int) const’: bignum.h:389: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); ^ bignum.h:392: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) ^ bignum.h:394: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) ^ bignum.h:396: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)) ^ bignum.h:402: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)) ^ bignum.h: In member function ‘bool CBigNum::operator!() const’: bignum.h:435: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); ^ bignum.h: In member function ‘CBigNum& CBigNum::operator+=(const CBigNum&)’: bignum.h:440: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)) ^ bignum.h: In member function ‘CBigNum& CBigNum::operator=(const CBigNum&)’: bignum.h:454: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)) ^ bignum.h: In member function ‘CBigNum& CBigNum::operator<<=(unsigned int)’: bignum.h:473: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)) ^ bignum.h: In member function ‘CBigNum& CBigNum::operator>>=(unsigned int)’: bignum.h:484: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) ^ bignum.h:490: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)) ^ bignum.h: In member function ‘CBigNum& CBigNum::operator++()’: bignum.h:499: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())) ^ bignum.h: In member function ‘CBigNum& CBigNum::operator--()’: bignum.h:516: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())) ^ bignum.h: In function ‘const CBigNum operator+(const CBigNum&, const CBigNum&)’: bignum.h:541: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)) ^ bignum.h: In function ‘const CBigNum operator-(const CBigNum&, const CBigNum&)’: bignum.h:549: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)) ^ bignum.h: In function ‘const CBigNum operator-(const CBigNum&)’: bignum.h:557: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)); ^ bignum.h: In function ‘const CBigNum operator(const CBigNum&, const CBigNum&)’: bignum.h:565: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)) ^ bignum.h: In function ‘const CBigNum operator/(const CBigNum&, const CBigNum&)’: bignum.h:574: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)) ^ In file included from bignum.h:17:0, from chainparams.h:9, from protocol.h:13, from addrman.h:9, from addrman.cpp:5: bignum.h: In function ‘const CBigNum operator%(const CBigNum&, const CBigNum&)’: bignum.h:583:10: error: cannot convert ‘CBigNum’ to ‘BIGNUM {aka bignum_st}’ for argument ‘2’ to ‘int BN_div(BIGNUM, BIGNUM, const BIGNUM, const BIGNUM, BN_CTX)’ if (!BN_mod(&r, &a, &b, pctx)) ^ In file included from chainparams.h:9:0, from protocol.h:13, from addrman.h:9, from addrman.cpp:5: bignum.h: In function ‘const CBigNum operator<<(const CBigNum&, unsigned int)’: bignum.h:591: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)) ^ bignum.h: In function ‘bool operator==(const CBigNum&, const CBigNum&)’: bignum.h:603:83: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM, const BIGNUM)’ inline bool operator==(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) == 0); } ^ bignum.h: In function ‘bool operator!=(const CBigNum&, const CBigNum&)’: bignum.h:604:83: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM, const BIGNUM)’ inline bool operator!=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) != 0); } ^ bignum.h: In function ‘bool operator<=(const CBigNum&, const CBigNum&)’: bignum.h:605:83: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM, const BIGNUM)’ inline bool operator<=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) <= 0); } ^ bignum.h: In function ‘bool operator>=(const CBigNum&, const CBigNum&)’: bignum.h:606:83: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM, const BIGNUM)’ inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); } ^ bignum.h: In function ‘bool operator<(const CBigNum&, const CBigNum&)’: bignum.h:607:83: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM, const BIGNUM)’ inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); } ^ bignum.h: In function ‘bool operator>(const CBigNum&, const CBigNum&)’: bignum.h:608:83: error: cannot convert ‘const CBigNum’ to ‘const BIGNUM {aka const bignum_st}’ for argument ‘1’ to ‘int BN_cmp(const BIGNUM, const BIGNUM*)’ inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); } ^ Makefile:862: recipe for target 'addrman.o' failed make[3]: [addrman.o] Error 1 make[3]: Leaving directory '/home/reddcoin/reddcoin/src' Makefile:884: recipe for target 'all-recursive' failed make[2]: [all-recursive] Error 1 make[2]: Leaving directory '/home/reddcoin/reddcoin/src' Makefile:669: recipe for target 'all' failed make[1]: [all] Error 2 make[1]: Leaving directory '/home/reddcoin/reddcoin/src' Makefile:510: recipe for target 'all-recursive' failed make: [all-recursive] Error 1 `

Any ideas how I might solve this?

HenryYoung42 commented 7 years ago

Did you first run autogen.sh and configure ? That could explain the undefined macros.

rudybroersma commented 7 years ago

Yes, did all of that :)

$ ./autogen.sh configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

$ ./configure --without-miniupnpc --with-incompatible-bdb
checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking for gcc... gcc checking whether we are using the GNU Objective C compiler... no checking whether gcc accepts -g... no checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking for g++... g++ checking whether we are using the GNU Objective C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... gcc3 checking for a sed that does not truncate output... /bin/sed checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for strip... /usr/bin/strip checking for gcov... /usr/bin/gcov checking for lcov... no checking for java... /usr/bin/java checking for genhtml... no checking for git... /usr/bin/git checking for ccache... no checking for xgettext... /usr/bin/xgettext checking for hexdump... /usr/bin/hexdump checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking whether the linker accepts -Wl,--large-address-aware... no checking whether C++ compiler accepts -Wstack-protector... yes checking whether C++ compiler accepts -fstack-protector-all... yes checking whether C++ compiler accepts -fPIE... yes checking whether C++ preprocessor accepts -D_FORTIFY_SOURCE=2... yes checking whether C++ preprocessor accepts -U_FORTIFY_SOURCE... yes checking whether the linker accepts -Wl,--dynamicbase... no checking whether the linker accepts -Wl,--nxcompat... no checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -pie... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for MSG_NOSIGNAL... yes checking for Berkeley DB C++ headers... default configure: WARNING: Found Berkeley DB other than 4.8; wallets opened by this build will not be portable! checking for main in -ldb_cxx-4.8... no checking for main in -ldb_cxx... yes checking for boostlib >= 1.20.0... yes checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes checking whether the Boost::Filesystem library is available... yes checking for exit in -lboost_filesystem... yes checking whether the Boost::Program_Options library is available... yes checking for exit in -lboost_program_options... yes checking whether the Boost::Thread library is available... yes checking for exit in -lboost_thread... yes checking whether the Boost::Chrono library is available... yes checking for exit in -lboost_chrono... yes checking whether the Boost::Unit_Test_Framework library is available... yes checking for dynamic linked boost test... yes checking for SSL... yes checking for CRYPTO... yes checking for PROTOBUF... yes checking for QR... no checking for protoc... /usr/bin/protoc checking whether to build bitcoind... yes checking whether to build bitcoin-cli... yes checking for QT... yes checking for QT_TEST... yes checking for QT_DBUS... yes checking for moc-qt4... /usr/bin/moc-qt4 checking for uic-qt4... /usr/bin/uic-qt4 checking for rcc-qt4... no checking for rcc4... no checking for rcc... /usr/bin/rcc checking for lrelease-qt4... /usr/bin/lrelease-qt4 checking for lupdate-qt4... /usr/bin/lupdate-qt4 checking whether to build Bitcoin Core GUI... yes (Qt4) checking if ccache should be used... no checking if wallet should be enabled... yes checking whether to build with support for UPnP... no checking whether to build GUI with support for D-Bus... yes checking whether to build GUI with support for QR codes... no checking whether to build test_reddcoin-qt... yes checking if SSE2 should be enabled... yes checking whether to build test_reddcoin... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/test/Makefile config.status: creating src/qt/Makefile config.status: creating src/qt/test/Makefile config.status: creating share/setup.nsi config.status: creating share/qt/Info.plist config.status: creating qa/pull-tester/run-bitcoind-for-test.sh config.status: creating qa/pull-tester/build-tests.sh config.status: creating src/bitcoin-config.h config.status: src/bitcoin-config.h is unchanged config.status: executing depfiles commands

HenryYoung42 commented 7 years ago

And you installed all dependencies ? Here's my history from a vanilla Ubuntu 16.04:

sudo apt-get build-essential sudo apt-get install build-essential sudo apt-get install libtool autotools-dev autoconf sudo apt-get install libssl-dev sudo apt-get install libboost-all-dev sudo add-apt-repository ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get install db4.8 sudo apt-get install libdb4.8-dev sudo apt-get install libdb4.8++-dev sudo apt-get install libminiupnpc-dev sudo apt-get install libqt4-dev libprotobuf-dev protobuf-compiler sudo apt-get install libqrencode-dev cd reddcoin ./autogen.sh ./configure make make install

HenryYoung42 commented 7 years ago

As a separate issue that you will hit when you fix the current one, you need specifically the 4.8 database version per the above and per the warning message in your output:

checking for Berkeley DB C++ headers... default configure: WARNING: Found Berkeley DB other than 4.8; wallets opened by this build will not be portable!

rudybroersma commented 7 years ago

I now have all the dependencies, still same output. If I was missing deps, configure should have failed.

I am aware that I am using BDB >4.8. For me its not an issue that my wallet will not be portable.

rudybroersma commented 7 years ago

It seems this is an issue with libssl in Debian 9. The issue is discussed here:

https://github.com/FeatherCoin/Feathercoin/issues/177

HenryYoung42 commented 7 years ago

Looks like it's connected with your openssl version: https://github.com/FeatherCoin/Feathercoin/issues/177

You can always research these issues by googling the error message and looking for answers for any crypto forked from Bitcoin - much of the code is the same for all (with Reddcoin 2.0 being based on Bitcoin 0.9), with a higher probability that issues have been encountered with other coins than specifically with Reddcoin. The answers to such issues normally port over to Reddcoin very easily.

HenryYoung42 commented 7 years ago

Please note that the dependency on openssl will be removed in Reddcoin Core 2.1, reflecting similar changes in Bitcoin (0.12).

HenryYoung42 commented 7 years ago

Hello Nikostr - I explained to you before that it is YOU who are subscribed to updates from this project on Github. You are the only person who can change your own settings. Nobody else has access. You set this up originally. It is your responsibility to log into your github account and turn off these updates. You may find the following helpful: https://webapps.stackexchange.com/questions/43096/stop-receiving-github-notifications

HenryYoung42 commented 7 years ago

Dear Nikostr - you have left me with ho option other than to report you to the Github site administrators as an "abusive user". Perhaps they will be able to remove you, at least as a subscriber to this project Here is the text of my complaint:

This user keeps on posting comments to reddcoin-project/reddcoin asking that "this site" (presumably Github) is uninstalled from his machine (I assume foreign language issues or lack of understanding of what Github is). I think somehow he has become subscribed to updates for this project without realizing it and doesn't wish to receive the resulting emails. I have informed him on multiple occasions that he should log into Github and update his settings accordingly, yet he still insists on posting these non-project related comments to the project by email. I seem to have no option other than to report him as an abusive user since Github provides no means of removing users subscriptions from projects.

HenryYoung42 commented 7 years ago

Can you build now ? If so could you close the issue please ?

rudybroersma commented 7 years ago

Why should I be able to build now? There have been no changes to the repository. Latest commit is almost 8 months ago.

HenryYoung42 commented 7 years ago

Bet we already established that the problem is your build environment. You need to install the dependent openssl version. There is no need for any commits - the software has been stable with no reported issues !

rudybroersma commented 7 years ago

I do not fully agree. I feel software that is not considered obsolete or is unmaintained should compile with recent software.

You are saying I should downgrade my libraries (or atleast install a separate, older version) I feel the software should work with recent (current) versions.

Especially because this issue is fixed in later versions of Litecoin (IIRC), which Reddcoin is based upon I feel a backport is the right way to deal with this issue.

Anyway, I understand that you disagree. I'll close the issue.

HenryYoung42 commented 7 years ago

Perspectives vary - yours has some validity. However the fact of the matter is that Reddcoin Core 2.0 is based on Bitcoin 0.9 and this is the situation as documented elsewhere. If you wish to build yourself, then you need either to install the dependent openssl version or setup an Ubuntu build env (16.04 know to work fine). Current work is under war to update aspects of Reddcoin Core to variously Bitcoin 12 and 14. We're not going to be investing any effort into updating Redcoin Core 2,0 to be buildable easily on default Debian 9 libraries as per your requirement - sorry. You know the work around :)

HenryYoung42 commented 7 years ago

Please note also that Reddcoin is no longer based on Litecoin. It was up to Reddcoin Core 1.4, but Reddcoin Core 2.0 was rebased onto Bitcoin 0.9 specifically to pick up support for OP_RETURN (required by Redd-ID) and BIP-66.

oritwoen commented 7 years ago

These are common OpenSSL errors. Most cryptocurrencies only support version 1.0. If you have version 1.1 then check the following instruction.

Create file build.sh with:

export PKG_CONFIG_PATH="/usr/lib/openssl-1.0/pkgconfig" #CHANGE TO OWN OPENSSL PATH
export CXXFLAGS+=" -I/usr/include/openssl-1.0" #CHANGE TO OWN OPENSSL PATH
export LDFLAGS+=" -L/usr/lib/openssl-1.0 -lssl" #CHANGE TO OWN OPENSSL PATH

./autogen.sh
./configure
make -j4

and run: ./build.sh

FloydStash commented 6 years ago

@Redni Could you please elaborate on the "#change to own openssl path" i'm not a good swimmer in unix and can't seem to figure out what my paths are.

When writing "openssl version -d" the info i'm given is: OPENSSLDIR: : "/usr/lib/ssl" taking that into account i believe my first command should be like this: export PKG_CONFIG_PATH="/usr/lib/ssl/pkgconfig"

however when i check for the path of /usr/include/, i only seem to find /usr/include/openssl/withalottafiles so my second command would be? : export CXXFLAGS+=" -I/usr/include/openssl"

and the final command would be: export LDFLAGS+=" -L/usr/lib/ssl -lssl"

After running these commands i run: ./autogen.sh result: configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Then at ./configure result seems to be normal as far as a total noob can see.

now for the big final i run the make command. make -j4 result: Huge list of bignum errors, just as OP initially described, so no fix for the problem :(

FloydStash commented 6 years ago

Removing Openssl 1.1.0 and installing 1.0.1 seemed to fix BIGNUM compile error so far..

Remove the current version of libssl-dev ( 1.1.0f-3 )
sudo apt-get remove libssl-dev

Set your repository list to point to "jessie" instead of "stretch", save and exit.
sudo nano /etc/apt/sources.list

Then do sudo apt-get update to download the packages for jessie

Then do sudo apt-get install libssl-dev package, it should be version 1.0.1t-1

Follow the instructions with cd src && make -f makefile.unix

When complete, type sudo apt-mark hold libssl-dev to make the package to not upgrade in the future

Switch back your sources, by changing 'jessie' back to 'stretch' in number 2

Do a sudo apt-get update and sudo apt-get upgrade and make sure it doesn't try and install libssl-dev (it will say it has been kept back)

Continue with guide!

Credit to @demon and @dev0tion for all their help and guidance!

(solution to downgrading openSSL to 1.0.1 found on this page: https://github.com/stratisproject/stratisX/issues/33) i'm curious to see if this will fix all my issues, so far compiling seems to work.

reddink commented 6 years ago

Thanks @FloydStash for the detailed response (and credit to @demon and @dev0tion for all their help and guidance!). if you can confirm successful compile, i will add this into an amendment to the current build doc to help deal with newer OS

FloydStash commented 6 years ago

Results start out with good progress (to the untrained eye)

fValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const int&>, std::tuple<>}; _Key = int; _Val = std::pair<const int, CAddrInfo>; _KeyOfValue = std::_Select1st<std::pair<const int, CAddrInfo> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, CAddrInfo> >]’: /usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/map:61:0, from allocators.h:9, from serialize.h:9, from netbase.h:13, from addrman.h:8, from addrman.cpp:5: /usr/include/c++/6/bits/stl_map.h: In member function ‘CAddress CAddrMan::Select_(int)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘void CAddrMan::SwapRandom(unsigned int, unsigned int)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘int CAddrMan::ShrinkNew(int)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘void CAddrMan::GetAddr_(std::vector<CAddress>&)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘int CAddrMan::SelectTried(int)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘void CAddrMan::MakeTried(CAddrInfo&, int, int)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘CAddrInfo* CAddrMan::Create(const CAddress&, const CNetAddr&, int*)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ CXX alert.o In file included from /usr/include/c++/6/map:60:0, from allocators.h:9, from serialize.h:9, from alert.h:9, from alert.cpp:6: /usr/include/c++/6/bits/stl_tree.h: In member function ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase_aux(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator) [with _Key = uint256; _Val = std::pair<const uint256, CAlert>; _KeyOfValue = std::_Select1st<std::pair<const uint256, CAlert> >; _Compare = std::less<uint256>; _Alloc = std::allocator<std::pair<const uint256, CAlert> >]’: /usr/include/c++/6/bits/stl_tree.h:2268:5: note: parameter passing for argument of type ‘std::_Rb_tree<uint256, std::pair<const uint256, CAlert>, std::_Select1st<std::pair<const uint256, CAlert> >, std::less<uint256>, std::allocator<std::pair<const uint256, CAlert> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const uint256, CAlert> >}’ will change in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_tree.h:2268:5: note: parameter passing for argument of type ‘std::_Rb_tree<uint256, std::pair<const uint256, CAlert>, std::_Select1st<std::pair<const uint256, CAlert> >, std::less<uint256>, std::allocator<std::pair<const uint256, CAlert> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const uint256, CAlert> >}’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_tree.h: In member function ‘bool CAlert::ProcessAlert(bool)’: /usr/include/c++/6/bits/stl_tree.h:1047:2: note: parameter passing for argument of type ‘std::_Rb_tree<uint256, std::pair<const uint256, CAlert>, std::_Select1st<std::pair<const uint256, CAlert> >, std::less<uint256>, std::allocator<std::pair<const uint256, CAlert> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const uint256, CAlert> >}’ will change in GCC 7.1 _M_erase_aux(__position); ^~~~~~~~~~~~ /usr/include/c++/6/bits/stl_tree.h:1047:2: note: parameter passing for argument of type ‘std::_Rb_tree<uint256, std::pair<const uint256, CAlert>, std::_Select1st<std::pair<const uint256, CAlert> >, std::less<uint256>, std::allocator<std::pair<const uint256, CAlert> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const uint256, CAlert> >}’ will change in GCC 7.1 _M_erase_aux(__position); ^~~~~~~~~~~~ CXX bloom.o CXX checkpoints.o CXX coins.o CXX init.o CXX keystore.o CXX kernel.o In file included from /usr/include/c++/6/algorithm:62:0, from /usr/include/boost/iterator/iterator_concepts.hpp:29, from /usr/include/boost/range/concepts.hpp:20, from /usr/include/boost/range/size_type.hpp:20, from /usr/include/boost/range/size.hpp:21, from /usr/include/boost/range/functions.hpp:20, from /usr/include/boost/range/iterator_range_core.hpp:38, from /usr/include/boost/range/iterator_range.hpp:13, from /usr/include/boost/assign/list_of.hpp:20, from kernel.cpp:6: /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >; _Compare = __gnu_cxx::__ops::_Val_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1818:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 __unguarded_linear_insert(_RandomAccessIterator __last, ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 __insertion_sort(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 In file included from /usr/include/c++/6/bits/stl_algo.h:61:0, from /usr/include/c++/6/algorithm:62, from /usr/include/boost/iterator/iterator_concepts.hpp:29, from /usr/include/boost/range/concepts.hpp:20, from /usr/include/boost/range/size_type.hpp:20, from /usr/include/boost/range/size.hpp:21, from /usr/include/boost/range/functions.hpp:20, from /usr/include/boost/range/iterator_range_core.hpp:38, from /usr/include/boost/range/iterator_range.hpp:13, from /usr/include/boost/assign/list_of.hpp:20, from kernel.cpp:6: /usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >; _Distance = int; _Tp = std::pair<long long int, uint256>; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, ^~~~~~~~~~~~~ In file included from /usr/include/c++/6/algorithm:62:0, from /usr/include/boost/iterator/iterator_concepts.hpp:29, from /usr/include/boost/range/concepts.hpp:20, from /usr/include/boost/range/size_type.hpp:20, from /usr/include/boost/range/size.hpp:21, from /usr/include/boost/range/functions.hpp:20, from /usr/include/boost/range/iterator_range_core.hpp:38, from /usr/include/boost/range/iterator_range.hpp:13, from /usr/include/boost/assign/list_of.hpp:20, from kernel.cpp:6: /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 __introsort_loop(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_algo.h:1951:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 std::__introsort_loop(__cut, __last, __depth_limit, __comp); ^~~ /usr/include/c++/6/bits/stl_algo.h: In function ‘bool ComputeNextStakeModifier(const CBlockIndex*, uint64_t&, bool&)’: /usr/include/c++/6/bits/stl_algo.h:1882:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 std::__insertion_sort(__first, __first + int(_S_threshold), __comp); ^~~ /usr/include/c++/6/bits/stl_algo.h:1887:2: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ^~~ /usr/include/c++/6/bits/stl_algo.h:1965:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 std::__introsort_loop(__first, __last, ^~~ CXX leveldbwrapper.o CXX main.o main.cpp: In function ‘void FindMostWorkChain()’: main.cpp:2302:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (pindexBestInvalid == NULL || pindexNew->nChainWork > pindexBestInvalid->nChainWork) ^~ main.cpp:2303:67: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ pindexBestInvalid = pindexNew; CBlockIndex *pindexFailed = pindexNew; ^~~~~~~~~~~ In file included from /usr/include/c++/6/memory:65:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from serialize.h:9, from bignum.h:9, from main.h:13, from main.cpp:6: /usr/include/c++/6/bits/stl_uninitialized.h: In static member function ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const CTxOut*, std::vector<CTxOut> >; _ForwardIterator = CTxOut*; bool _TrivialValueTypes = false]’: /usr/include/c++/6/bits/stl_uninitialized.h:68:9: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const CTxOut*, std::vector<CTxOut> >’ will change in GCC 7.1 __uninit_copy(_InputIterator __first, _InputIterator __last, ^~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_uninitialized.h:68:9: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const CTxOut*, std::vector<CTxOut> >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_uninitialized.h: In member function ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = CTxOut; _Alloc = std::allocator<CTxOut>]’: /usr/include/c++/6/bits/stl_uninitialized.h:126:41: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const CTxOut*, std::vector<CTxOut> >’ will change in GCC 7.1 __uninit_copy(__first, __last, __result); ^ /usr/include/c++/6/bits/stl_uninitialized.h: In function ‘bool DisconnectBlock(CBlock&, CValidationState&, CBlockIndex*, CCoinsViewCache&, bool*)’: /usr/include/c++/6/bits/stl_uninitialized.h:126:41: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<const CTxOut*, std::vector<CTxOut> >’ will change in GCC 7.1 __uninit_copy(__first, __last, __result); ^ CXX miner.o miner.cpp: In function ‘CBlockTemplate* CreateNewBlock(const CScript&)’: miner.cpp:113:5: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr<CBlockTemplate> pblocktemplate(new CBlockTemplate()); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from key.h:9, from script.h:9, from core.h:9, from miner.cpp:8: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~ miner.cpp: In function ‘void ReddcoinStaker(CWallet*)’: miner.cpp:631:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr<CBlockTemplate> pblocktemplate(CreateNewBlockWithKey(reservekey)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from key.h:9, from script.h:9, from core.h:9, from miner.cpp:8: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~ miner.cpp: In function ‘void ReddcoinMiner(CWallet*)’: miner.cpp:691:9: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr<CBlockTemplate> pblocktemplate(CreateNewBlockWithKey(reservekey)); ^~~~~~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from key.h:9, from script.h:9, from core.h:9, from miner.cpp:8: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template<typename> class auto_ptr; ^~~~~~~~ In file included from /usr/include/c++/6/bits/stl_algo.h:61:0, from /usr/include/c++/6/algorithm:62, from /usr/include/boost/smart_ptr/shared_ptr.hpp:38, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from key.h:9, from script.h:9, from core.h:9, from miner.cpp:8: /usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction*>*, std::vector<boost::tuples::tuple<double, double, const CTransaction*> > >; _Distance = int; _Tp = boost::tuples::tuple<double, double, const CTransaction*>; _Compare = __gnu_cxx::__ops::_Iter_comp_val<TxPriorityCompare>]’: /usr/include/c++/6/bits/stl_heap.h:124:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction*>*, std::vector<boost::tuples::tuple<double, double, const CTransaction*> > >’ will change in GCC 7.1 __push_heap(_RandomAccessIterator __first, ^~~~~~~~~~~ /usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction*>*, std::vector<boost::tuples::tuple<double, double, const CTransaction*> > >; _Distance = int; _Tp = boost::tuples::tuple<double, double, const CTransaction*>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<TxPriorityCompare>]’: /usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction*>*, std::vector<boost::tuples::tuple<double, double, const CTransaction*> > >’ will change in GCC 7.1 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, ^~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction*>*, std::vector<boost::tuples::tuple<double, double, const CTransaction*> > >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<TxPriorityCompare>]’: /usr/include/c++/6/bits/stl_heap.h:319:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction*>*, std::vector<boost::tuples::tuple<double, double, const CTransaction*> > >’ will change in GCC 7.1 __make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last, ^~~~~~~~~~~ /usr/include/c++/6/bits/stl_heap.h:319:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction*>*, std::vector<boost::tuples::tuple<double, double, const CTransaction*> > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_heap.h: In function ‘CBlockTemplate* CreateNewBlock(const CScript&)’: /usr/include/c++/6/bits/stl_heap.h:388:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction*>*, std::vector<boost::tuples::tuple<double, double, const CTransaction*> > >’ will change in GCC 7.1 std::__make_heap(__first, __last, ^~~ /usr/include/c++/6/bits/stl_heap.h:388:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction*>*, std::vector<boost::tuples::tuple<double, double, const CTransaction*> > >’ will change in GCC 7.1 std::__make_heap(__first, __last, ^~~ CXX net.o In file included from /usr/include/c++/6/map:60:0, from allocators.h:9, from serialize.h:9, from bloom.h:8, from net.h:9, from net.cpp:10: /usr/include/c++/6/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const int&>, std::tuple<>}; _Key = int; _Val = std::pair<const int, CAddrInfo>; _KeyOfValue = std::_Select1st<std::pair<const int, CAddrInfo> >; _Compare = std::less<int>; _Alloc = std::allocator<std::pair<const int, CAddrInfo> >]’: /usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_tree.h: In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const CNetAddr&>, std::tuple<>}; _Key = CNetAddr; _Val = std::pair<const CNetAddr, long long int>; _KeyOfValue = std::_Select1st<std::pair<const CNetAddr, long long int> >; _Compare = std::less<CNetAddr>; _Alloc = std::allocator<std::pair<const CNetAddr, long long int> >]’: /usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree<CNetAddr, std::pair<const CNetAddr, long long int>, std::_Select1st<std::pair<const CNetAddr, long long int> >, std::less<CNetAddr>, std::allocator<std::pair<const CNetAddr, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const CNetAddr, long long int> >}’ will change in GCC 7.1 In file included from /usr/include/c++/6/map:61:0, from allocators.h:9, from serialize.h:9, from bloom.h:8, from net.h:9, from net.cpp:10: /usr/include/c++/6/bits/stl_map.h: In static member function ‘static bool CNode::Ban(const CNetAddr&)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<CNetAddr, std::pair<const CNetAddr, long long int>, std::_Select1st<std::pair<const CNetAddr, long long int> >, std::less<CNetAddr>, std::allocator<std::pair<const CNetAddr, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const CNetAddr, long long int> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<CNetAddr, std::pair<const CNetAddr, long long int>, std::_Select1st<std::pair<const CNetAddr, long long int> >, std::less<CNetAddr>, std::allocator<std::pair<const CNetAddr, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const CNetAddr, long long int> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘void CAddrMan::Unserialize(Stream&, int, int) [with Stream = CDataStream]’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less<int>, std::allocator<std::pair<const int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will change in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, ^~~ CXX noui.o CXX rpcblockchain.o CXX rpcmining.o CXX rpcmisc.o In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcmisc.cpp:6: /usr/include/c++/6/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_range_insert(std::vector<_Tp, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >*, std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > > > > >; _Tp = json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >; _Alloc = std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > > >]’: /usr/include/c++/6/bits/vector.tcc:616:7: note: parameter passing for argument of type ‘std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > > > >::iterator {aka __gnu_cxx::__normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >*, std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > > > > >}’ will change in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/6/bits/vector.tcc:616:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >*, std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > > > > >’ will change in GCC 7.1 /usr/include/c++/6/bits/vector.tcc:616:7: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >*, std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > > > > >’ will change in GCC 7.1 In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcmisc.cpp:6: /usr/include/c++/6/bits/stl_vector.h: In function ‘json_spirit::Value validateaddress(const Array&, bool)’: /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type ‘std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > > > >::iterator {aka __gnu_cxx::__normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >*, std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > > > > >}’ will change in GCC 7.1 _M_range_insert(__pos, __first, __last, _IterCategory()); ^~~~~~~~~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >*, std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > > > > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >*, std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > > > > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >*, std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > >, std::allocator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string<char> > > > > >’ will change in GCC 7.1 CXX rpcnet.o CXX rpcrawtransaction.o CXX rpcserver.o CXX txdb.o CXX txmempool.o AR libbitcoin_server.a /usr/bin/ar:u' modifier ignored since D' is the default (seeU') CXX base58.o CXX allocators.o `

Then error codes appear after about 10-15mins:

CXX chainparams.o chainparams.cpp: In constructor ‘CMainParams::CMainParams()’: chainparams.cpp:77:52: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector<unsigned char>’ and ‘boost::assign_detail::generic_list<int>’) base58Prefixes[PUBKEY_ADDRESS] = list_of(61); ^ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(initializer_list<value_type> __l) ^~~~~~~~ chainparams.cpp:78:51: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector<unsigned char>’ and ‘boost::assign_detail::generic_list<int>’) base58Prefixes[SCRIPT_ADDRESS] = list_of(5); ^ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(initializer_list<value_type> __l) ^~~~~~~~ chainparams.cpp:79:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector<unsigned char>’ and ‘boost::assign_detail::generic_list<int>’) base58Prefixes[SECRET_KEY] = list_of(189); ^ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(initializer_list<value_type> __l) ^~~~~~~~ chainparams.cpp:80:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector<unsigned char>’ and ‘boost::assign_detail::generic_list<int>’) base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x88)(0xB2)(0x1E); ^ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(initializer_list<value_type> __l) ^~~~~~~~ chainparams.cpp:81:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector<unsigned char>’ and ‘boost::assign_detail::generic_list<int>’) base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x88)(0xAD)(0xE4); ^ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(initializer_list<value_type> __l) ^~~~~~~~ chainparams.cpp: In constructor ‘CTestNetParams::CTestNetParams()’: chainparams.cpp:144:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector<unsigned char>’ and ‘boost::assign_detail::generic_list<int>’) base58Prefixes[PUBKEY_ADDRESS] = list_of(111); ^ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(initializer_list<value_type> __l) ^~~~~~~~ chainparams.cpp:145:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector<unsigned char>’ and ‘boost::assign_detail::generic_list<int>’) base58Prefixes[SCRIPT_ADDRESS] = list_of(196); ^ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(initializer_list<value_type> __l) ^~~~~~~~ chainparams.cpp:146:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector<unsigned char>’ and ‘boost::assign_detail::generic_list<int>’) base58Prefixes[SECRET_KEY] = list_of(239); ^ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(initializer_list<value_type> __l) ^~~~~~~~ chainparams.cpp:147:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector<unsigned char>’ and ‘boost::assign_detail::generic_list<int>’) base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x35)(0x87)(0xCF); ^ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(initializer_list<value_type> __l) ^~~~~~~~ chainparams.cpp:148:72: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector<unsigned char>’ and ‘boost::assign_detail::generic_list<int>’) base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94); ^ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/vector.tcc:167:5: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from chainparams.cpp:6: /usr/include/c++/6/bits/stl_vector.h:450:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::vector<_Tp, _Alloc>&&) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(vector&& __x) noexcept(_Alloc_traits::_S_nothrow_move()) ^~~~~~~~ /usr/include/c++/6/bits/stl_vector.h:471:7: note: candidate: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(std::initializer_list<_Tp>) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>] operator=(initializer_list<value_type> __l) ^~~~~~~~ Makefile:862: recipe for target 'chainparams.o' failed make[2]: *** [chainparams.o] Error 1 make[2]: Leaving directory '/home/pi/reddcoin/src' Makefile:884: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/pi/reddcoin/src' Makefile:669: recipe for target 'all' failed make: *** [all] Error 2

Just posting this without doing own research about the newly found errors since it's 3:00am. Will be nerding around the internet for a fix as soon as i find the time. Edit: "oh god.. i miss the code textbox we used to have in BB, my apologies for killing your scrollbutton."

reddink commented 6 years ago

Have some fixes inbound for some compile errors in chainparam.h with newer compilers

FloydStash commented 6 years ago

i believe to have found a fix for the compile errors in chainparam.h, it lead to an error in the coins.cpp which seemed to also be easily fixable. I'm currently running the compiler again so far with no errors after 10 minutes. (looking good) if compile = succesfull, write tutorial = true

FloydStash commented 6 years ago

To fix chainparam.h compile errors after downgrading openssl 1.1.0 to 1.0.1 is as follows:

sudo nano ~/reddcoin/src/chainparams.cpp

Then in there look for the following text:

    base58Prefixes[PUBKEY_ADDRESS] =list_of(61);
    base58Prefixes[SCRIPT_ADDRESS] = list_of(5);
    base58Prefixes[SECRET_KEY] =     list_of(189);
    base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x88)(0xB2)(0x1E);
    base58Prefixes[EXT_SECRET_KEY] = (0x04)(0x88)(0xAD)(0xE4);

Make sure it becomes exactly like this:

base58Prefixes[PUBKEY_ADDRESS] = std::vector(1,61); base58Prefixes[SCRIPT_ADDRESS] = std::vector(1,5); base58Prefixes[SECRET_KEY] = std::vector(1,189); base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x88)(0xB2)(0x1E).convert_to_container<std::vector >(); base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x88)(0xAD)(0xE4).convert_to_container<std::vector >();

Then scroll down and look for the following text in the same file:

base58Prefixes[PUBKEY_ADDRESS] = list_of(111); base58Prefixes[SCRIPT_ADDRESS] = list_of(196); base58Prefixes[SECRET_KEY] = list_of(239); base58Prefixes[EXT_PUBLIC_KEY] =list_of(0x04)(0x35)(0x87)(0xCF); base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94); } virtual Network NetworkID() const { return CChainParams::TESTNET; } }; static CTestNetParams testNetParams;

and make it identical to the following:

base58Prefixes[PUBKEY_ADDRESS] = std::vector(1,111); base58Prefixes[SCRIPT_ADDRESS] = std::vector(1,196); base58Prefixes[SECRET_KEY] = std::vector(1,239); base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x35)(0x87)(0xCF).convert_to_container<std::vector >(); base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x35)(0x83)(0x94).convert_to_container<std::vector >(); } virtual Network NetworkID() const { return CChainParams::TESTNET; } }; static CTestNetParams testNetParams;

Finally we close and save this file by pressing F2 and Y to save the file. Then we open the coins.cpp by writing

sudo nano ~/reddcoin/src/coins.cpp

In there find the following text all the way at the bottom of the page:

BOOST_FOREACH(const CTxIn& txin, tx.vin) { const CCoins &coins = GetCoins(txin.prevout.hash); if (!coins.IsAvailable(txin.prevout.n)) continue; if (coins.nHeight < nHeight) { dResult += coins.vout[txin.prevout.n].nValue * nHeight-coins.nHeight; } } return tx.ComputePriority(dResult); }

make it identical to the following:

BOOST_FOREACH(const CTxIn& txin, tx.vin) { const CCoins &coins = GetCoins(txin.prevout.hash); if (!coins.IsAvailable(txin.prevout.n)) continue; if (coins.nHeight <= nHeight) { dResult += (double)(coins.vout[txin.prevout.n].nValue) * (nHeight-coins.nHeight); } } return tx.ComputePriority(dResult); }

This should fix the compiler issues. if anyone could confirm my findings please let me know. Sources of information: joroob's raspbian RDDwallet https://github.com/joroob/reddcoin/blob/master/doc/rasp-tut.md answer to downgrade openssl1.1.0 to 1.0.1 @ compiler BIGNUM error by @JKGHPO https://github.com/stratisproject/stratisX/issues/33 unmodified-answer (for feathercoin) to fix chainparam.h compiler error and coins.cpp error by @cqteng https://github.com/FeatherCoin/Feathercoin/pull/139/files#diff-64cbe1ad5465e13bc59ee8bb6f3de2e7

demon commented 6 years ago

Why am I being tagged here? I've never heard of this project.

FloydStash commented 6 years ago

@demon your solution for the stratis blockchain was applicable to a similar issue with reddcoin. I only figured it was decency to add your name as credit reciever for the solution.

addopaddo commented 6 years ago

Hello @FloydStash,

I'm new here. Ik tried all of the above en several other things I had to do to make it all work. After the changes in de software I get these errors. It's not possible for me to fix these. Can you help me with this one?

CXX chainparams.o chainparams.cpp: In constructor ‘CMainParams::CMainParams()’: chainparams.cpp:77:46: error: missing template arguments before ‘(’ token base58Prefixes[PUBKEY_ADDRESS] = std::vector(1,61); ^ chainparams.cpp:78:46: error: missing template arguments before ‘(’ token base58Prefixes[SCRIPT_ADDRESS] = std::vector(1,5); ^ chainparams.cpp:79:42: error: missing template arguments before ‘(’ token base58Prefixes[SECRET_KEY] = std::vector(1,189); ^ chainparams.cpp:80:117: error: no matching function for call to ‘boost::assign_detail::generic_list::convert_to_container()’ ::assign::list_of(0x04)(0x88)(0xB2)(0x1E).convert_to_container();

Greetz Addo

demon commented 6 years ago

@FloydStash You must be confusing me with a different demon. I do no work with blockchains :P

addopaddo commented 6 years ago

@FloydStash

I may have found the solution.

On the link you provided, joroob's raspbian RDDwallet https://github.com/joroob/reddcoin/blob/master/doc/rasp-tut.md I found a difference on the code above here.

Ik added and it compiled.

This: base58Prefixes[PUBKEY_ADDRESS] = std::vector(1,61); base58Prefixes[SCRIPT_ADDRESS] = std::vector(1,5); base58Prefixes[SECRET_KEY] = std::vector(1,189); base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x88)(0xB2)(0x1E).convert_to_container<std::vector >(); base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x88)(0xAD)(0xE4).convert_to_container<std::vector >();

and this: base58Prefixes[PUBKEY_ADDRESS] = std::vector(1,111); base58Prefixes[SCRIPT_ADDRESS] = std::vector(1,196); base58Prefixes[SECRET_KEY] = std::vector(1,239); base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x35)(0x87)(0xCF).convert_to_container<std::vector >(); base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x35)(0x83)(0x94).convert_to_container<std::vector >();

Is this the right thing to do?

Thank you!

Addo

ThomLSA commented 6 years ago

@FloydStash, @addopaddo and everyone that wanna run Reddcoin on hes Raspberry Pi

To fix this error you need to do the following

base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,61);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,5);
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,189);
base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x88)(0xB2)(0x1E).convert_to_container<std::vector<unsigned char> >();
base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x88)(0xAD)(0xE4).convert_to_container<std::vector<unsigned char> >();

And the other one to

base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,111);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,196);
base58Prefixes[SECRET_KEY] = std::vector<unsigned char>(1,239);
base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x35)(0x87)(0xCF).convert_to_container<std::vector<unsigned char> >();
base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x35)(0x83)(0x94).convert_to_container<std::vector<unsigned char> >();
addopaddo commented 6 years ago

@ThomLSA,

Yes I see now, that I copied the wrong piece of code. That's it.

Thanx for the confirmation!

addopaddo

ghost commented 6 years ago

hi all, @FloydStash @ThomLSA

i have the following error when compiling reddcoin..

pi@reddcoinpi: \~/reddcoin/src $ make make all-recursive make[1]: Entering directory '/home/pi/reddcoin/src' Making all in . make[2]: Entering directory '/home/pi/reddcoin/src' usage: git rev-list [OPTION] ... [ -- paths... ] limiting output: --max-count= --max-age= --min-age= --sparse --no-merges --min-parents= --no-min-parents --max-parents= --no-max-parents --remove-empty --all --branches --tags --remotes --stdin --quiet ordering output: --topo-order --date-order --reverse formatting output: --parents --children --objects | --objects-edge --unpacked --header | --pretty --abbrev= | --no-abbrev --abbrev-commit --left-right --count special purpose: --bisect --bisect-vars --bisect-all CXXLD reddcoind /usr/bin/ld: /usr/local/lib/libssl.a(s23_meth.o): relocation R_ARM_MOVW_ABS_NC a gainst `a local symbol' can not be used when making a shared object; recompile w ith -fPIC /usr/local/lib/libssl.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status Makefile:804: recipe for target 'reddcoind' failed make[2]: [reddcoind] Error 1 make[2]: Leaving directory '/home/pi/reddcoin/src' Makefile:884: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/pi/reddcoin/src' Makefile:669: recipe for target 'all' failed make: *** [all] Error 2 pi@reddcoinpi:~/reddcoin/src $

fyi ...i did the following.. pi@reddcoinpi:~/reddcoin/src $ history 1 passwd 2 exit 3 ip a 4 sudo reboot 5 sudo apt-get update 6 sudo apt-get upgrade -y 7 sudo apt-get dist-upgrade 8 sudo apt-get update 9 sudo apt-get upgrade -y 10 sudo apt-get dist-upgrade 11 sudo reboot 12 sudo nano /etc/dphys-swapfile 13 sudo service dphys-swapfile restart 14 sudo apt-get install git automake libssl-dev libboost-all-dev libminiupnpc-dev eject 15 sudo reboot 16 cd ~ 17 wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz 18 tar -xzvf db-4.8.30.NC.tar.gz 19 cd db-4.8.30.NC/build_unix 20 ../dist/configure --enable-cxx 21 make 22 sudo make install 23 sudo nano -w /etc/bash.bashrc 24 sudo reboot 25 sudo nano /etc/ld.so.conf.d/daemon-libs.conf 26 sudo ldconfig 27 sudo apt-get remove libssl-dev 28 cd /usr/local/src/ 29 wget https://ftp.openssl.org/source/old/1.0.1/openssl-1.0.1t.tar.gz 30 sudo wget https://ftp.openssl.org/source/old/1.0.1/openssl-1.0.1t.tar.gz 31 tar -xvf /usr/local/src/openssl-1.0.1t.tar.gz 32 sudo tar -xvf /usr/local/src/openssl-1.0.1t.tar.gz 33 cd /usr/local/src/openssl-1.0.1t 34 ./config --prefix=/usr/local/ --openssldir=/usr/local/openssl 35 sudo ./config --prefix=/usr/local/ --openssldir=/usr/local/openssl 36 sudo make 37 sudo make install 38 sudo reboot 39 openssl version 40 sudo apt-mark hold libssl-dev 41 cd ~ 42 git clone https://github.com/joroob/reddcoin.git 43 sudo nano ~/reddcoin/src/chainparams.cpp 44 sudo nano ~/reddcoin/src/coins.cpp 45 cd reddcoin 46 ./autogen.sh 47 ./configure --with-gui=no --disable-tests 48 cd src 49 make

Does anyone have a solution or idea?

Thanks a lot! Juschdl

ghost commented 6 years ago

copy of my ssh-session...

pi@reddcoinpi:~ $ cd reddcoin pi@reddcoinpi:\~/reddcoin $ ./autogen.sh configure.ac:124: installing 'src/build-aux/compile' configure.ac:12: installing 'src/build-aux/config.guess' configure.ac:12: installing 'src/build-aux/config.sub' configure.ac:37: installing 'src/build-aux/install-sh' configure.ac:37: installing 'src/build-aux/missing' configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') src/Makefile.am: installing 'src/build-aux/depcomp' configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') parallel-tests: installing 'src/build-aux/test-driver' configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') pi@reddcoinpi:\~/reddcoin $ ./configure --with-gui=no --disable-tests checking build system type... armv7l-unknown-linux-gnueabihf checking host system type... armv7l-unknown-linux-gnueabihf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking for gcc... gcc checking whether we are using the GNU Objective C compiler... no checking whether gcc accepts -g... no checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking for g++... g++ checking whether we are using the GNU Objective C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... gcc3 checking for a sed that does not truncate output... /bin/sed checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for strip... /usr/bin/strip checking for gcov... /usr/bin/gcov checking for lcov... no checking for java... /usr/bin/java checking for genhtml... no checking for git... /usr/bin/git checking for ccache... no checking for xgettext... no checking for hexdump... /usr/bin/hexdump checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char ... yes checking whether the linker accepts -Wl,--large-address-aware... no checking whether C++ compiler accepts -Wstack-protector... yes checking whether C++ compiler accepts -fstack-protector-all... yes checking whether C++ compiler accepts -fPIE... yes checking whether C++ preprocessor accepts -D_FORTIFY_SOURCE=2... yes checking whether C++ preprocessor accepts -U_FORTIFY_SOURCE... yes checking whether the linker accepts -Wl,--dynamicbase... no checking whether the linker accepts -Wl,--nxcompat... no checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -pie... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for MSG_NOSIGNAL... yes checking for Berkeley DB C++ headers... default checking for main in -ldb_cxx-4.8... yes checking miniupnpc/miniwget.h usability... yes checking miniupnpc/miniwget.h presence... yes checking for miniupnpc/miniwget.h... yes checking for main in -lminiupnpc... yes checking miniupnpc/miniupnpc.h usability... yes checking miniupnpc/miniupnpc.h presence... yes checking for miniupnpc/miniupnpc.h... yes checking for main in -lminiupnpc... (cached) yes checking miniupnpc/upnpcommands.h usability... yes checking miniupnpc/upnpcommands.h presence... yes checking for miniupnpc/upnpcommands.h... yes checking for main in -lminiupnpc... (cached) yes checking miniupnpc/upnperrors.h usability... yes checking miniupnpc/upnperrors.h presence... yes checking for miniupnpc/upnperrors.h... yes checking for main in -lminiupnpc... (cached) yes checking for boostlib >= 1.20.0... yes checking whether the Boost::System library is available... yes checking for exit in -lboost_system... yes checking whether the Boost::Filesystem library is available... yes checking for exit in -lboost_filesystem... yes checking whether the Boost::Program_Options library is available... yes checking for exit in -lboost_program_options... yes checking whether the Boost::Thread library is available... yes checking for exit in -lboost_thread... yes checking whether the Boost::Chrono library is available... yes checking for exit in -lboost_chrono... yes checking for SSL... yes checking for CRYPTO... yes checking whether to build bitcoind... yes checking whether to build bitcoin-cli... yes checking whether to build Bitcoin Core GUI... no (Qt) checking if ccache should be used... no checking if wallet should be enabled... yes checking whether to build with support for UPnP... yes checking whether to build with UPnP enabled by default... no checking if SSE2 should be enabled... yes checking whether to build test_reddcoin... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/test/Makefile config.status: creating src/qt/Makefile config.status: creating src/qt/test/Makefile config.status: creating share/setup.nsi config.status: creating share/qt/Info.plist config.status: creating qa/pull-tester/run-bitcoind-for-test.sh config.status: creating qa/pull-tester/build-tests.sh config.status: creating src/bitcoin-config.h config.status: executing depfiles commands pi@reddcoinpi:~/reddcoin $ cd src pi@reddcoinpi:~/reddcoin/src $ make make all-recursive make[1]: Entering directory '/home/pi/reddcoin/src' Making all in . make[2]: Entering directory '/home/pi/reddcoin/src' CXX addrman.o In file included from /usr/include/c++/6/map:60:0, from allocators.h:9, from serialize.h:9, from netbase.h:13, from addrman.h:8, from addrman.cpp:5: /usr/include/c++/6/bits/stl_tree.h: In member function ‘std::pair<std::_Rb_tree_node_base, std::_Rb_tree_node_base> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _K eyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = int; _Val = std::pair<const int, CAddrInf o>; _KeyOfValue = std::_Select1st<std::pair<const int, CAddrInfo> >; _Compare = std::less; _Alloc = std::allocat or<std::pair<const int, CAddrInfo> >]’: /usr/include/c++/6/bits/stl_tree.h:1928:5: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<c onst int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will c hange in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~ /usr/include/c++/6/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue , _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const int&>, std::tuple<>}; _Key = int; _Val = std::pair<const int, CAddrInfo>; _KeyOfValue = std::_Select1st<std::pair<con st int, CAddrInfo> >; _Compare = std::less; _Alloc = std::allocator<std::pair<const int, CAddrInfo> >]’: /usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<c onst int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will c hange in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~ In file included from /usr/include/c++/6/map:61:0, from allocators.h:9, from serialize.h:9, from netbase.h:13, from addrman.h:8, from addrman.cpp:5: /usr/include/c++/6/bits/stlmap.h: In member function ‘CAddress CAddrMan::Select(int)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘void CAddrMan::SwapRandom(unsigned int, unsigned int)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘int CAddrMan::ShrinkNew(int)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stlmap.h: In member function ‘void CAddrMan::GetAddr(std::vector&)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘int CAddrMan::SelectTried(int)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘void CAddrMan::MakeTried(CAddrInfo&, int, int)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘CAddrInfo CAddrMan::Create(const CAddress&, const CNetAddr&, int)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ CXX alert.o In file included from /usr/include/c++/6/map:60:0, from allocators.h:9, from serialize.h:9, from alert.h:9, from alert.cpp:6: /usr/include/c++/6/bits/stl_tree.h: In member function ‘void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_erase_aux(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator) [with _Key = uint256; _Val = std::pair<const uint256, CAlert>; _KeyOfValue = std::_Select1st<std::pair<const uint256, CAlert> >; _Compare = std:: less; _Alloc = std::allocator<std::pair<const uint256, CAlert> >]’: /usr/include/c++/6/bits/stl_tree.h:2268:5: note: parameter passing for argument of type ‘std::_Rb_tree<uint256, std::pair<const uint256, CAlert>, std::_Select1st<std::pair<const uint256, CAlert> >, std::less, std::allocator<s td::pair<const uint256, CAlert> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const uint256, CAlert > >}’ will change in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~ /usr/include/c++/6/bits/stl_tree.h:2268:5: note: parameter passing for argument of type ‘std::_Rb_tree<uint256, std::pair<const uint256, CAlert>, std::_Select1st<std::pair<const uint256, CAlert> >, std::less, std::allocator<s td::pair<const uint256, CAlert> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const uint256, CAlert > >}’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_tree.h: In member function ‘bool CAlert::ProcessAlert(bool)’: /usr/include/c++/6/bits/stl_tree.h:1047:2: note: parameter passing for argument of type ‘std::_Rb_tree<uint256, std::pair<const uint256, CAlert>, std::_Select1st<std::pair<const uint256, CAlert> >, std::less, std::allocator<s td::pair<const uint256, CAlert> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const uint256, CAlert > >}’ will change in GCC 7.1 _M_erase_aux(position); ^~~~ /usr/include/c++/6/bits/stl_tree.h:1047:2: note: parameter passing for argument of type ‘std::_Rb_tree<uint256, std::pair<const uint256, CAlert>, std::_Select1st<std::pair<const uint256, CAlert> >, std::less, std::allocator<s td::pair<const uint256, CAlert> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const uint256, CAlert > >}’ will change in GCC 7.1 _M_erase_aux(position); ^~~~ CXX bloom.o CXX checkpoints.o CXX coins.o CXX init.o CXX keystore.o CXX kernel.o In file included from /usr/include/c++/6/algorithm:62:0, from /usr/include/boost/iterator/iterator_concepts.hpp:29, from /usr/include/boost/range/concepts.hpp:20, from /usr/include/boost/range/size_type.hpp:20, from /usr/include/boost/range/size.hpp:21, from /usr/include/boost/range/functions.hpp:20, from /usr/include/boost/range/iterator_range_core.hpp:38, from /usr/include/boost/range/iterator_range.hpp:13, from /usr/include/boost/assign/list_of.hpp:20, from kernel.cpp:6: /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::normal_iterator<std::pair<long long int, uint256>, std::vector<std::pair <long long int, uint256> > >; _Compare = gnu_cxx::ops::_Val_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1818:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<std::pair<long long int, uint256>, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 unguarded_linear_insert(_RandomAccessIterator __last, ^~~~~~~~~ /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<std::pair<long long int, uint256>*, std::ve ctor<std::pair<long long int, uint256> > >; _Compare = gnu_cxx::ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 insertion_sort(_RandomAccessIterator first, ^~~~ /usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<std::pair<long long int, uint256>, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 In file included from /usr/include/c++/6/bits/stl_algo.h:61:0, from /usr/include/c++/6/algorithm:62, from /usr/include/boost/iterator/iterator_concepts.hpp:29, from /usr/include/boost/range/concepts.hpp:20, from /usr/include/boost/range/size_type.hpp:20, from /usr/include/boost/range/size.hpp:21, from /usr/include/boost/range/functions.hpp:20, from /usr/include/boost/range/iterator_range_core.hpp:38, from /usr/include/boost/range/iterator_range.hpp:13, from /usr/include/boost/assign/list_of.hpp:20, from kernel.cpp:6: /usr/include/c++/6/bits/stl_heap.h: In function ‘void std::adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::normal_iterator<std::pair<long long int, uint256>, std::v ector<std::pair<long long int, uint256> > >; _Distance = int; _Tp = std::pair<long long int, uint256>; _Compare = g nu_cxx::ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<std::pair<long long int, uint256>, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 adjust_heap(_RandomAccessIterator first, _Distance holeIndex, ^~~~~ In file included from /usr/include/c++/6/algorithm:62:0, from /usr/include/boost/iterator/iterator_concepts.hpp:29, from /usr/include/boost/range/concepts.hpp:20, from /usr/include/boost/range/size_type.hpp:20, from /usr/include/boost/range/size.hpp:21, from /usr/include/boost/range/functions.hpp:20, from /usr/include/boost/range/iterator_range_core.hpp:38, from /usr/include/boost/range/iterator_range.hpp:13, from /usr/include/boost/assign/list_of.hpp:20, from kernel.cpp:6: /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<std::pair<long long int, uint256>, std::vector<std::pair<long long int, uint256> > >; _Size = int; _Compare = gnu_cxx::ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<std::pair<long long int, uint256>, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 introsort_loop(_RandomAccessIterator first, ^~~~ /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, uint256>, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_algo.h:1951:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<std::pair<long long int, uint256>, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 std::introsort_loop(cut, last, __depth_limit, comp); ^~~ /usr/include/c++/6/bits/stl_algo.h: In function ‘bool ComputeNextStakeModifier(const CBlockIndex, uint64_t&, bool&)’: /usr/include/c++/6/bits/stl_algo.h:1882:4: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<std::pair<long long int, uint256>*, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 std::insertion_sort(first, first + int(_S_threshold), comp); ^~~ /usr/include/c++/6/bits/stl_algo.h:1887:2: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<std::pair<long long int, uint256>, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 std::insertion_sort(first, last, __comp); ^~~ /usr/include/c++/6/bits/stl_algo.h:1965:4: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<std::pair<long long int, uint256>, std::vector<std::pair<long long int, uint256> > >’ will change in GCC 7.1 std::introsort_loop(first, last, ^~~ CXX leveldbwrapper.o CXX main.o main.cpp: In function ‘void FindMostWorkChain()’: main.cpp:2302:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (pindexBestInvalid == NULL || pindexNew->nChainWork > pindexBestInvalid->nChainWork) ^~ main.cpp:2303:67: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ pindexBestInvalid = pindexNew; CBlockIndex *pindexFailed = pindexNew; ^~~ In file included from /usr/include/c++/6/memory:65:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from serialize.h:9, from bignum.h:9, from main.h:13, from main.cpp:6: /usr/include/c++/6/bits/stl_uninitialized.h: In static member function ‘static _ForwardIterator std::uninitialized_copy<_TrivialValueTypes>::uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = gn u_cxx::normal_iterator<const CTxOut, std::vector >; _ForwardIterator = CTxOut; bool _TrivialValueTypes = false]’: /usr/include/c++/6/bits/stl_uninitialized.h:68:9: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<const CTxOut*, std::vector >’ will change in GCC 7.1 uninit_copy(_InputIterator first, _InputIterator last, ^~~~~ /usr/include/c++/6/bits/stl_uninitialized.h:68:9: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<const CTxOut*, std::vector >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_uninitialized.h: In member function ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = CTxOut; _Alloc = std::allocator]’: /usr/include/c++/6/bits/stl_uninitialized.h:126:41: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<const CTxOut*, std::vector >’ will change in GCC 7.1 __uninit_copy(first, last, result); ^ /usr/include/c++/6/bits/stl_uninitialized.h: In function ‘bool DisconnectBlock(CBlock&, CValidationState&, CBlockIndex, CCoinsViewCache&, bool)’: /usr/include/c++/6/bits/stl_uninitialized.h:126:41: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<const CTxOut*, std::vector >’ will change in GCC 7.1 uninit_copy(first, last, result); ^ CXX miner.o miner.cpp: In function ‘CBlockTemplate CreateNewBlock(const CScript&)’: miner.cpp:113:5: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr pblocktemplate(new CBlockTemplate()); ^~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from key.h:9, from script.h:9, from core.h:9, from miner.cpp:8: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~ miner.cpp: In function ‘void ReddcoinStaker(CWallet)’: miner.cpp:631:9: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr pblocktemplate(CreateNewBlockWithKey(reservekey)); ^~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from key.h:9, from script.h:9, from core.h:9, from miner.cpp:8: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~ miner.cpp: In function ‘void ReddcoinMiner(CWallet*)’: miner.cpp:691:9: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] auto_ptr pblocktemplate(CreateNewBlockWithKey(reservekey)); ^~~~ In file included from /usr/include/c++/6/memory:81:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from key.h:9, from script.h:9, from core.h:9, from miner.cpp:8: /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~ In file included from /usr/include/c++/6/bits/stl_algo.h:61:0, from /usr/include/c++/6/algorithm:62, from /usr/include/boost/smart_ptr/shared_ptr.hpp:38, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from key.h:9, from script.h:9, from core.h:9, from miner.cpp:8: /usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<boost::tuples::tuple<double, double, const C Transaction>, std::vector<boost::tuples::tuple<double, double, const CTransaction> > >; _Distance = int; _Tp = boo st::tuples::tuple<double, double, const CTransaction>; _Compare = gnu_cxx::ops::_Iter_comp_val]’: /usr/include/c++/6/bits/stl_heap.h:124:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<boost::tuples::tuple<double, double, const CTransaction>, std::vector<boost::tuples::tuple<double, double, const CT ransaction*> > >’ will change in GCC 7.1 push_heap(_RandomAccessIterator first, ^~~ /usr/include/c++/6/bits/stl_heap.h: In function ‘void std::adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<boost::tuples::tuple<double, double, const CTransaction>, std::vector<boost::tuples::tuple<double, double, const CTransaction> > >; _Distance = int; _Tp = b oost::tuples::tuple<double, double, const CTransaction>; _Compare = gnu_cxx::ops::_Iter_comp_iter]’: /usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction>, std::vector<boost::tuples::tuple<double, double, const CT ransaction*> > >’ will change in GCC 7.1 adjust_heap(_RandomAccessIterator first, _Distance __holeIndex, ^~~~~ /usr/include/c++/6/bits/stl_heap.h: In function ‘void std::make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<boost::tuples::tuple<double, double, const CTran saction>, std::vector<boost::tuples::tuple<double, double, const CTransaction*> > >; _Compare = gnu_cxx::ops::_ Iter_comp_iter]’: /usr/include/c++/6/bits/stl_heap.h:319:5: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction>, std::vector<boost::tuples::tuple<double, double, const CT ransaction*> > >’ will change in GCC 7.1 make_heap(_RandomAccessIterator first, _RandomAccessIterator __last, ^~~ /usr/include/c++/6/bits/stl_heap.h:319:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<boost::tuples::tuple<double, double, const CTransaction>, std::vector<boost::tuples::tuple<double, double, const CT ransaction> > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_heap.h: In function ‘CBlockTemplate CreateNewBlock(const CScript&)’: /usr/include/c++/6/bits/stl_heap.h:388:7: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<boost::tuples::tuple<double, double, const CTransaction>, std::vector<boost::tuples::tuple<double, double, const CT ransaction> > >’ will change in GCC 7.1 std::make_heap(first, last, ^~~ /usr/include/c++/6/bits/stl_heap.h:388:7: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<boost::tuples::tuple<double, double, const CTransaction>, std::vector<boost::tuples::tuple<double, double, const CT ransaction> > >’ will change in GCC 7.1 std::make_heap(first, last, ^~~ CXX net.o In file included from /usr/include/c++/6/map:60:0, from allocators.h:9, from serialize.h:9, from bloom.h:8, from net.h:9, from net.cpp:10: /usr/include/c++/6/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue , _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const int&>, std::tuple<>}; _Key = int; _Val = std::pair<const int, CAddrInfo>; _KeyOfValue = std::_Select1st<std::pair<con st int, CAddrInfo> >; _Compare = std::less; _Alloc = std::allocator<std::pair<const int, CAddrInfo> >]’: /usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<c onst int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will c hange in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~ /usr/include/c++/6/bits/stl_tree.h: In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _Key OfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple <const CNetAddr&>, std::tuple<>}; _Key = CNetAddr; _Val = std::pair<const CNetAddr, long long int>; _KeyOfValue = std ::_Select1st<std::pair<const CNetAddr, long long int> >; _Compare = std::less; _Alloc = std::allocator<std: :pair<const CNetAddr, long long int> >]’: /usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree<CNetAddr, std::pair<const CNetAddr, long long int>, std::_Select1st<std::pair<const CNetAddr, long long int> >, std::less , std::allocator<std::pair<const CNetAddr, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std:: pair<const CNetAddr, long long int> >}’ will change in GCC 7.1 In file included from /usr/include/c++/6/map:61:0, from allocators.h:9, from serialize.h:9, from bloom.h:8, from net.h:9, from net.cpp:10: /usr/include/c++/6/bits/stl_map.h: In static member function ‘static bool CNode::Ban(const CNetAddr&)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<CNetAddr, std::pair<const CNetAddr, long long int>, std::_Select1st<std::pair<const CNetAddr, long long int> >, std::less, std::allocator<std::pair<const CNetAddr, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pa ir<const CNetAddr, long long int> >}’ will change in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<CNetAddr, std::pair<const CNetAddr, long long int>, std::_Select1st<std::pair<const CNetAddr, long long int> >, std::less, std::allocator<std::pair<const CNetAddr, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pa ir<const CNetAddr, long long int> >}’ will change in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h: In member function ‘void CAddrMan::Unserialize(Stream&, int, int) [with Stream = CDataStream]’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<int, std::pair<const int, CAddrInfo>, std::_Select1st<std::pair<const int, CAddrInfo> >, std::less, std::allocator<std::pair<con st int, CAddrInfo> > >::const_iterator {aka std::_Rb_tree_const_iterator<std::pair<const int, CAddrInfo> >}’ will cha nge in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ CXX noui.o CXX rpcblockchain.o CXX rpcmining.o CXX rpcmisc.o In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcmisc.cpp:6: /usr/include/c++/6/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_range_insert(std::vector<_Tp, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = gnu_c xx::normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >*, std::v ector<json_spirit::Pair_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spi rit::Pair_impl<json_spirit::Config_vector<std::cxx11::basic_string > > > > >; _Tp = json_spirit::Pair_impl<js on_spirit::Config_vector<std::cxx11::basic_string > >; _Alloc = std::allocator<json_spirit::Pair_impl<json_sp irit::Config_vector<std::cxx11::basic_string > > >]’: /usr/include/c++/6/bits/vector.tcc:616:7: note: parameter passing for argument of type ‘std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >, std::allocator<json_spirit::Pair_impl<json_spi rit::Config_vector<std::cxx11::basic_string > > > >::iterator {aka gnu_cxx::__normal_iterator<json_spirit:: Pair_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::vector<json_spirit::Pair_impl<json_s pirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Pair_impl<jsonspirit::Config vector<std::__cxx11::basic_string > > > > >}’ will change in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~ /usr/include/c++/6/bits/vector.tcc:616:7: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >, std::vector<json_spirit::Pai r_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Pair_impl<json_sp irit::Config_vector<std::__cxx11::basic_string > > > > >’ will change in GCC 7.1 /usr/include/c++/6/bits/vector.tcc:616:7: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >*, std::vector<json_spirit::Pai r_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Pair_impl<json_sp irit::Config_vector<std::cxx11::basic_string > > > > >’ will change in GCC 7.1 In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcmisc.cpp:6: /usr/include/c++/6/bits/stl_vector.h: In function ‘json_spirit::Value validateaddress(const Array&, bool)’: /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type ‘std::vector<json_spirit::Pair_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Pairimpl<json spirit::Config_vector<std::cxx11::basic_string > > > >::iterator {aka __gnu_cxx::normal_iterator<json_spiri t::Pair_impl<json_spirit::Config_vector<std::cxx11::basic_string > >*, std::vector<json_spirit::Pair_impl<jso n_spirit::Config_vector<std::__cxx11::basic_string > >, std::allocator<json_spirit::Pair_impl<json_spirit::Conf ig_vector<std::cxx11::basic_string > > > > >}’ will change in GCC 7.1 _M_range_insert(pos, first, last, _IterCategory()); ^~~~~~~ /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >*, std::vector<json_spirit:: Pair_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Pair_impl<json _spirit::Config_vector<std::cxx11::basic_string > > > > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >*, std::vector<json_spirit:: Pair_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Pair_impl<json _spirit::Config_vector<std::cxx11::basic_string > > > > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_vector.h:1375:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<json_spirit::Pair_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >*, std::vector<json_spirit:: Pair_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Pair_impl<json _spirit::Config_vector<std::cxx11::basic_string > > > > >’ will change in GCC 7.1 CXX rpcnet.o CXX rpcrawtransaction.o CXX rpcserver.o CXX txdb.o CXX txmempool.o AR libbitcoin_server.a /usr/bin/ar: u' modifier ignored sinceD' is the default (see `U') CXX base58.o CXX allocators.o CXX chainparams.o CXX core.o CXX hash.o CXX key.o CXX netbase.o CXX protocol.o CXX rpcprotocol.o CXX script.o CXX scrypt.o CXX sync.o CXX util.o In file included from /usr/include/c++/6/algorithm:62:0, from /usr/include/boost/smart_ptr/shared_ptr.hpp:38, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from serialize.h:9, from util.h:14, from util.cpp:6: /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<long long int*, std::vector<long long int, std::allocator > >; _Compare = gnu_cxx::ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<long long int*, std::vector<long long int, std::allocator > >’ will change in GCC 7.1 insertion_sort(_RandomAccessIterator first, ^~~~ /usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector<long long int, std::allocator > >’ will change in GCC 7.1 In file included from /usr/include/c++/6/bits/stl_algo.h:61:0, from /usr/include/c++/6/algorithm:62, from /usr/include/boost/smart_ptr/shared_ptr.hpp:38, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from serialize.h:9, from util.h:14, from util.cpp:6: /usr/include/c++/6/bits/stl_heap.h: In function ‘void std::adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::normal_iterator<long long int, std::vector<long long int, std::allocator > >; _Distance = int; _Tp = long long int; _Compare = gnu_cxx::ops::_Iter_less_ite r]’: /usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long int, std::vector<long long int, std::allocator > >’ will change in GCC 7.1 adjust_heap(_RandomAccessIterator first, _Distance holeIndex, ^~~~~ In file included from /usr/include/c++/6/algorithm:62:0, from /usr/include/boost/smart_ptr/shared_ptr.hpp:38, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from serialize.h:9, from util.h:14, from util.cpp:6: /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<long long int, std::vector<long lon g int, std::allocator > >; _Size = int; _Compare = gnu_cxx::ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long int, std::vector<long long int, std::allocator > >’ will change in GCC 7.1 introsort_loop(_RandomAccessIterator first, ^~~~ /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<long long int, std::vector<long long int, std::allocator > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_algo.h:1951:4: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<long long int*, std::vector<long long int, std::allocator > >’ will change in GCC 7.1 std::introsort_loop(cut, last, depth_limit, __comp); ^~~ /usr/include/c++/6/bits/stl_algo.h: In function ‘void AddTimeData(const CNetAddr&, int64_t)’: /usr/include/c++/6/bits/stl_algo.h:1965:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long int*, std::vector<long long int, std::allocator > >’ will change in GCC 7.1 std::__introsort_loop(first, last, ^~~ /usr/include/c++/6/bits/stl_algo.h:1882:4: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long int, std::vector<long long int, std::allocator > >’ will change in GCC 7.1 std::insertion_sort(first, first + int(_S_threshold), __comp); ^~~ /usr/include/c++/6/bits/stl_algo.h:1887:2: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<long long int, std::vector<long long int, std::allocator > >’ will change in GCC 7.1 std::insertion_sort(first, last, comp); ^~~ usage: git rev-list [OPTION] ... [ -- paths... ] limiting output: --max-count= --max-age= --min-age= --sparse --no-merges --min-parents= --no-min-parents --max-parents= --no-max-parents --remove-empty --all --branches --tags --remotes --stdin --quiet ordering output: --topo-order --date-order --reverse formatting output: --parents --children --objects | --objects-edge --unpacked --header | --pretty --abbrev= | --no-abbrev --abbrev-commit --left-right --count special purpose: --bisect --bisect-vars --bisect-all CXX version.o AR libbitcoin_common.a /usr/bin/ar: u' modifier ignored sinceD' is the default (see U') CXX rpcclient.o AR libbitcoin_cli.a /usr/bin/ar:u' modifier ignored since D' is the default (seeU') CXX db.o CXX crypter.o CXX wallet.o In file included from /usr/include/c++/6/memory:65:0, from /usr/include/boost/config/no_tr1/memory.hpp:21, from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from key.h:9, from script.h:9, from core.h:9, from wallet.h:8, from wallet.cpp:6: /usr/include/c++/6/bits/stl_uninitialized.h: In static member function ‘static _ForwardIterator std::uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = gn u_cxx::normal_iterator<const CTxOut, std::vector >; _ForwardIterator = CTxOut; bool _TrivialValueTypes = false]’: /usr/include/c++/6/bits/stl_uninitialized.h:68:9: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<const CTxOut*, std::vector >’ will change in GCC 7.1 uninit_copy(_InputIterator first, _InputIterator last, ^~~~~ /usr/include/c++/6/bits/stl_uninitialized.h:68:9: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<const CTxOut*, std::vector >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_uninitialized.h: In member function ‘std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = CTxOut; _Alloc = std::allocator]’: /usr/include/c++/6/bits/stl_uninitialized.h:126:41: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<const CTxOut*, std::vector >’ will change in GCC 7.1 __uninit_copy(first, last, result); ^ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from hash.h:9, from key.h:10, from script.h:9, from core.h:9, from wallet.h:8, from wallet.cpp:6: /usr/include/c++/6/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {CTxOut}; _Tp = CTxOut; _Alloc = std::allocator]’: /usr/include/c++/6/bits/vector.tcc:321:7: note: parameter passing for argument of type ‘std::vector::iterator {aka gnu_cxx::normal_iterator<CTxOut*, std::vector >}’ will change in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~ /usr/include/c++/6/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const CTxOut&}; _Tp = CTxOut; _Alloc = std::allocator]’: /usr/include/c++/6/bits/vector.tcc:321:7: note: parameter passing for argument of type ‘std::vector::iterator {aka gnu_cxx::normal_iterator<CTxOut, std::vector >}’ will change in GCC 7.1 /usr/include/c++/6/bits/vector.tcc: In member function ‘bool CWallet::CreateTransaction(const std::vector<std::pair<CScript, long long int> >&, CWalletTx&, CReserveKey&, int64_t&, std::__cxx11::string&, const CCoinControl)’: /usr/include/c++/6/bits/vector.tcc:128:8: note: parameter passing for argument of type ‘const gnu_cxx::normal_iterator<CTxOut*, std::vector >’ will change in GCC 7.1 _M_insert_aux(pos, std::move(__x_copy)); ^~~~~ /usr/include/c++/6/bits/vector.tcc:131:6: note: parameter passing for argument of type ‘const gnu_cxx::normal_iterator<CTxOut*, std::vector >’ will change in GCC 7.1 _M_insert_aux(pos, x); ^~~~~ CXX walletdb.o AR libbitcoin_wallet.a /usr/bin/ar: u' modifier ignored sinceD' is the default (see `U') CXX rpcdump.o In file included from /usr/include/c++/6/algorithm:62:0, from /usr/include/boost/smart_ptr/shared_ptr.hpp:38, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from serialize.h:9, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcdump.cpp:5: /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<std::pair<long long int, CKeyID>*, std::vector<std::pair< long long int, CKeyID> > >; _Compare = gnu_cxx::ops::_Val_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1818:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<std::pair<long long int, CKeyID>*, std::vector<std::pair<long long int, CKeyID> > >’ will change in GCC 7.1 __unguarded_linear_insert(_RandomAccessIterator last, ^~~~~~~~~ /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::normal_iterator<std::pair<long long int, CKeyID>, std::vec tor<std::pair<long long int, CKeyID> > >; _Compare = gnu_cxx::ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<std::pair<long long int, CKeyID>, std::vector<std::pair<long long int, CKeyID> > >’ will change in GCC 7.1 insertion_sort(_RandomAccessIterator first, ^~~~ /usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<std::pair<long long int, CKeyID>*, std::vector<std::pair<long long int, CKeyID> > >’ will change in GCC 7.1 In file included from /usr/include/c++/6/bits/stl_algo.h:61:0, from /usr/include/c++/6/algorithm:62, from /usr/include/boost/smart_ptr/shared_ptr.hpp:38, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from serialize.h:9, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcdump.cpp:5: /usr/include/c++/6/bits/stl_heap.h: In function ‘void std::adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<std::pair<long long int, CKeyID>*, std::ve ctor<std::pair<long long int, CKeyID> > >; _Distance = int; _Tp = std::pair<long long int, CKeyID>; _Compare = gnu_ cxx::ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<std::pair<long long int, CKeyID>*, std::vector<std::pair<long long int, CKeyID> > >’ will change in GCC 7.1 adjust_heap(_RandomAccessIterator first, _Distance holeIndex, ^~~~~ In file included from /usr/include/c++/6/algorithm:62:0, from /usr/include/boost/smart_ptr/shared_ptr.hpp:38, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/mutex.hpp:16, from /usr/include/boost/thread/mutex.hpp:16, from allocators.h:13, from serialize.h:9, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcdump.cpp:5: /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<std::pair<long long int, CKeyID>*, s td::vector<std::pair<long long int, CKeyID> > >; _Size = int; _Compare = __gnu_cxx::ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<std::pair<long long int, CKeyID>*, std::vector<std::pair<long long int, CKeyID> > >’ will change in GCC 7.1 introsort_loop(_RandomAccessIterator first, ^~~~ /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<std::pair<long long int, CKeyID>, std::vector<std::pair<long long int, CKeyID> > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_algo.h:1951:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<std::pair<long long int, CKeyID>, std::vector<std::pair<long long int, CKeyID> > >’ will change in GCC 7.1 std::introsort_loop(cut, last, __depth_limit, comp); ^~~ /usr/include/c++/6/bits/stl_algo.h: In function ‘json_spirit::Value dumpwallet(const Array&, bool)’: /usr/include/c++/6/bits/stl_algo.h:1965:4: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<std::pair<long long int, CKeyID>*, std::vector<std::pair<long long int, CKeyID> > >’ will change in GCC 7.1 std::introsort_loop(first, last, ^~~ /usr/include/c++/6/bits/stl_algo.h:1882:4: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<std::pair<long long int, CKeyID>*, std::vector<std::pair<long long int, CKeyID> > >’ will change in GCC 7.1 std::insertion_sort(first, first + int(_S_threshold), comp); ^~~ /usr/include/c++/6/bits/stl_algo.h:1887:2: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<std::pair<long long int, CKeyID>, std::vector<std::pair<long long int, CKeyID> > >’ will change in GCC 7.1 std::__insertion_sort(first, last, __comp); ^~~ CXX rpcwallet.o In file included from /usr/include/c++/6/map:60:0, from allocators.h:9, from serialize.h:9, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcwallet.cpp:6: /usr/include/c++/6/bits/stl_tree.h: In member function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _Key OfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple <CBitcoinAddress&&>, std::tuple<>}; _Key = CBitcoinAddress; _Val = std::pair<const CBitcoinAddress, tallyitem>; _KeyO fValue = std::_Select1st<std::pair<const CBitcoinAddress, tallyitem> >; _Compare = std::less; _Alloc = std::allocator<std::pair<const CBitcoinAddress, tallyitem> >]’: /usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree<CBitcoinAddress, std::pair<const CBitcoinAddress, tallyitem>, std::_Select1st<std::pair<const CBitcoinAddress, tallyitem> >, std::l ess, std::allocator<std::pair<const CBitcoinAddress, tallyitem> > >::const_iterator {aka std::_Rb_tr ee_const_iterator<std::pair<const CBitcoinAddress, tallyitem> >}’ will change in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~ /usr/include/c++/6/bits/stl_tree.h: In member function ‘std::pair<std::_Rb_tree_node_base, std::_Rb_tree_node_base> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _K eyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = std::cxx11::basic_string; _Val = std::pair<const std::cxx11::basic_string, long long int>; _KeyOfValue = std::_Select1st<std::pair<const std:: cxx11::basic_string, long long int> >; _Compare = std::less<std::cxx11::basic_string >; _Alloc = std: :allocator<std::pair<const std::cxx11::basic_string, long long int> >]’: /usr/include/c++/6/bits/stl_tree.h:1928:5: note: parameter passing for argument of type ‘std::_Rb_tree<std::cxx11::basic_string, std::pair<const std::cxx11::basic_string, long long int>, std::_Select1st<std::pair<const std::cxx11::basic_string, long long int> >, std::less<std::cxx11::basic_string >, std::allocator<std ::pair<const std::cxx11::basic_string, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<s td::pair<const std::cxx11::basic_string, long long int> >}’ will change in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~ /usr/include/c++/6/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue , _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<const std::cxx11::basic_string<char, std::char_traits, std::allocator >&>, std::tuple<>}; _Key = std::cxx11 ::basic_string; _Val = std::pair<const std::cxx11::basic_string, long long int>; _KeyOfValue = std::_Se lect1st<std::pair<const std::cxx11::basic_string, long long int> >; _Compare = std::less<std::cxx11::basic_ string >; _Alloc = std::allocator<std::pair<const std::cxx11::basic_string, long long int> >]’: /usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree<std::cxx11::basic_string, std::pair<const std::cxx11::basic_string, long long int>, std::_Select1st<std::pair<const std::cxx11::basic_string, long long int> >, std::less<std::cxx11::basic_string >, std::allocator<std ::pair<const std::cxx11::basic_string, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<s td::pair<const std::cxx11::basic_string, long long int> >}’ will change in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~ In file included from /usr/include/c++/6/vector:69:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcwallet.cpp:6: /usr/include/c++/6/bits/vector.tcc: In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::iterator) [with _Tp = json_spirit::Value_impl< json_spirit::Config_vector<std::cxx11::basic_string > >; _Alloc = std::allocator<json_spirit::Value_impl<json _spirit::Config_vector<std::cxx11::basic_string > > >]’: /usr/include/c++/6/bits/vector.tcc:153:5: note: parameter passing for argument of type ‘std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >, std::allocator<json_spirit::Value_impl<json_s pirit::Config_vector<std::cxx11::basic_string > > > >::iterator {aka gnu_cxx::__normal_iterator<json_spirit ::Value_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::vector<json_spirit::Value_impl<js on_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Value_impl<json_spirit::Co nfig_vector<std::__cxx11::basic_string > > > > >}’ will change in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~ /usr/include/c++/6/bits/vector.tcc:153:5: note: parameter passing for argument of type ‘std::vector<json_spirit::Value_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Value_impl<json_s pirit::Config_vector<std::cxx11::basic_string > > > >::iterator {aka __gnu_cxx::normal_iterator<json_spirit ::Value_impl<json_spirit::Config_vector<std::cxx11::basic_string > >*, std::vector<json_spirit::Value_impl<js on_spirit::Config_vector<std::__cxx11::basic_string > >, std::allocator<json_spirit::Value_impl<json_spirit::Co nfig_vector<std::cxx11::basic_string > > > > >}’ will change in GCC 7.1 In file included from /usr/include/c++/6/map:61:0, from allocators.h:9, from serialize.h:9, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcwallet.cpp:6: /usr/include/c++/6/bits/stl_map.h: In function ‘json_spirit::Value ListReceived(const Array&, bool)’: /usr/include/c++/6/bits/stl_map.h:502:4: note: parameter passing for argument of type ‘std::_Rb_tree<CBitcoinAddress, std::pair<const CBitcoinAddress, tallyitem>, std::_Select1st<std::pair<const CBitcoinAddress, tallyitem> >, std::les s, std::allocator<std::pair<const CBitcoinAddress, tallyitem> > >::const_iterator {aka std::_Rb_tree _const_iterator<std::pair<const CBitcoinAddress, tallyitem> >}’ will change in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ In file included from /usr/include/c++/6/vector:64:0, from serialize.h:21, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcwallet.cpp:6: /usr/include/c++/6/bits/stl_vector.h: In function ‘json_spirit::Value listtransactions(const Array&, bool)’: /usr/include/c++/6/bits/stl_vector.h:1178:71: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<json_spirit::Value_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::vector<json_spirit ::Value_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Value_impl< json_spirit::Config_vector<std::__cxx11::basic_string > > > > >’ will change in GCC 7.1 return _M_erase(beg + (first - cbeg), beg + (last - cbeg)); ^ /usr/include/c++/6/bits/stl_vector.h:1178:71: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<json_spirit::Value_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >, std::vector<json_spirit ::Value_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Value_impl< json_spirit::Config_vector<std::cxx11::basic_string > > > > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_vector.h:1178:71: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<json_spirit::Value_impl<json_spirit::Config_vector<std::cxx11::basic_string > >*, std::vector<json_spirit ::Value_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >, std::allocator<json_spirit::Value_impl< json_spirit::Config_vector<std::cxx11::basic_string > > > > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_vector.h:1178:71: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<json_spirit::Value_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::vector<json_spirit ::Value_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Value_impl< json_spirit::Config_vector<std::__cxx11::basic_string > > > > >’ will change in GCC 7.1 return _M_erase(beg + (first - cbeg), beg + (last - cbeg)); ^ /usr/include/c++/6/bits/stl_vector.h:1178:71: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<json_spirit::Value_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >, std::vector<json_spirit ::Value_impl<json_spirit::Config_vector<std::cxx11::basic_string > >, std::allocator<json_spirit::Value_impl< json_spirit::Config_vector<std::cxx11::basic_string > > > > >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_vector.h:1178:71: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<json_spirit::Value_impl<json_spirit::Config_vector<std::cxx11::basic_string > >*, std::vector<json_spirit ::Value_impl<json_spirit::Config_vector<std::__cxx11::basic_string > >, std::allocator<json_spirit::Value_impl< json_spirit::Config_vector<std::cxx11::basic_string > > > > >’ will change in GCC 7.1 In file included from /usr/include/c++/6/map:61:0, from allocators.h:9, from serialize.h:9, from bignum.h:9, from chainparams.h:9, from base58.h:17, from rpcwallet.cpp:6: /usr/include/c++/6/bits/stl_map.h: In function ‘json_spirit::Value listaccounts(const Array&, bool)’: /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<std::cxx11::basic_string, std::pair<const std::cxx11::basic_string, long long int>, std::_Select1st<std::pair<const s td::cxx11::basic_string, long long int> >, std::less<std::cxx11::basic_string >, std::allocator<std:: pair<const std::cxx11::basic_string, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std ::pair<const std::cxx11::basic_string, long long int> >}’ will change in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<std::cxx11::basic_string, std::pair<const std::cxx11::basic_string, long long int>, std::_Select1st<std::pair<const s td::cxx11::basic_string, long long int> >, std::less<std::cxx11::basic_string >, std::allocator<std:: pair<const std::cxx11::basic_string, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std ::pair<const std::cxx11::basic_string, long long int> >}’ will change in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<std::cxx11::basic_string, std::pair<const std::cxx11::basic_string, long long int>, std::_Select1st<std::pair<const s td::cxx11::basic_string, long long int> >, std::less<std::cxx11::basic_string >, std::allocator<std:: pair<const std::cxx11::basic_string, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std ::pair<const std::cxx11::basic_string, long long int> >}’ will change in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<std::cxx11::basic_string, std::pair<const std::cxx11::basic_string, long long int>, std::_Select1st<std::pair<const s td::cxx11::basic_string, long long int> >, std::less<std::cxx11::basic_string >, std::allocator<std:: pair<const std::cxx11::basic_string, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std ::pair<const std::cxx11::basic_string, long long int> >}’ will change in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ /usr/include/c++/6/bits/stl_map.h:483:4: note: parameter passing for argument of type ‘std::_Rb_tree<std::cxx11::basic_string, std::pair<const std::cxx11::basic_string, long long int>, std::_Select1st<std::pair<const s td::cxx11::basic_string, long long int> >, std::less<std::cxx11::basic_string >, std::allocator<std:: pair<const std::cxx11::basic_string, long long int> > >::const_iterator {aka std::_Rb_tree_const_iterator<std ::pair<const std::cxx11::basic_string, long long int> >}’ will change in GCC 7.1 i = _M_t._M_emplace_hint_unique(i, std::piecewise_construct, ^~~ AR libbitcoin_server_wallet.a /usr/bin/ar: u' modifier ignored sinceD' is the default (see `U') CXX bitcoind.o make -C ../src leveldb/libleveldb.a make[3]: Entering directory '/home/pi/reddcoin/src' Building LevelDB ... make[4]: Entering directory '/home/pi/reddcoin/src/leveldb' g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE _BUILD_INFO -DSTDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c helpers/memenv/me menv.cc -o helpers/memenv/memenv.o rm -f libmemenv.a /usr/bin/ar -rs libmemenv.a helpers/memenv/memenv.o /usr/bin/ar: creating libmemenv.a make[4]: Leaving directory '/home/pi/reddcoin/src/leveldb' Building LevelDB ... make[4]: Entering directory '/home/pi/reddcoin/src/leveldb' g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE _BUILD_INFO -DSTDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/builder.cc -o db/builder.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE _BUILD_INFO -DSTDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/c.cc -o db/c.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE _BUILD_INFO -DSTDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/dbformat.cc -o db/dbformat.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE _BUILD_INFO -DSTDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/db_impl.cc -o db/db_impl.o In file included from /usr/include/c++/6/algorithm:62:0, from db/db_impl.cc:7: /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<long long unsigned int*, std::vector >; _Compare = gnu_cxx::ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1 insertion_sort(_RandomAccessIterator first, ^~~~ /usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1 In file included from /usr/include/c++/6/bits/stl_algo.h:61:0, from /usr/include/c++/6/algorithm:62, from db/db_impl.cc:7: /usr/include/c++/6/bits/stl_heap.h: In function ‘void std::adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = gnu_cxx::normal_iterator<long long unsigned int*, std::vector >; _Distance = int; _Tp = long long unsigned int; _Compare = gnu_cxx::ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1 adjust_heap(_RandomAccessIterator first, _Distance holeIndex, ^~~~~ In file included from /usr/include/c++/6/algorithm:62:0, from db/db_impl.cc:7: /usr/include/c++/6/bits/stl_algo.h: In function ‘void std::introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::normal_iterator<long long unsigned int, std::vector >; _Size = int; _Compare = gnu_cxx::ops::_Iter_less_iter]’: /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long unsigned int, std::vector >’ will change in GCC 7.1 introsort_loop(_RandomAccessIterator first, ^~~~ /usr/include/c++/6/bits/stl_algo.h:1937:5: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1 /usr/include/c++/6/bits/stl_algo.h:1951:4: note: parameter passing for argument of type ‘gnu_cxx::normal_iterator<long long unsigned int, std::vector >’ will change in GCC 7.1 std::introsort_loop(cut, last, __depth_limit, comp); ^~~ /usr/include/c++/6/bits/stl_algo.h: In member function ‘leveldb::Status leveldb::DBImpl::Recover(leveldb::VersionEdit)’: /usr/include/c++/6/bits/stl_algo.h:1965:4: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1 std::introsort_loop(first, last, ^~~ /usr/include/c++/6/bits/stl_algo.h:1882:4: note: parameter passing for argument of type ‘gnu_cxx::__normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1 std::insertion_sort(first, first + int(_S_threshold), comp); ^~~ /usr/include/c++/6/bits/stl_algo.h:1887:2: note: parameter passing for argument of type ‘__gnu_cxx::normal_iterator<long long unsigned int*, std::vector >’ will change in GCC 7.1 std::insertion_sort(first, last, __comp); ^~~ g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE _BUILD_INFO -DSTDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/db_iter.cc -o db/db_iter.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE _BUILD_INFO -DSTDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/filename.cc -o db/filename.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE _BUILD_INFO -DSTDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/log_reader.cc -o db/log_reader.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE _BUILD_INFO -DSTDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/log_writer.cc -o db/log_writer.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE _BUILD_INFO -DSTDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/memtable.cc -o db/memtable.o In file included from ./util/arena.h:9:0, from ./db/skiplist.h:30, from ./db/memtable.h:11, from db/memtable.cc:5: db/memtable.cc: In member function ‘void leveldb::MemTable::Add(leveldb::SequenceNumber, leveldb::ValueType, const leveldb::Slice&, const leveldb::Slice&)’: db/memtable.cc:104:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] assert((p + val_size) - buf == encoded_len);


g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/repair.cc -o d                  b/repair.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/table_cache.cc                   -o db/table_cache.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/version_edit.c                  c -o db/version_edit.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/version_set.cc                   -o db/version_set.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c db/write_batch.cc                   -o db/write_batch.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c table/block_build                  er.cc -o table/block_builder.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c table/block.cc -o                   table/block.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c table/filter_bloc                  k.cc -o table/filter_block.o
table/filter_block.cc: In member function ‘bool leveldb::FilterBlockReader::KeyMayMatch(uint64_t, const leveldb::Slice&)’:
table/filter_block.cc:100:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (start <= limit && limit <= (offset_ - data_)) {
                           ~~~~~~^~~~~~~~~~~~~~~~~~~~
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c table/format.cc -                  o table/format.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c table/iterator.cc                   -o table/iterator.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c table/merger.cc -                  o table/merger.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c table/table_build                  er.cc -o table/table_builder.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c table/table.cc -o                   table/table.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c table/two_level_i                  terator.cc -o table/two_level_iterator.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/arena.cc -o                   util/arena.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/bloom.cc -o                   util/bloom.o
util/bloom.cc: In member function ‘virtual void leveldb::{anonymous}::BloomFilterPolicy::CreateFilter(const leveldb::Slice*, int, std::__cxx11::string*) const’:
util/bloom.cc:50:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (size_t i = 0; i < n; i++) {
                        ~~^~~
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/cache.cc -o                   util/cache.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/coding.cc -o                   util/coding.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/comparator.c                  c -o util/comparator.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/crc32c.cc -o                   util/crc32c.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/env.cc -o ut                  il/env.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/env_posix.cc                   -o util/env_posix.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/env_win.cc -                  o util/env_win.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/filter_polic                  y.cc -o util/filter_policy.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/hash.cc -o u                  til/hash.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/histogram.cc                   -o util/histogram.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/logging.cc -                  o util/logging.o
util/logging.cc: In function ‘bool leveldb::ConsumeDecimalNumber(leveldb::Slice*, uint64_t*)’:
util/logging.cc:67:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           (v == kMaxUint64/10 && delta > kMaxUint64%10)) {
                                  ~~~~~~^~~~~~~~~~~~~~~
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/options.cc -                  o util/options.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c util/status.cc -o                   util/status.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter  -Wstack-protector -fstack-protector-all -fPIE -DBOOST_SPIRIT_THREADSAFE -DHAVE                  _BUILD_INFO -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64  -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -c port/port_posix.c                  c -o port/port_posix.o
rm -f libleveldb.a
/usr/bin/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 tabl                  e/block_builder.o table/block.o table/filter_block.o table/format.o table/iterator.o table/merger.o table/table_build                  er.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/loggi                  ng.o util/options.o util/status.o port/port_posix.o
/usr/bin/ar: creating libleveldb.a
make[4]: Leaving directory '/home/pi/reddcoin/src/leveldb'
make[3]: Leaving directory '/home/pi/reddcoin/src'
  CXXLD    reddcoind
/usr/bin/ld: /usr/local/lib/libssl.a(s23_meth.o): relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libssl.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:804: recipe for target 'reddcoind' failed
make[2]: *** [reddcoind] Error 1
make[2]: Leaving directory '/home/pi/reddcoin/src'
Makefile:884: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/reddcoin/src'
Makefile:669: recipe for target 'all' failed
make: *** [all] Error 2
pi@reddcoinpi:~/reddcoin/src $
sassman commented 6 years ago

under debian it was possible to install an older libssl-dev lib

sudo apt-get install libssl1.0-dev

spryder89 commented 6 years ago

Hey

I follow these instructions around the Reddcoin Flowing mine pi to instal.

https://github. com/joroob/reddcoin/blob/master/doc/build-arm. md

I use Rasbian Stretch, and Pi 3 B.

My problem begins with

Get the Makefile cd reddcoin ./autogen.sh ./configure --with-gui=no --disable-tests

pi@raspberrypi:~ $ cd reddcoin pi@raspberrypi:~/reddcoin $ ./autogen.sh configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') pi@raspberrypi:~/reddcoin $ ./configure --with-gui=no --disable-tests checking build system type... armv7l-unknown-linux-gnueabihf checking host system type... armv7l-unknown-linux-gnueabihf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... g++ -E checking for gcc... gcc checking whether we are using the GNU Objective C compiler... no checking whether gcc accepts -g... no checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking for g++... g++ checking whether we are using the GNU Objective C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... gcc3 checking for a sed that does not truncate output... /bin/sed checking for ar... /usr/bin/ar checking for ranlib... /usr/bin/ranlib checking for strip... /usr/bin/strip checking for gcov... /usr/bin/gcov checking for lcov... no checking for java... /usr/bin/java checking for genhtml... no checking for git... /usr/bin/git checking for ccache... no checking for xgettext... no checking for hexdump... /usr/bin/hexdump checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char ... yes checking whether the linker accepts -Wl,--large-address-aware... no checking whether C++ compiler accepts -Wstack-protector... yes checking whether C++ compiler accepts -fstack-protector-all... yes checking whether C++ compiler accepts -fPIE... yes checking whether C++ preprocessor accepts -D_FORTIFY_SOURCE=2... yes checking whether C++ preprocessor accepts -U_FORTIFY_SOURCE... yes checking whether the linker accepts -Wl,--dynamicbase... no checking whether the linker accepts -Wl,--nxcompat... no checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -pie... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for MSG_NOSIGNAL... yes checking for Berkeley DB C++ headers... no configure: error: libdb_cxx headers missing

Unfortunately, I am not of the Linux a professional and do not get on here, unfortunately, without you

MatWaller commented 5 years ago

@rudybroersma Hey, Two things seem to be going on here...

First off libssl1.1+ has breaking changes.. you can install the development library and that should resolve the errors you are getting, You can do that using....

    sudo apt-get install libssl1.0-dev

After which when trying to build you are going to be prompted that you do not have libdb4.8 you can install that from the bitcoin PPA, to add that run

    sudo add-apt-repository ppa:bitcoin/bitcoin
    sudo apt-get update

Then install the libraries using...

    sudo apt-get install libdb4.8-dev libdb4.8++-dev

Hope that helps.

TechAdeptRDD commented 4 years ago

Resolution posted and no further activity from originator. Issue closed.