Open cryptomaxsun opened 6 years ago
fixed now
anyway an error
er options.
#error This file requires compiler and library support for the \
^
In file included from /usr/include/c++/4.8/unordered_map:35:0,
from ./include/rocksdb/options.h:18,
ntly experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
^In file included from /usr/include/c++/4.8/unordered_map:35:0, from ./db/filename.h:14, from ./db/auto_roll_logger.h:13,
from db/auto_roll_logger.cc:6:
/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
^make[4]: *** No rule to make target `make_config.mk'. Stop.make[4]: Leaving directory `/home/max/Newton/external/rocksdb'make[3]: *** [external/CMakeFiles/rocksdb] Error 2
make[3]: Leaving directory `/home/max/Newton/build/release'
make[2]: *** [external/CMakeFiles/rocksdb.dir/all] Error 2
type this before make
export CXXFLAGS="-std=gnu++11"
did. still an error.
Scanning dependencies of target ConnectivityTool
make[3]: Leaving directory `/home/max/Newton/build/release'
make[3]: Entering directory `/home/max/Newton/build/release'
[ 45%] Building CXX object src/CMakeFiles/ConnectivityTool.dir/ConnectivityTool/ConnectivityTool.cpp.oLinking CXX executable connectivity_tool
make[3]: Leaving directory `/home/max/Newton/build/release'
[ 45%] Built target ConnectivityTool
make[3]: Entering directory `/home/max/Newton/build/release'
Scanning dependencies of target rocksdb
make[3]: Leaving directory `/home/max/Newton/build/release'
make[3]: Entering directory `/home/max/Newton/build/release'
/bin/sh: 1: /home/max/Newton/external/rocksdb/build_tools/build_detect_platform: Permission denied
make[4]: Entering directory `/home/max/Newton/external/rocksdb'
Makefile:142: make_config.mk: No such file or directory
grep: /home/max/Newton/external/rocksdb/make_config.mk: No such file or directory
GEN util/build_version.cc
make[4]: *** No rule to make target `make_config.mk'. Stop.
make[4]: Leaving directory `/home/max/Newton/external/rocksdb'
make[3]: *** [external/CMakeFiles/rocksdb] Error 2
make[3]: Leaving directory `/home/max/Newton/build/release'
make[2]: *** [external/CMakeFiles/rocksdb.dir/all] Error 2
make[2]: Leaving directory `/home/max/Newton/build/release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/max/Newton/build/release'
make: *** [build-release] Error 2
try this
export CXXFLAGS="-std=gnu++11"
cd Newton
chmod +x external/rocksdb/build_tools/build_detect_platform
chmod +x external/rocksdb/build_tools/version.sh
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DSTATIC=true .. && make
Thank you! Compilation is successful.
[ 78%] Building CXX object tests/CMakeFiles/CoreTests.dir/CoreTests/ChaingenMain.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
tests/CMakeFiles/CoreTests.dir/build.make:254: recipe for target 'tests/CMakeFiles/CoreTests.dir/CoreTests/ChaingenMain.cpp.o' failed
make[2]: *** [tests/CMakeFiles/CoreTests.dir/CoreTests/ChaingenMain.cpp.o] Error 4
CMakeFiles/Makefile2:1401: recipe for target 'tests/CMakeFiles/CoreTests.dir/all' failed
make[1]: *** [tests/CMakeFiles/CoreTests.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Binary daemon no start: illegal instruction
it seems you are out of memory while building you need to increase the vps ram. the source built successfully on gcc 5. the binary show illegal instruction because the vps cpu is old you can use the binary available here http://newtoncoin.cf
Thanks, the daemon started.
Hello! I'm doing a daemon compilation for the pool, an error, how do I fix it?