Ir para conteúdo
  • 0

[Resolvido] Compilar PokeTibia (Source DXP) em Linux


bepokemon

Pergunta

Sou um tanto quanto leigo no assunto mas até o configure parece estar tudo certinho, alguém pode dar uma ajuda aqui, por favor? <3
 

Configure complete, now you may type 'make'.root@*****:/home/otserv/*****/sources2# ake -j 4-bash: ake: command not foundroot@*****:/home/otserv/*****/sources2# make -j 4make  all-ammake[1]: Entering directory `/home/otserv/****/sources2'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.cppg++ -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.cppg++ -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.cppg++ -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.cppmv -f .deps/group.Tpo .deps/group.Pog++ -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.cppmv -f .deps/database.Tpo .deps/database.Pomv -f .deps/depot.Tpo .deps/depot.Pomv -f .deps/beds.Tpo .deps/beds.Pomv -f .deps/ioguild.Tpo .deps/ioguild.Pog++ -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   -o theforgottenserver actions.o  allocator.o baseevents.o beds.o chat.o combat.o condition.o configmanager.o connection.o container.o creature.o creatureevent.o cylinder.o database.o databasemanager.o databasemysql.o    depot.o exception.o fileloader.o game.o  globalevent.o group.o gui.o house.o housetile.o inputbox.o ioban.o ioguild.o iologindata.o iomap.o iomapserialize.o item.o itemattributes.o items.o luascript.o mailbox.o map.o md5.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o outputmessage.o party.o playerbox.o player.o position.o protocol.o protocolgame.o protocollogin.o protocolold.o quests.o raids.o rsa.o scheduler.o scriptmanager.o server.o sha1.o spawn.o spells.o status.o talkaction.o tasks.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o waitlist.o weapons.o vocation.o -llua5.1   -lmysqlclient -lboost_filesystem -lboost_date_time -lboost_system -lboost_regex -lboost_thread -lgmp  -lxml2/usr/bin/ld: connection.o: undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command linecollect2: error: ld returned 1 exit statusmake[1]: *** [theforgottenserver] Error 1make[1]: Leaving directory `/home/otserv/*****/sources2'make: *** [all] Error 2root@*****:/home/otserv/*****/sources2# 
Link para o comentário
Compartilhar em outros sites

Posts Recomendados

  • 1
Agora, bepokemon disse:

 

 

Essa aqui

Essa Source possui diversos erros e armadilhas eu sugiro que use á source criada pelo KyoGron e Adaptada para o DXP segue o link:

 

 

Link para o comentário
Compartilhar em outros sites

  • 0
20 minutos atrás, DarkWore disse:

Essa Source possui diversos erros e armadilhas eu sugiro que use á source criada pelo KyoGron e Adaptada para o DXP segue o link:

 

 

Muito bom achar essas sources, tentei compilar aqui mas, além de alguns (muitos) erros durante a compilação, deu um erro em monster.cpp que parou o make. :c Não sei de verdade o que fazer.

50 minutos atrás, DarkWore disse:

Essa Source possui diversos erros e armadilhas eu sugiro que use á source criada pelo KyoGron e Adaptada para o DXP segue o link:

 

 

Dá pra compilar em Ubuntu 14.04?

Link para o comentário
Compartilhar em outros sites

  • 0
37 minutos atrás, bepokemon disse:

Muito bom achar essas sources, tentei compilar aqui mas, além de alguns (muitos) erros durante a compilação, deu um erro em monster.cpp que parou o make. :c Não sei de verdade o que fazer.

Dá pra compilar em Ubuntu 14.04?

Sim da pra compilar em qualquer ubuntu, só não compilo pra você porque não tenho ubuntu aqui e meu tempo é muito curto.

Link para o comentário
Compartilhar em outros sites

  • 0
Agora, DarkWore disse:

Sim da pra compilar em qualquer ubuntu, só não compilo pra você porque não tenho ubuntu aqui e meu tempo é muito curto.

Eu tentei compilar e tive alguns erros :c

 

