• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Error compiling Ubuntu 20.04

pichetas

New Member
Joined
Nov 22, 2008
Messages
21
Reaction score
2
After compiling, it always says this and doesnt make any tfs file to run the server.

[100%] Linking CXX executable tfs
c++: fatal error: Killed signal terminated program lto1
compilation terminated.
lto-wrapper: fatal error: /usr/bin/c++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/tfs.dir/build.make:1403: tfs] Error 1
make[1]: *** [CMakeFiles/Makefile2:125: CMakeFiles/tfs.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Can anybody help me?
 
Hello my friend, thanks for the tip btw.

I had tried that, and the compiling has breaked before the other error, just for know.

[ 46%] Building CXX object CMakeFiles/tfs.dir/src/luascript.cpp.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [CMakeFiles/tfs.dir/build.make:589: CMakeFiles/tfs.dir/src/luascript.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:125: CMakeFiles/tfs.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

evidence.png

I will still looking up for a solution.
 
My best guess is that your compilation is running out of memory (Indeed the build process is crashing when it tries to compile the luascript.cpp source file, which is one of the biggest in the TFS code base). What are your machine specs?
 
Last edited:
Back
Top