Can't compile sucessfully
emmomme opened this issue · comments
emmomme commented
Server OS: Debian bullseye,cmake 3.18,4,gcc version:10.2.1
When I start make -j,This situation appeared in the last
[ 96%] Linking CXX executable Server/Cuberite
/usr/bin/ld: /tmp/Cuberite.65Rt5v.ltrans39.ltrans.o: .symtab local symbol at index 319 (>= sh_info of 31)
/usr/bin/ld: /tmp/Cuberite.65Rt5v.ltrans39.ltrans.o: error adding symbols: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Cuberite.dir/build.make:903: Server/Cuberite] Error 1
make[1]: *** [CMakeFiles/Makefile2:885: CMakeFiles/Cuberite.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
How to solve this problem?
Tiger Wang commented
Memory corruption or disk corruption? Try deleting the cuberite folder and re-downloading.
emmomme commented
I re-use Clang compilation, now there is no problem, thank you