/bin/bash ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all-am
make[1]: Entering directory `/home/otserv'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT otserv.o -MD -MP -MF .deps/otserv.Tpo -c -o otserv.o otserv.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT party.o -MD -MP -MF .deps/party.Tpo -c -o party.o party.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT player.o -MD -MP -MF .deps/player.Tpo -c -o player.o player.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT position.o -MD -MP -MF .deps/position.Tpo -c -o position.o position.cpp
mv -f .deps/position.Tpo .deps/position.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.cpp
mv -f .deps/party.Tpo .deps/party.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT protocolgame.o -MD -MP -MF .deps/protocolgame.Tpo -c -o protocolgame.o protocolgame.cpp
mv -f .deps/protocol.Tpo .deps/protocol.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT protocolhttp.o -MD -MP -MF .deps/protocolhttp.Tpo -c -o protocolhttp.o protocolhttp.cpp
otserv.cpp: In function 'void signalHandler(int32_t)':
otserv.cpp:188:8: error: 'SIGHUP' was not declared in this scope
otserv.cpp:193:8: error: 'SIGTRAP' was not declared in this scope
otserv.cpp:197:8: error: 'SIGCHLD' was not declared in this scope
otserv.cpp:201:8: error: 'SIGUSR1' was not declared in this scope
otserv.cpp:206:8: error: 'SIGUSR2' was not declared in this scope
otserv.cpp:210:8: error: 'SIGCONT' was not declared in this scope
otserv.cpp:215:8: error: 'SIGQUIT' was not declared in this scope
otserv.cpp:220:8: error: 'SIGTERM' was not declared in this scope
otserv.cpp: In function 'int main(int, char**)':
otserv.cpp:281:19: error: aggregate 'main(int, char**)::sigaction sigh' has incomplete type and cannot be defined
otserv.cpp:282:20: error: 'SIG_IGN' was not declared in this scope
otserv.cpp:285:27: error: 'sigemptyset' was not declared in this scope
otserv.cpp:286:12: error: 'SIGPIPE' was not declared in this scope
otserv.cpp:286:34: error: invalid use of incomplete type 'struct main(int, char**)::sigaction'
otserv.cpp:281:9: error: forward declaration of 'struct main(int, char**)::sigaction'
otserv.cpp:289:9: error: 'SIGHUP' was not declared in this scope
otserv.cpp:289:30: error: 'signal' was not declared in this scope
otserv.cpp:290:9: error: 'SIGTRAP' was not declared in this scope
otserv.cpp:291:9: error: 'SIGCHLD' was not declared in this scope
otserv.cpp:292:9: error: 'SIGUSR1' was not declared in this scope
otserv.cpp:293:9: error: 'SIGUSR2' was not declared in this scope
otserv.cpp:294:9: error: 'SIGCONT' was not declared in this scope
otserv.cpp:295:9: error: 'SIGQUIT' was not declared in this scope
otserv.cpp:296:9: error: 'SIGTERM' was not declared in this scope
make[1]: *** [otserv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
luascript.cpp: In member function 'bool LuaInterface::loadDirectory(const std::string&, Npc*, bool)':
luascript.cpp:741:23: error: 'class boost::filesystem3::directory_entry' has no member named 'leaf'
luascript.cpp:744:61: error: no match for 'operator+' in 'boost::filesystem3:
ath::filename() const() + "/"'
make[1]: *** [luascript.o] Error 1
mv -f .deps/protocolhttp.Tpo .deps/protocolhttp.Po
mv -f .deps/player.Tpo .deps/player.Po
mv -f .deps/protocolgame.Tpo .deps/protocolgame.Po
make[1]: Leaving directory `/home/otserv'
make: *** [all] Error 2
root@unassigned:/home/otserv# make
make all-am
make[1]: Entering directory `/home/otserv'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
luascript.cpp: In member function 'bool LuaInterface::loadDirectory(const std::string&, Npc*, bool)':
luascript.cpp:741:23: error: 'class boost::filesystem3::directory_entry' has no member named 'leaf'
luascript.cpp:744:61: error: no match for 'operator+' in 'boost::filesystem3:
ath::filename() const() + "/"'
make[1]: *** [luascript.o] Error 1
make[1]: Leaving directory `/home/otserv'
make: *** [all] Error 2
-------------
How can i proceed?
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all-am
make[1]: Entering directory `/home/otserv'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT otserv.o -MD -MP -MF .deps/otserv.Tpo -c -o otserv.o otserv.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT party.o -MD -MP -MF .deps/party.Tpo -c -o party.o party.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT player.o -MD -MP -MF .deps/player.Tpo -c -o player.o player.cpp
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT position.o -MD -MP -MF .deps/position.Tpo -c -o position.o position.cpp
mv -f .deps/position.Tpo .deps/position.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.cpp
mv -f .deps/party.Tpo .deps/party.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT protocolgame.o -MD -MP -MF .deps/protocolgame.Tpo -c -o protocolgame.o protocolgame.cpp
mv -f .deps/protocol.Tpo .deps/protocol.Po
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT protocolhttp.o -MD -MP -MF .deps/protocolhttp.Tpo -c -o protocolhttp.o protocolhttp.cpp
otserv.cpp: In function 'void signalHandler(int32_t)':
otserv.cpp:188:8: error: 'SIGHUP' was not declared in this scope
otserv.cpp:193:8: error: 'SIGTRAP' was not declared in this scope
otserv.cpp:197:8: error: 'SIGCHLD' was not declared in this scope
otserv.cpp:201:8: error: 'SIGUSR1' was not declared in this scope
otserv.cpp:206:8: error: 'SIGUSR2' was not declared in this scope
otserv.cpp:210:8: error: 'SIGCONT' was not declared in this scope
otserv.cpp:215:8: error: 'SIGQUIT' was not declared in this scope
otserv.cpp:220:8: error: 'SIGTERM' was not declared in this scope
otserv.cpp: In function 'int main(int, char**)':
otserv.cpp:281:19: error: aggregate 'main(int, char**)::sigaction sigh' has incomplete type and cannot be defined
otserv.cpp:282:20: error: 'SIG_IGN' was not declared in this scope
otserv.cpp:285:27: error: 'sigemptyset' was not declared in this scope
otserv.cpp:286:12: error: 'SIGPIPE' was not declared in this scope
otserv.cpp:286:34: error: invalid use of incomplete type 'struct main(int, char**)::sigaction'
otserv.cpp:281:9: error: forward declaration of 'struct main(int, char**)::sigaction'
otserv.cpp:289:9: error: 'SIGHUP' was not declared in this scope
otserv.cpp:289:30: error: 'signal' was not declared in this scope
otserv.cpp:290:9: error: 'SIGTRAP' was not declared in this scope
otserv.cpp:291:9: error: 'SIGCHLD' was not declared in this scope
otserv.cpp:292:9: error: 'SIGUSR1' was not declared in this scope
otserv.cpp:293:9: error: 'SIGUSR2' was not declared in this scope
otserv.cpp:294:9: error: 'SIGCONT' was not declared in this scope
otserv.cpp:295:9: error: 'SIGQUIT' was not declared in this scope
otserv.cpp:296:9: error: 'SIGTERM' was not declared in this scope
make[1]: *** [otserv.o] Error 1
make[1]: *** Waiting for unfinished jobs....
luascript.cpp: In member function 'bool LuaInterface::loadDirectory(const std::string&, Npc*, bool)':
luascript.cpp:741:23: error: 'class boost::filesystem3::directory_entry' has no member named 'leaf'
luascript.cpp:744:61: error: no match for 'operator+' in 'boost::filesystem3:
make[1]: *** [luascript.o] Error 1
mv -f .deps/protocolhttp.Tpo .deps/protocolhttp.Po
mv -f .deps/player.Tpo .deps/player.Po
mv -f .deps/protocolgame.Tpo .deps/protocolgame.Po
make[1]: Leaving directory `/home/otserv'
make: *** [all] Error 2
root@unassigned:/home/otserv# make
make all-am
make[1]: Entering directory `/home/otserv'
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__USE_SQLITE__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
luascript.cpp: In member function 'bool LuaInterface::loadDirectory(const std::string&, Npc*, bool)':
luascript.cpp:741:23: error: 'class boost::filesystem3::directory_entry' has no member named 'leaf'
luascript.cpp:744:61: error: no match for 'operator+' in 'boost::filesystem3:
make[1]: *** [luascript.o] Error 1
make[1]: Leaving directory `/home/otserv'
make: *** [all] Error 2
-------------
How can i proceed?