Compilação em Ubuntu 10.04 Otserv

Iniciado por dropsx2, 19 de Dezembro de 2014, 18:38

tópico anterior - próximo tópico

dropsx2

fui compilar um open tibia server no meu ubuntu (VPS) e deu o seguinte erro

CitarConfigure complete, now you may type 'make'.
test -z "theforgottenserver" || rm -f theforgottenserver
rm -f *.o
make  all-am
make[1]: Entering directory `/home/otserv'
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -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  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -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  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -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  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT chat.o -MD -MP -MF .deps/chat.Tpo -c -o chat.o chat.cpp
mv -f .deps/beds.Tpo .deps/beds.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT combat.o -MD -MP -MF .deps/combat.Tpo -c -o combat.o combat.cpp
mv -f .deps/chat.Tpo .deps/chat.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT condition.o -MD -MP -MF .deps/condition.Tpo -c -o condition.o condition.cpp
mv -f .deps/combat.Tpo .deps/combat.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT configmanager.o -MD -MP -MF .deps/configmanager.Tpo -c -o configmanager.o configmanager.cpp
mv -f .deps/condition.Tpo .deps/condition.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT connection.o -MD -MP -MF .deps/connection.Tpo -c -o connection.o connection.cpp
mv -f .deps/configmanager.Tpo .deps/configmanager.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT container.o -MD -MP -MF .deps/container.Tpo -c -o container.o container.cpp
mv -f .deps/container.Tpo .deps/container.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT creature.o -MD -MP -MF .deps/creature.Tpo -c -o creature.o creature.cpp
mv -f .deps/connection.Tpo .deps/connection.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT creatureevent.o -MD -MP -MF .deps/creatureevent.Tpo -c -o creatureevent.o creatureevent.cpp
mv -f .deps/creature.Tpo .deps/creature.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT cylinder.o -MD -MP -MF .deps/cylinder.Tpo -c -o cylinder.o cylinder.cpp
mv -f .deps/creatureevent.Tpo .deps/creatureevent.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT database.o -MD -MP -MF .deps/database.Tpo -c -o database.o database.cpp
mv -f .deps/cylinder.Tpo .deps/cylinder.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT databasemanager.o -MD -MP -MF .deps/databasemanager.Tpo -c -o databasemanager.o databasemanager.cpp
mv -f .deps/database.Tpo .deps/database.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT databasemysql.o -MD -MP -MF .deps/databasemysql.Tpo -c -o databasemysql.o databasemysql.cpp
mv -f .deps/databasemanager.Tpo .deps/databasemanager.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT depot.o -MD -MP -MF .deps/depot.Tpo -c -o depot.o depot.cpp
mv -f .deps/databasemysql.Tpo .deps/databasemysql.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT exception.o -MD -MP -MF .deps/exception.Tpo -c -o exception.o exception.cpp
mv -f .deps/exception.Tpo .deps/exception.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT fileloader.o -MD -MP -MF .deps/fileloader.Tpo -c -o fileloader.o fileloader.cpp
mv -f .deps/depot.Tpo .deps/depot.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT game.o -MD -MP -MF .deps/game.Tpo -c -o game.o game.cpp
mv -f .deps/fileloader.Tpo .deps/fileloader.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT globalevent.o -MD -MP -MF .deps/globalevent.Tpo -c -o globalevent.o globalevent.cpp
game.cpp: In member function 'bool Game::playerMoveItem(uint32_t, const Position&, uint16_t, int16_t, const Position&, uint8_t)':
game.cpp:1391: warning: unused variable 'tileItem'
mv -f .deps/globalevent.Tpo .deps/globalevent.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT group.o -MD -MP -MF .deps/group.Tpo -c -o group.o group.cpp
mv -f .deps/group.Tpo .deps/group.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT gui.o -MD -MP -MF .deps/gui.Tpo -c -o gui.o gui.cpp
mv -f .deps/gui.Tpo .deps/gui.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT house.o -MD -MP -MF .deps/house.Tpo -c -o house.o house.cpp
mv -f .deps/game.Tpo .deps/game.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT housetile.o -MD -MP -MF .deps/housetile.Tpo -c -o housetile.o housetile.cpp
mv -f .deps/house.Tpo .deps/house.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT inputbox.o -MD -MP -MF .deps/inputbox.Tpo -c -o inputbox.o inputbox.cpp
mv -f .deps/inputbox.Tpo .deps/inputbox.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT ioban.o -MD -MP -MF .deps/ioban.Tpo -c -o ioban.o ioban.cpp
mv -f .deps/housetile.Tpo .deps/housetile.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT ioguild.o -MD -MP -MF .deps/ioguild.Tpo -c -o ioguild.o ioguild.cpp
mv -f .deps/ioban.Tpo .deps/ioban.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT iologindata.o -MD -MP -MF .deps/iologindata.Tpo -c -o iologindata.o iologindata.cpp
mv -f .deps/ioguild.Tpo .deps/ioguild.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT iomap.o -MD -MP -MF .deps/iomap.Tpo -c -o iomap.o iomap.cpp
mv -f .deps/iomap.Tpo .deps/iomap.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT iomapserialize.o -MD -MP -MF .deps/iomapserialize.Tpo -c -o iomapserialize.o iomapserialize.cpp
mv -f .deps/iologindata.Tpo .deps/iologindata.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT item.o -MD -MP -MF .deps/item.Tpo -c -o item.o item.cpp
mv -f .deps/iomapserialize.Tpo .deps/iomapserialize.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT itemattributes.o -MD -MP -MF .deps/itemattributes.Tpo -c -o itemattributes.o itemattributes.cpp
mv -f .deps/item.Tpo .deps/item.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT items.o -MD -MP -MF .deps/items.Tpo -c -o items.o items.cpp
mv -f .deps/itemattributes.Tpo .deps/itemattributes.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
monsters.h: In static member function 'static int32_t LuaScriptInterface::luaDoCreateCustomMonster(lua_State*)':
monsters.h:145: error: 'bool Monsters::deserializeSpell(xmlNode*, spellBlock_t&, const std::string&)' is private
luascript.cpp:4715: error: within this context
mv -f .deps/items.Tpo .deps/items.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT mailbox.o -MD -MP -MF .deps/mailbox.Tpo -c -o mailbox.o mailbox.cpp
make[1]: *** [luascript.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/mailbox.Tpo .deps/mailbox.Po
make[1]: Leaving directory `/home/otserv'
make: *** [all] Error 2
root@serverxcz14541:/home/otserv# make
make  all-am
make[1]: Entering directory `/home/otserv'
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
monsters.h: In static member function 'static int32_t LuaScriptInterface::luaDoCreateCustomMonster(lua_State*)':
monsters.h:145: error: 'bool Monsters::deserializeSpell(xmlNode*, spellBlock_t&, const std::string&)' is private
luascript.cpp:4715: error: within this context
make[1]: *** [luascript.o] Error 1
make[1]: Leaving directory `/home/otserv'
make: *** [all] Error 2

??? ??? alguém me ajuda por favor!!  ::)