cuberite / cuberite

A lightweight, fast and extensible game server for Minecraft

Home Page:https://cuberite.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't compile sucessfully

emmomme opened this issue · comments

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?

Memory corruption or disk corruption? Try deleting the cuberite folder and re-downloading.

I re-use Clang compilation, now there is no problem, thank you