devcoin / core

Devcoin (DVC) - From the many, one. From one, the source
http://www.devcoin.org
MIT License
19 stars 18 forks source link

Failed to build from source #54

Closed emfox closed 6 years ago

emfox commented 6 years ago

the building evironment is of newest Dockfile, and the source is from git HEAD now. the error is:

bignum.h:54:20: error: 'nullptr' was not declared in this scope

and the whole log. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/local/src/devcoin/src -I/usr/local/src/devcoin/src/obj -DUSE_IPV6=1 -I/usr/local/src/devcoin/src/leveldb/include -I/usr/local/src/devcoin/src/leveldb/helpers -I/usr/local/src/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/auxpow.d -o obj/auxpow.o auxpow.cpp Building LevelDB ... cd leveldb; chmod +x build_detect_platform; make CC=cc CXX=g++ OPT="-O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/local/src/devcoin/src -I/usr/local/src/devcoin/src/obj -DUSE_IPV6=1 -I/usr/local/src/devcoin/src/leveldb/include -I/usr/local/src/devcoin/src/leveldb/helpers -I/usr/local/src/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 " libleveldb.a libmemenv.a; cd .. g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/local/src/devcoin/src -I/usr/local/src/devcoin/src/obj -DUSE_IPV6=1 -I/usr/local/src/devcoin/src/leveldb/include -I/usr/local/src/devcoin/src/leveldb/helpers -I/usr/local/src/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/alert.d -o obj/alert.o alert.cpp /bin/sh ../share/genbuild.sh obj/build.h make[1]: Entering directory `/usr/local/src/devcoin/src/leveldb' g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/local/src/devcoin/src -I/usr/local/src/devcoin/src/obj -DUSE_IPV6=1 -I/usr/local/src/devcoin/src/leveldb/include -I/usr/local/src/devcoin/src/leveldb/helpers -I/usr/local/src/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/local/src/devcoin/src -I/usr/local/src/devcoin/src/obj -DUSE_IPV6=1 -I/usr/local/src/devcoin/src/leveldb/include -I/usr/local/src/devcoin/src/leveldb/helpers -I/usr/local/src/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/c.cc -o db/c.o g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/local/src/devcoin/src -I/usr/local/src/devcoin/src/obj -DUSE_IPV6=1 -I/usr/local/src/devcoin/src/leveldb/include -I/usr/local/src/devcoin/src/leveldb/helpers -I/usr/local/src/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/checkpoints.d -o obj/checkpoints.o checkpoints.cpp g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/local/src/devcoin/src -I/usr/local/src/devcoin/src/obj -DUSE_IPV6=1 -I/usr/local/src/devcoin/src/leveldb/include -I/usr/local/src/devcoin/src/leveldb/helpers -I/usr/local/src/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/db_impl.cc -o db/db_impl.o db/db_impl.cc: In member function 'virtual bool leveldb::DBImpl::GetProperty(const leveldb::Slice&, std::string*)': db/db_impl.cc:1334:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from script.h:15:0, from auxpow.cpp:4: bignum.h:54:5: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] In file included from main.h:8:0, from checkpoints.cpp:10: bignum.h:54:5: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat] bignum.h:54:20: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] bignum.h:54:20: error: 'nullptr' was not declared in this scope bignum.h:54:20: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] bignum.h:54:20: error: 'nullptr' was not declared in this scope g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/local/src/devcoin/src -I/usr/local/src/devcoin/src/obj -DUSE_IPV6=1 -I/usr/local/src/devcoin/src/leveldb/include -I/usr/local/src/devcoin/src/leveldb/helpers -I/usr/local/src/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/local/src/devcoin/src -I/usr/local/src/devcoin/src/obj -DUSE_IPV6=1 -I/usr/local/src/devcoin/src/leveldb/include -I/usr/local/src/devcoin/src/leveldb/helpers -I/usr/local/src/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/local/src/devcoin/src -I/usr/local/src/devcoin/src/obj -DUSE_IPV6=1 -I/usr/local/src/devcoin/src/leveldb/include -I/usr/local/src/devcoin/src/leveldb/helpers -I/usr/local/src/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/usr/local/src/devcoin/src -I/usr/local/src/devcoin/src/obj -DUSE_IPV6=1 -I/usr/local/src/devcoin/src/leveldb/include -I/usr/local/src/devcoin/src/leveldb/helpers -I/usr/local/src/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/log_reader.cc -o db/log_reader.o

cpsilent commented 6 years ago

I can confirm this error too. I was using the compiling instructions in here: https://github.com/devcoin/core/blob/master/doc/build-unix.md and the message I got is the same of emfox: "bignum.h:54:20: error: ‘nullptr’ was not declared in this scope makefile.unix:182: fallo en las instrucciones para el objetivo 'obj/auxpow.o' make: *** [obj/auxpow.o] Error 1"

ghost commented 6 years ago

please let us know your openssl version and your gcc version

From the logs above:

warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default]

According to the GCC page for C++11:

To enable C++0x support, add the command-line parameter -std=c++0x to your g++ command line. Or, to enable GNU extensions in addition to C++0x extensions, add -std=gnu++0x to your g++ command line. GCC 4.7 and later support -std=c++11 and -std=gnu++11 as well.

cpsilent commented 6 years ago

The openssl version in this computer (Kubuntu 16.04.5 LTS 32 bits OS, 64 bits platform) is: OpenSSL 1.0.2g 1 Mar 2016

The GCC version is: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)

Later I'm gonna try to compile it in the computer with the 17.10 and report back. It didn't work I opened a new Issue in here https://github.com/devcoin/core/issues/56 because it's a different situation.

Edit: Make log file attached and added platform and OS architecture for clarity

Building LevelDB ... cd leveldb; chmod +x build_detect_platform; make CC=cc CXX=g++ OPT="-O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 " libleveldb.a libmemenv.a; cd .. make[1]: se entra en el directorio '/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb' g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/db_impl.cc -o db/db_impl.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/memtable.cc -o db/memtable.o In file included from ./util/arena.h:10: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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/repair.cc -o db/repair.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/version_edit.cc -o db/version_edit.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/version_set.cc -o db/version_set.o db/version_set.cc:58:13: warning: ‘std::__cxx11::string leveldb::{anonymous}::IntSetToString(const std::set<long long unsigned int>&)’ defined but not used [-Wunused-function] std::string IntSetToString(const std::set<uint64_t>& s) { ^ g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c table/block_builder.cc -o table/block_builder.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c table/filter_block.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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c table/table_builder.cc -o table/table_builder.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c table/two_level_iterator.cc -o table/two_level_iterator.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c util/comparator.cc -o util/comparator.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c util/env.cc -o util/env.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c util/filter_policy.cc -o util/filter_policy.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c util/hash.cc -o util/hash.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c port/port_posix.cc -o port/port_posix.o rm -f libleveldb.a ar -rs libleveldb.a db/builder.o db/c.o db/dbformat.o db/db_impl.o db/db_iter.o db/filename.o db/log_reader.o db/log_writer.o db/memtable.o db/repair.o db/table_cache.o db/version_edit.o db/version_set.o db/write_batch.o table/block_builder.o table/block.o table/filter_block.o table/format.o table/iterator.o table/merger.o table/table_builder.o table/table.o table/two_level_iterator.o util/arena.o util/bloom.o util/cache.o util/coding.o util/comparator.o util/crc32c.o util/env.o util/env_posix.o util/env_win.o util/filter_policy.o util/hash.o util/histogram.o util/logging.o util/options.o util/status.o port/port_posix.o ar: creando libleveldb.a g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c helpers/memenv/memenv.cc -o helpers/memenv/memenv.o rm -f libmemenv.a ar -rs libmemenv.a helpers/memenv/memenv.o ar: creando libmemenv.a make[1]: se sale del directorio '/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb' g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/include -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/leveldb/helpers -I/home/user/core-2a9cb9595c1c116032c2a41514d2713406e4d4dd/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/auxpow.d -o obj/auxpow.o auxpow.cpp In file included from script.h:15:0, from auxpow.cpp:4: bignum.h:54:5: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat] BIGNUM *self = nullptr; ^ bignum.h:54:20: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 BIGNUM *self = nullptr; ^ bignum.h:54:20: error: ‘nullptr’ was not declared in this scope makefile.unix:182: fallo en las instrucciones para el objetivo 'obj/auxpow.o' make: *** [obj/auxpow.o] Error 1

emfox commented 6 years ago

@ctya it is the default of debian 7 according to the dockerfile.

root@6ca188e02a7a:/# gcc --version gcc (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

root@6ca188e02a7a:/# openssl version OpenSSL 1.0.1t 3 May 2016

As I know, our preferred building environment is relative old(that is Debian 7), because we need libdb4.8[0] that is no long available on later releases. but gcc 4.7 is the newest complier on OS of that age, and has experiment support of C++11 standard[1]. Is it really need that we shall upgrade to C++11 now?

[0] https://github.com/devcoin/core/blob/master/doc/build-unix.md [1] https://stackoverflow.com/questions/20373626/why-c11-compiler-support-still-requires-a-flag

ghost commented 6 years ago

Please try this branch which removes the requirement for C++11

https://github.com/ctya/core/tree/ctya_bignum_fix_nullptr

added as this pull request https://github.com/devcoin/core/pull/61

emfox commented 6 years ago

Yes, with ctya_bignum_fix_nullptr branch it builds ok now.

cpsilent commented 6 years ago

In my case, this new branch didn't help, I have the same error:

Building LevelDB ... cd leveldb; chmod +x build_detect_platform; make CC=cc CXX=g++ OPT="-O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 " libleveldb.a libmemenv.a; cd .. make[1]: se entra en el directorio '/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb' g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/db_impl.cc -o db/db_impl.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/memtable.cc -o db/memtable.o In file included from ./util/arena.h:10: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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/repair.cc -o db/repair.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/version_edit.cc -o db/version_edit.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c db/version_set.cc -o db/version_set.o db/version_set.cc:58:13: warning: ‘std::__cxx11::string leveldb::{anonymous}::IntSetToString(const std::set<long long unsigned int>&)’ defined but not used [-Wunused-function] std::string IntSetToString(const std::set<uint64_t>& s) { ^ g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c table/block_builder.cc -o table/block_builder.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c table/filter_block.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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c table/table_builder.cc -o table/table_builder.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c table/two_level_iterator.cc -o table/two_level_iterator.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c util/comparator.cc -o util/comparator.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c util/env.cc -o util/env.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c util/filter_policy.cc -o util/filter_policy.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c util/hash.cc -o util/hash.o g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -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 -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c port/port_posix.cc -o port/port_posix.o rm -f libleveldb.a ar -rs libleveldb.a db/builder.o db/c.o db/dbformat.o db/db_impl.o db/db_iter.o db/filename.o db/log_reader.o db/log_writer.o db/memtable.o db/repair.o db/table_cache.o db/version_edit.o db/version_set.o db/write_batch.o table/block_builder.o table/block.o table/filter_block.o table/format.o table/iterator.o table/merger.o table/table_builder.o table/table.o table/two_level_iterator.o util/arena.o util/bloom.o util/cache.o util/coding.o util/comparator.o util/crc32c.o util/env.o util/env_posix.o util/env_win.o util/filter_policy.o util/hash.o util/histogram.o util/logging.o util/options.o util/status.o port/port_posix.o ar: creando libleveldb.a g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -c helpers/memenv/memenv.cc -o helpers/memenv/memenv.o rm -f libmemenv.a ar -rs libmemenv.a helpers/memenv/memenv.o ar: creando libmemenv.a make[1]: se sale del directorio '/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb' g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/obj -DUSE_IPV6=1 -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/include -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/leveldb/helpers -I/home/user/core-ctya_bignum_fix_nullptr/devcoin/src/curl/include -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/auxpow.d -o obj/auxpow.o auxpow.cpp In file included from script.h:15:0, from auxpow.cpp:4: bignum.h:54:5: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat] BIGNUM *self = nullptr; ^ bignum.h:54:20: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 BIGNUM *self = nullptr; ^ bignum.h:54:20: error: ‘nullptr’ was not declared in this scope makefile.unix:182: fallo en las instrucciones para el objetivo 'obj/auxpow.o' make: *** [obj/auxpow.o] Error 1

ghost commented 6 years ago

cpsilent : that is curious because "BIGNUM *self = nullptr;" is not in the source code of that branch, anywhere. Yet your debug output indicates it is in the source code.

Try
git clone https://github.com/ctya/core.git and then git checkout ctya_bignum_fix_nullptr to be sure you are on the correct branch

cpsilent commented 6 years ago

Uhmm no, something weird is happening. I did what you asked me but it keeps showing me the nullptr error. I even deleted the old directory with the previous branch and make clean everything.

I have a hypothesis, I'm following these compiling instructions in here: https://github.com/devcoin/core/blob/master/doc/build-unix.md

At some point it asks me to build Devcoind using this source: git clone --depth=1 https://github.com/coinzen/devcoin.git

Could it be possible that that code is giving me those nullptr errors?

Thanks!

ghost commented 6 years ago

Yes. That command will overwrite the source code with the quite-old source from coinzen. So you have been testing builds using the source from the coinzen repository instead of the new devcoin repository. I'll get that build file fixed

Meanwhile...

Instead of git clone --depth=1 https://github.com/coinzen/devcoin.git please use git clone https://github.com/ctya/core.git then git checkout ctya_bignum_fix_nullptr

For testing this code change

cpsilent commented 6 years ago

Success! It did compile perfectly! Thank you for pointing out what I was doing wrong!

ghost commented 6 years ago

ok this can be closed, but I can't close it. So please close the issue if it looks ok now.

emfox commented 6 years ago

@ctya it should be closed after merging the pull request.

ghost commented 6 years ago

I think @develCuy is the only person with the authorization in the github repository for merging PRs right now, so we will need to wait for his availability.

develCuy commented 6 years ago

@emfox can you update state of this bug report?

emfox commented 6 years ago

@develCuy yes, the new source of HEAD master build well.

develCuy commented 6 years ago

Fixed!