Open hectordufau opened 7 years ago
Scanning dependencies of target cpu_xenoncat [ 33%] Building CXX object cpu_xenoncat/CMakeFiles/cpu_xenoncat.dir/xenoncat.cpp.o [ 66%] Linking CXX static library libcpu_xenoncat.a [ 66%] Built target cpu_xenoncat Scanning dependencies of target nheqminer [100%] Linking CXX executable nheqminer /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: na função _start': (.text+0x20): referência indefinida paramain' collect2: error: ld returned 1 exit status CMakeFiles/nheqminer.dir/build.make:81: recipe for target 'nheqminer' failed make[2]: [nheqminer] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/nheqminer.dir/all' failed make[1]: [CMakeFiles/nheqminer.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *** [all] Error 2
_start': (.text+0x20): referência indefinida para
You have build in the wrong directory, just ran in to this issue.
Scanning dependencies of target cpu_xenoncat [ 33%] Building CXX object cpu_xenoncat/CMakeFiles/cpu_xenoncat.dir/xenoncat.cpp.o [ 66%] Linking CXX static library libcpu_xenoncat.a [ 66%] Built target cpu_xenoncat Scanning dependencies of target nheqminer [100%] Linking CXX executable nheqminer /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: na função
_start': (.text+0x20): referência indefinida para
main' collect2: error: ld returned 1 exit status CMakeFiles/nheqminer.dir/build.make:81: recipe for target 'nheqminer' failed make[2]: [nheqminer] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/nheqminer.dir/all' failed make[1]: [CMakeFiles/nheqminer.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *** [all] Error 2