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

help in compiling the server

cocacola13

Member
Joined
Jan 18, 2019
Messages
179
Reaction score
12
Location
poland
hello,
I have a problem when compiling the server 8..6 tfs 0.4.0.


LUA:
root@vps797536:/home/otsik# make
 cd . && /bin/bash ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
make  all-am
make[1]: Entering directory '/home/otsik'
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2   -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o chat.cpp
chat.cpp: In member function 'ChatChannel* Chat::getChannel(Player*, uint16_t)':
chat.cpp:1144:10: error: converting 'false' to pointer type 'ChatChannel*' [-Werror=conversion-null]
   return false;
          ^
cc1plus: all warnings being treated as errors
Makefile:540: recipe for target 'chat.o' failed
make[1]: *** [chat.o] Error 1
make[1]: Leaving directory '/home/otsik'
Makefile:396: recipe for target 'all' failed
make: *** [all] Error 2
root@vps797536:/home/otsik#
Please Help me :(
 
Back
Top