Spoiler
make  all-ammake[1]: Entering directory `/home/otserv/alaskaotp'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.cppg++ -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.cppg++ -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.cppg++ -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.cppmv -f .deps/allocator.Tpo .deps/allocator.Pog++ -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.cppchat.cpp: In member function 'ChatChannel* Chat::createChannel(Player*, uint16_t)':chat.cpp:381:14: warning: variable 'flags' set but not used [-Wunused-but-set-variable]     uint16_t flags = 0;              ^chat.cpp: In member function 'ChatChannel* Chat::getChannel(Player*, uint16_t)':chat.cpp:1121:10: warning: converting 'false' to pointer type 'ChatChannel*' [-Wconversion-null]   return false;          ^mv -f .deps/baseevents.Tpo .deps/baseevents.Pog++ -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.cppmv -f .deps/beds.Tpo .deps/beds.Pog++ -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.cppmv -f .deps/actions.Tpo .deps/actions.Pog++ -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.cppmv -f .deps/chat.Tpo .deps/chat.Pog++ -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.cppmv -f .deps/combat.Tpo .deps/combat.Pog++ -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.cppmv -f .deps/condition.Tpo .deps/condition.Pog++ -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.cppmv -f .deps/configmanager.Tpo .deps/configmanager.Pog++ -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.cppmv -f .deps/connection.Tpo .deps/connection.Pog++ -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.cppcreature.cpp: In member function 'int32_t Creature::getStepDuration(Direction) const':creature.cpp:1509:1: warning: control reaches end of non-void function [-Wreturn-type] } ^mv -f .deps/cylinder.Tpo .deps/cylinder.Pog++ -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.cppmv -f .deps/container.Tpo .deps/container.Pog++ -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.cppmv -f .deps/creatureevent.Tpo .deps/creatureevent.Pog++ -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.cppmv -f .deps/creature.Tpo .deps/creature.Pog++ -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.cppmv -f .deps/databasemysql.Tpo .deps/databasemysql.Pog++ -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.cppmv -f .deps/exception.Tpo .deps/exception.Pog++ -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.cppmv -f .deps/database.Tpo .deps/database.Pog++ -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.cppmv -f .deps/databasemanager.Tpo .deps/databasemanager.Pog++ -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.cppmv -f .deps/depot.Tpo .deps/depot.Pog++ -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.cppgame.cpp: In member function 'Item* Game::findItemOfType(Cylinder*, uint16_t, bool, int32_t)':game.cpp:1704:10: warning: converting 'false' to pointer type 'Item*' [-Wconversion-null]   return false;          ^mv -f .deps/fileloader.Tpo .deps/fileloader.Pog++ -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.cppmv -f .deps/gui.Tpo .deps/gui.Pog++ -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.cppmv -f .deps/group.Tpo .deps/group.Pog++ -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.cppmv -f .deps/globalevent.Tpo .deps/globalevent.Pog++ -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.cppmv -f .deps/housetile.Tpo .deps/housetile.Pog++ -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.cppmv -f .deps/inputbox.Tpo .deps/inputbox.Pog++ -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.cppmv -f .deps/game.Tpo .deps/game.Pog++ -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.cppmv -f .deps/house.Tpo .deps/house.Pog++ -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.cppmv -f .deps/ioban.Tpo .deps/ioban.Pog++ -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.cppmv -f .deps/ioguild.Tpo .deps/ioguild.Pog++ -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.cppmv -f .deps/iomap.Tpo .deps/iomap.Pog++ -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.cppmv -f .deps/iologindata.Tpo .deps/iologindata.Pog++ -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.cppmv -f .deps/iomapserialize.Tpo .deps/iomapserialize.Pog++ -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.cppmv -f .deps/itemattributes.Tpo .deps/itemattributes.Pog++ -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.cppmv -f .deps/item.Tpo .deps/item.Pog++ -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 map.o -MD -MP -MF .deps/map.Tpo -c -o map.o map.cppluascript.cpp: In member function 'bool LuaScriptInterface::loadDirectory(const string&, Npc*)':luascript.cpp:719:23: error: 'class boost::filesystem::directory_entry' has no member named 'leaf'   std::string s = it->leaf();                       ^mv -f .deps/items.Tpo .deps/items.Pog++ -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 md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.cppmake[1]: *** [luascript.o] Error 1make[1]: *** Waiting for unfinished jobs....mv -f .deps/mailbox.Tpo .deps/mailbox.Pomv -f .deps/md5.Tpo .deps/md5.Pomv -f .deps/map.Tpo .deps/map.Pomake[1]: Leaving directory `/home/otserv/alaskaotp'make: *** [all] Error 2

 

 

Cê não saberia me dizer o que fazer? '0'

PS: Saberia me indicar alguém que eu possa pedir para compilar em Ubuntu 14.04 pra mim? :s

Link para o comentário
Compartilhar em outros sites

  • 0
2 minutos atrás, bepokemon disse:

