• 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!

Linux need help with fedora compile

sierra

New Member
Joined
Aug 26, 2007
Messages
52
Reaction score
1
Location
New Zealand
hey all as I was following the complling steps on the forgotten github I ran into this error can anybody help me with this please.

[ 16%] Building CXX object CMakeFiles/tfs.dir/src/configmanager.cpp.o
/root/forgottenserver/src/configmanager.cpp:26:0: error: "lua_strlen" redefined [-Werror]
#define lua_strlen lua_rawlen
^
In file included from /usr/include/lua.h:16:0,
from /usr/include/lua.hpp:6,
from /root/forgottenserver/src/configmanager.h:23,
from /root/forgottenserver/src/configmanager.cpp:22:
/usr/include/luaconf.h:299:0: note: this is the location of the previous definition
#define lua_strlen(L,i) lua_rawlen(L, (i))
^
cc1plus: all warnings being treated as errors
CMakeFiles/tfs.dir/build.make:287: recipe for target 'CMakeFiles/tfs.dir/src/configmanager.cpp.o' failed
make[2]: *** [CMakeFiles/tfs.dir/src/configmanager.cpp.o] Error 1
CMakeFiles/Makefile2:122: recipe for target 'CMakeFiles/tfs.dir/all' failed
make[1]: *** [CMakeFiles/tfs.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2

everything was going good until I got to that 16% thanx in advance for any help.
 
Back
Top