I used Stians tutorial but I get the following errors:
I know this source works fine because I compiled it for windows with no errors what so ever.
I'm on debian 7 x64, I hope that is not the cause.
Code:
TheForgottenServer build script- seems to speed things up ALOT.
CCache: OK
CCache binaries located in /usr/lib/ccache
Building on 1 cores, using 2 processes
make all-am
make[1]: Entering directory `/home/dv/AeiaOTS/src'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT allocator.o -MD -MP -MF .deps/allocator.Tpo -c -o allocator.o allocator.cpp
mv -f .deps/allocator.Tpo .deps/allocator.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT baseevents.o -MD -MP -MF .deps/baseevents.Tpo -c -o baseevents.o baseevents.cpp
mv -f .deps/baseevents.Tpo .deps/baseevents.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT beds.o -MD -MP -MF .deps/beds.Tpo -c -o beds.o beds.cpp
mv -f .deps/actions.Tpo .deps/actions.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o chat.cpp
mv -f .deps/beds.Tpo .deps/beds.Po
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]
cc1plus: all warnings being treated as errors
make[1]: *** [chat.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/dv/AeiaOTS/src'
make: *** [all] Error 2
I know this source works fine because I compiled it for windows with no errors what so ever.
I'm on debian 7 x64, I hope that is not the cause.