Eu tentei compilar e tive alguns erros :c

 

  Ocultar conteúdo
make  all-ammake[1]: Entering directory `/home/otserv/alaskaotp'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.cppg++ -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.cppg++ -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.cppg++ -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.cppmv -f .deps/allocator.Tpo .deps/allocator.Pog++ -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.cppchat.cpp: In member function 'ChatChannel* Chat::createChannel(Player*, uint16_t)':chat.cpp:381:14: warning: variable 'flags' set but not used [-Wunused-but-set-variable]     uint16_t flags = 0;              ^chat.cpp: In member function 'ChatChannel* Chat::getChannel(Player*, uint16_t)':chat.cpp:1121:10: warning: converting 'false' to pointer type 'ChatChannel*' [-Wconversion-null]   return false;          ^mv -f .deps/baseevents.Tpo .deps/baseevents.Pog++ -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.cppmv -f .deps/beds.Tpo .deps/beds.Pog++ -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.cppmv -f .deps/actions.Tpo .deps/actions.Pog++ -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.cppmv -f .deps/chat.Tpo .deps/chat.Pog++ -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.cppmv -f .deps/combat.Tpo .deps/combat.Pog++ -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.cppmv -f .deps/condition.Tpo .deps/condition.Pog++ -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.cppmv -f .deps/configmanager.Tpo .deps/configmanager.Pog++ -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.cppmv -f .deps/connection.Tpo .deps/connection.Pog++ -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.cppcreature.cpp: In member function 'int32_t Creature::getStepDuration(Direction) const':creature.cpp:1509:1: warning: control reaches end of non-void function [-Wreturn-type] } ^mv -f .deps/cylinder.Tpo .deps/cylinder.Pog++ -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.cppmv -f .deps/container.Tpo .deps/container.Pog++ -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.cppmv -f .deps/creatureevent.Tpo .deps/creatureevent.Pog++ -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.cppmv -f .deps/creature.Tpo .deps/creature.Pog++ -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.cppmv -f .deps/databasemysql.Tpo .deps/databasemysql.Pog++ -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.cppmv -f .deps/exception.Tpo .deps/exception.Pog++ -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.cppmv -f .deps/database.Tpo .deps/database.Pog++ -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.cppmv -f .deps/databasemanager.Tpo .deps/databasemanager.Pog++ -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.cppmv -f .deps/depot.Tpo .deps/depot.Pog++ -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.cppgame.cpp: In member function 'Item* Game::findItemOfType(Cylinder*, uint16_t, bool, int32_t)':game.cpp:1704:10: warning: converting 'false' to pointer type 'Item*' [-Wconversion-null]   return false;          ^mv -f .deps/fileloader.Tpo .deps/fileloader.Pog++ -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.cppmv -f .deps/gui.Tpo .deps/gui.Pog++ -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.cppmv -f .deps/group.Tpo .deps/group.Pog++ -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.cppmv -f .deps/globalevent.Tpo .deps/globalevent.Pog++ -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.cppmv -f .deps/housetile.Tpo .deps/housetile.Pog++ -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.cppmv -f .deps/inputbox.Tpo .deps/inputbox.Pog++ -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.cppmv -f .deps/game.Tpo .deps/game.Pog++ -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.cppmv -f .deps/house.Tpo .deps/house.Pog++ -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.cppmv -f .deps/ioban.Tpo .deps/ioban.Pog++ -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.cppmv -f .deps/ioguild.Tpo .deps/ioguild.Pog++ -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.cppmv -f .deps/iomap.Tpo .deps/iomap.Pog++ -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.cppmv -f .deps/iologindata.Tpo .deps/iologindata.Pog++ -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.cppmv -f .deps/iomapserialize.Tpo .deps/iomapserialize.Pog++ -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.cppmv -f .deps/itemattributes.Tpo .deps/itemattributes.Pog++ -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.cppmv -f .deps/item.Tpo .deps/item.Pog++ -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 map.o -MD -MP -MF .deps/map.Tpo -c -o map.o map.cppluascript.cpp: In member function 'bool LuaScriptInterface::loadDirectory(const string&, Npc*)':luascript.cpp:719:23: error: 'class boost::filesystem::directory_entry' has no member named 'leaf'   std::string s = it->leaf();                       ^mv -f .deps/items.Tpo .deps/items.Pog++ -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 md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.cppmake[1]: *** [luascript.o] Error 1make[1]: *** Waiting for unfinished jobs....mv -f .deps/mailbox.Tpo .deps/mailbox.Pomv -f .deps/md5.Tpo .deps/md5.Pomv -f .deps/map.Tpo .deps/map.Pomake[1]: Leaving directory `/home/otserv/alaskaotp'make: *** [all] Error 2

 

 

