nicehash / nheqminer

Equihash miner for NiceHash
https://www.nicehash.com
MIT License
768 stars 582 forks source link

Problem to build with ubuntu 14.04 64-bit #232

Closed MGF15 closed 7 years ago

MGF15 commented 7 years ago
:~/nheqminer-0.4a/Linux_cmake/nheqminer_cpu# make -j $(nproc)
Scanning dependencies of target nheqminer_cpu
[  5%] [ 11%] [ 17%] Building CXX object CMakeFiles/nheqminer_cpu.dir/root/nheqminer-0.4a/nheqminer/arith_uint256.cpp.o
Building CXX object CMakeFiles/nheqminer_cpu.dir/root/nheqminer-0.4a/nheqminer/api.cpp.o
Building CXX object CMakeFiles/nheqminer_cpu.dir/root/nheqminer-0.4a/nheqminer/amount.cpp.o
[ 23%] Building CXX object CMakeFiles/nheqminer_cpu.dir/root/nheqminer-0.4a/nheqminer/crypto/sha256.cpp.o
[ 29%] Building CXX object CMakeFiles/nheqminer_cpu.dir/root/nheqminer-0.4a/nheqminer/json/json_spirit_reader.cpp.o
[ 35%] Building CXX object CMakeFiles/nheqminer_cpu.dir/root/nheqminer-0.4a/nheqminer/json/json_spirit_value.cpp.o
[ 41%] Building CXX object CMakeFiles/nheqminer_cpu.dir/root/nheqminer-0.4a/nheqminer/json/json_spirit_writer.cpp.o
[ 47%] Building CXX object CMakeFiles/nheqminer_cpu.dir/root/nheqminer-0.4a/nheqminer/libstratum/ZcashStratum.cpp.o
[ 52%] Building CXX object CMakeFiles/nheqminer_cpu.dir/root/nheqminer-0.4a/nheqminer/main.cpp.o
In file included from /root/nheqminer-0.4a/nheqminer/libstratum/ZcashStratum.h:19:0,
                 from /root/nheqminer-0.4a/nheqminer/libstratum/ZcashStratum.cpp:6:
/root/nheqminer-0.4a/Linux_cmake/nheqminer_cpu/../../nheqminer/SolverStub.h:8:45: warning: backslash-newline at end of file [enabled by default]
 #define CREATE_SOLVER_STUB(NAME, STUB_NAME) \
 ^
In file included from /root/nheqminer-0.4a/Linux_cmake/nheqminer_cpu/../../nheqminer/libstratum/ZcashStratum.h:19:0,
                 from /root/nheqminer-0.4a/nheqminer/libstratum/StratumClient.h:7,
                 from /root/nheqminer-0.4a/nheqminer/main.cpp:8:
/root/nheqminer-0.4a/Linux_cmake/nheqminer_cpu/../../nheqminer/SolverStub.h:8:45: warning: backslash-newline at end of file [enabled by default]
 #define CREATE_SOLVER_STUB(NAME, STUB_NAME) \
 ^
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [CMakeFiles/nheqminer_cpu.dir/root/nheqminer-0.4a/nheqminer/libstratum/ZcashStratum.cpp.o] Error 4
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/nheqminer_cpu.dir/all] Error 2
make: *** [all] Error 2
unsalted commented 7 years ago

That looks like a cmake version issue.