Cê não saberia me dizer o que fazer? '0'

PS: Saberia me indicar alguém que eu possa pedir para compilar em Ubuntu 14.04 pra mim? :s

Você ta instalando as LIB's Certo? Eu não conheço ninguém.

Link para o comentário
Compartilhar em outros sites

  • 0
Agora, DarkWore disse:

Você ta instalando as LIB's Certo? Eu não conheço ninguém.

 

apt-get install autoconf libboost-all-dev libgmp-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libxml2-dev libxml++2.6-dev libmysql++-dev libsqlite0-dev libsqlite3-dev build-essential

São todas essas? Faltou alguma?

Link para o comentário
Compartilhar em outros sites

  • 0
2 minutos atrás, bepokemon disse:

 

apt-get install autoconf libboost-all-dev libgmp-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libxml2-dev libxml++2.6-dev libmysql++-dev libsqlite0-dev libsqlite3-dev build-essential

São todas essas? Faltou alguma?

 

Utilize esses comandos:

 

apt-get update
apt-get upgrade
apt-get install libboost-all-dev
apt-get install subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev libcrypto++-dev ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev screen libssl-dev
apt-get install libcurl4-openssl-dev
apt-get install screen

Testa esses comandos.

Link para o comentário
Compartilhar em outros sites

  • 0
28 minutos atrás, DarkWore disse:

 

Utilize esses comandos:

 

apt-get update
apt-get upgrade
apt-get install libboost-all-dev
apt-get install subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev libcrypto++-dev ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev screen libssl-dev
apt-get install libcurl4-openssl-dev
apt-get install screen

Testa esses comandos.

 

Todos os comandos funcionaram certinho, porém não consigo compilar mesmo assim:

 

Spoiler
Configure complete, now you may type 'make'.root@alaskaotp:/home/otserv/alaskaotp# make -j 4make  all-ammake[1]: Entering directory `/home/otserv/alaskaotp'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.cppg++ -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 playerbox.o -MD -MP -MF .deps/playerbox.Tpo -c -o playerbox.o playerbox.cppg++ -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 player.o -MD -MP -MF .deps/player.Tpo -c -o player.o player.cppg++ -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 position.o -MD -MP -MF .deps/position.Tpo -c -o position.o position.cppmv -f .deps/position.Tpo .deps/position.Pog++ -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 protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.cppluascript.cpp: In member function 'bool LuaScriptInterface::loadDirectory(const string&, Npc*)':luascript.cpp:719:23: error: 'class boost::filesystem::directory_entry' has no member named 'leaf'   std::string s = it->leaf();                       ^mv -f .deps/playerbox.Tpo .deps/playerbox.Pog++ -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 protocolgame.o -MD -MP -MF .deps/protocolgame.Tpo -c -o protocolgame.o protocolgame.cppmake[1]: *** [luascript.o] Error 1make[1]: *** Waiting for unfinished jobs....mv -f .deps/protocol.Tpo .deps/protocol.Pomv -f .deps/player.Tpo .deps/player.Pomv -f .deps/protocolgame.Tpo .deps/protocolgame.Pomake[1]: Leaving directory `/home/otserv/alaskaotp'make: *** [all] Error 2

 

 

Link para o comentário
Compartilhar em outros sites

  • 0
Agora, bepokemon disse:

 

Todos os comandos funcionaram certinho, porém não consigo compilar mesmo assim:

 

  Mostrar conteúdo oculto
Configure complete, now you may type 'make'.root@alaskaotp:/home/otserv/alaskaotp# make -j 4make  all-ammake[1]: Entering directory `/home/otserv/alaskaotp'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.cppg++ -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 playerbox.o -MD -MP -MF .deps/playerbox.Tpo -c -o playerbox.o playerbox.cppg++ -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 player.o -MD -MP -MF .deps/player.Tpo -c -o player.o player.cppg++ -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 position.o -MD -MP -MF .deps/position.Tpo -c -o position.o position.cppmv -f .deps/position.Tpo .deps/position.Pog++ -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 protocol.o -MD -MP -MF .deps/protocol.Tpo -c -o protocol.o protocol.cppluascript.cpp: In member function 'bool LuaScriptInterface::loadDirectory(const string&, Npc*)':luascript.cpp:719:23: error: 'class boost::filesystem::directory_entry' has no member named 'leaf'   std::string s = it->leaf();                       ^mv -f .deps/playerbox.Tpo .deps/playerbox.Pog++ -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 protocolgame.o -MD -MP -MF .deps/protocolgame.Tpo -c -o protocolgame.o protocolgame.cppmake[1]: *** [luascript.o] Error 1make[1]: *** Waiting for unfinished jobs....mv -f .deps/protocol.Tpo .deps/protocol.Pomv -f .deps/player.Tpo .deps/player.Pomv -f .deps/protocolgame.Tpo .deps/protocolgame.Pomake[1]: Leaving directory `/home/otserv/alaskaotp'make: *** [all] Error 2

 

 

Agora é facil vai em luascript.cpp e scriptmanager.cpp e procure por:

 

stdstring s = it->leaf();

Troque por:

stdstring s = it->path().filename().string();

Compile e Pronto seu problema está resolvido.

Link para o comentário
Compartilhar em outros sites

  • 0

Algumas coisas compilaram certinho (te amo muito!)

Porém tive esses erros em luascript.ccp:

Spoiler
luascript.cpp: In static member function 'static int32_t LuaScriptInterface::luaDoPlayerAddItem(lua_State*)':luascript.cpp:4063:7: warning: variable 'canDropOnMap' set but not used [-Wunused-but-set-variable]  bool canDropOnMap = true;       ^luascript.cpp: In static member function 'static int32_t LuaScriptInterface::luaDoPlayerAddItemEx(lua_State*)':luascript.cpp:4145:7: warning: variable 'canDropOnMap' set but not used [-Wunused-but-set-variable]  bool canDropOnMap = false;       ^luascript.cpp: In static member function 'static int32_t LuaScriptInterface::luaGetTownTemplePosition(lua_State*)':luascript.cpp:9340:7: warning: variable 'displayError' set but not used [-Wunused-but-set-variable]  bool displayError = true;       ^

 

E um erro que parou a compilação pouco depois:

Spoiler
/usr/bin/ld: connection.o: undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command linecollect2: error: ld returned 1 exit statusmake[1]: *** [theforgottenserver] Error 1make[1]: Leaving directory `/home/otserv/alaskaotp'make: *** [all] Error 2

 

 

 

Me perdoa por ser tão leigo no assunto e ocupar tanto sua paciência e tempo :s

PS: Que é o mesmo erro que eu tava tendo antes.

Link para o comentário
Compartilhar em outros sites

  • 0
Agora, bepokemon disse:

Algumas coisas compilaram certinho (te amo muito!)

Porém tive esses erros em luascript.ccp:

  Mostrar conteúdo oculto
luascript.cpp: In static member function 'static int32_t LuaScriptInterface::luaDoPlayerAddItem(lua_State*)':luascript.cpp:4063:7: warning: variable 'canDropOnMap' set but not used [-Wunused-but-set-variable]  bool canDropOnMap = true;       ^luascript.cpp: In static member function 'static int32_t LuaScriptInterface::luaDoPlayerAddItemEx(lua_State*)':luascript.cpp:4145:7: warning: variable 'canDropOnMap' set but not used [-Wunused-but-set-variable]  bool canDropOnMap = false;       ^luascript.cpp: In static member function 'static int32_t LuaScriptInterface::luaGetTownTemplePosition(lua_State*)':luascript.cpp:9340:7: warning: variable 'displayError' set but not used [-Wunused-but-set-variable]  bool displayError = true;       ^

 

E um erro que parou a compilação pouco depois:

  Ocultar conteúdo
/usr/bin/ld: connection.o: undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command linecollect2: error: ld returned 1 exit statusmake[1]: *** [theforgottenserver] Error 1make[1]: Leaving directory `/home/otserv/alaskaotp'make: *** [all] Error 2

 

 

 

Me perdoa por ser tão leigo no assunto e ocupar tanto sua paciência e tempo :s

Na Realidade eu fico feliz de você pedir ajuda e de qualquer forma você não esta ocupando meu tempo e muito menos tirando minha paciência.

 

Bom Vamos la

 

no seu makefile.am adicione a flag:

 

-Wno-unused-variable

Caso você não saiba adicionar á flag só ir no arquivo e colar isso:

 

CXXFLAGS = -g -O1 -Wno-unused-variable

Logo abaixo de:

 

noinst_PROGRAMS = theforgottenserver

Tente Novamente :)

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...