Entre para seguir isso  
Seguidores 0
zRazer

O que é necessario.

11 posts neste tópico

Galera , tava usando o emulador 1187 do brathena , quando pensei melhor em usar o novo , mais dai tentando compilar ele no host , deu os seguintes erros quando eu executo o comando. no SSH , abaixo os erros. Queria saber o que precisa em um host para compilar o emulador e rodar certinho?

 

sh configure.

 

checking how to run the C preprocessor... gcc -E
checking whether byte ordering is bigendian... no
checking whether pointers can be stored in ints (old code)... yes (with -m32)
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc supports -Wno-pointer-sign... yes
checking whether gcc can actually use -Wno-pointer-sign... yes
checking whether gcc supports -Wno-switch... yes
checking whether gcc supports -fPIC... yes
checking whether gcc needs -fPIC for shared objects... no, but fails for another reason
configure: error: compiler is unable to compile shared objects for an unhandled reason, please report this with attached config.log... stopping
quando executo o comando. no SSH
make clean
make[1]: Entering directory `/home/emulador/src/common'
rm -rf *.o obj_all obj_sql
make[1]: Leaving directory `/home/emulador/src/common'
make[1]: Entering directory `/home/emulador/3rdparty/mt19937ar'
rm -rf *.o
make[1]: Leaving directory `/home/emulador/3rdparty/mt19937ar'
make[1]: Entering directory `/home/emulador/src/login'
rm -rf *.o obj_sql ../../login-server_sql
make[1]: Leaving directory `/home/emulador/src/login'
make[1]: Entering directory `/home/emulador/src/char'
rm -rf *.o obj_sql ../../char-server_sql
make[1]: Leaving directory `/home/emulador/src/char'
make[1]: Entering directory `/home/emulador/src/map'
rm -rf *.o obj_txt obj_sql ../../map-server ../../map-server_sql
make[1]: Leaving directory `/home/emulador/src/map'
make[1]: Entering directory `/home/emulador/src/plugins'
rm -rf *.o
make[1]: Leaving directory `/home/emulador/src/plugins'
make[1]: Entering directory `/home/emulador/src/tool'
rm -rf obj_all/*.o ../../mapcache
make[1]: Leaving directory `/home/emulador/src/tool'
e quando executo o make sql da isso.


gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/chat.o chat.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/path.o path.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/itemdb.o itemdb.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/mob.o mob.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/script.o script.c
script.c: In function âparse_syntaxâ:
script.c:1406: warning: cast to pointer from integer of different size
script.c:1408: warning: cast to pointer from integer of different size
script.c:1631: warning: cast to pointer from integer of different size
script.c: In function âget_valâ:
script.c:2341: warning: cast to pointer from integer of different size
script.c:2352: warning: cast to pointer from integer of different size
script.c:2406: warning: cast to pointer from integer of different size
script.c:2414: warning: cast to pointer from integer of different size
script.c: In function âget_val2â:
script.c:2437: warning: cast to pointer from integer of different size
script.c: In function âset_regâ:
script.c:2464: warning: cast to pointer from integer of different size
script.c:2466: warning: cast to pointer from integer of different size
script.c:2475: warning: cast to pointer from integer of different size
script.c:2477: warning: cast to pointer from integer of different size
script.c:2515: warning: cast to pointer from integer of different size
script.c:2517: warning: cast to pointer from integer of different size
script.c:2527: warning: cast to pointer from integer of different size
script.c:2529: warning: cast to pointer from integer of different size
script.c: In function âscript_stop_sleeptimersâ:
script.c:3309: warning: cast to pointer from integer of different size
script.c: In function ârun_script_mainâ:
script.c:3556: warning: cast to pointer from integer of different size
script.c: In function âscript_setarray_pcâ:
script.c:3729: warning: cast from pointer to integer of different size
script.c: In function âbuildin_inputâ:
script.c:4892: warning: cast to pointer from integer of different size
script.c: In function âbuildin_setâ:
script.c:4938: warning: cast to pointer from integer of different size
script.c: In function âbuildin_setarrayâ:
script.c:5031: warning: cast to pointer from integer of different size
script.c: In function âbuildin_cleararrayâ:
script.c:5080: warning: cast to pointer from integer of different size
script.c: In function âbuildin_getmapxyâ:
script.c:12158: warning: cast to pointer from integer of different size
script.c:12169: warning: cast to pointer from integer of different size
script.c: In function âbuildin_sscanfâ:
script.c:13133: warning: cast to pointer from integer of different size
script.c: In function âbuildin_setdâ:
script.c:13498: warning: cast to pointer from integer of different size
script.c: In function âbuildin_query_sql_subâ:
script.c:13589: warning: cast to pointer from integer of different size
script.c: In function âbuildin_searchitemâ:
script.c:14060: warning: cast to pointer from integer of different size
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/storage.o storage.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/skill.o skill.c
skill.c: In function âskill_parse_row_skilldbâ:
skill.c:16766: warning: cast to pointer from integer of different size
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/atcommand.o atcommand.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/battle.o battle.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/battleground.o battleground.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/intif.o intif.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/trade.o trade.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/party.o party.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/vending.o vending.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/guild.o guild.c
guild.c: In function âguild_castle_reconnectâ:
guild.c:1848: warning: cast to pointer from integer of different size
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/pet.o pet.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/log.o log.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/mail.o mail.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/date.o date.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/unit.o unit.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/homunculus.o homunculus.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/mercenary.o mercenary.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/quest.o quest.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/instance.o instance.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/buyingstore.o buyingstore.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/searchstore.o searchstore.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/duel.o duel.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/elemental.o elemental.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/pc_groups.o pc_groups.c
gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -I/usr/local/include -c -o obj_sql/mapreg.o mapreg.c
gcc  -L/usr/lib -L/usr/local/lib -o ../../map-server_sql obj_sql/map.o obj_sql/chrif.o obj_sql/clif.o obj_sql/pc.o obj_sql/status.o obj_sql/npc.o obj_sql/npc_chat.o obj_sql/chat.o obj_sql/path.o obj_sql/itemdb.o obj_sql/mob.o obj_sql/script.o obj_sql/storage.o obj_sql/skill.o obj_sql/atcommand.o obj_sql/battle.o obj_sql/battleground.o obj_sql/intif.o obj_sql/trade.o obj_sql/party.o obj_sql/vending.o obj_sql/guild.o obj_sql/pet.o obj_sql/log.o obj_sql/mail.o obj_sql/date.o obj_sql/unit.o obj_sql/homunculus.o obj_sql/mercenary.o obj_sql/quest.o obj_sql/instance.o obj_sql/buyingstore.o obj_sql/searchstore.o obj_sql/duel.o obj_sql/elemental.o obj_sql/pc_groups.o obj_sql/mapreg.o ../common/obj_all/core.o ../common/obj_all/socket.o ../common/obj_all/timer.o ../common/obj_all/db.o ../common/obj_all/plugins.o ../common/obj_all/lock.o ../common/obj_all/nullpo.o ../common/obj_all/malloc.o ../common/obj_all/showmsg.o ../common/obj_all/utils.o ../common/obj_all/strlib.o ../common/obj_all/grfio.o ../common/obj_all/mapindex.o ../common/obj_all/ers.o ../common/obj_all/md5calc.o ../common/obj_all/random.o ../common/obj_all/des.o ../common/obj_all/conf.o ../common/obj_sql/sql.o ../../3rdparty/mt19937ar/mt19937ar.o -lrt -lm -lconfig -lz  -ldl -lpcre -rdynamic -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto
make[1]: Leaving directory `/home/emulador/src/map'
building conf/import folder...

Editado por zStrength
0

Compartilhar este post


Link para o post
Compartilhar em outros sites

vou testar aqui mano valeu , :D

 

@edit , mano até compilo mais o emulador não liga ;x

Editado por zStrength
0

Compartilhar este post


Link para o post
Compartilhar em outros sites

quando dou sv ligar , fala que ligou o emulador mais vejo no cp e tbm tento conectar e dá "não foi possivél conectar ao servidor"

0

Compartilhar este post


Link para o post
Compartilhar em outros sites

Bom, aí tem que ver os pacotes enviados, isto não deve ser do fator de habilitar a compilação específica para distribuições x86_64.

0

Compartilhar este post


Link para o post
Compartilhar em outros sites

o pior que a empresa que eu contratei esse host para open beta , no caso um servidor teste é extremamente orrivél. a + de 5 dias meu ticket ta sem suporte.

0

Compartilhar este post


Link para o post
Compartilhar em outros sites

Pelo ssh, com as janelas abertas, quando tentar se conectar ao servidor, verifica nas janelas se recebeu algum pacote (algo relacionado a conexão recusado/desconectada)

 

Verifica também se na sua pasta data o arquivo clientinfo.xml foi configurado com o ip do host (é sempre bom verificar 2 vezes).

0

Compartilhar este post


Link para o post
Compartilhar em outros sites

foi sim tudo configurado certo , o problema é que a porcaria do host inventou uma coisa que pra eles é "inovadora" mais para usuarios como eu é uma porcaria pq os logs não se ver mais nada apenas , Ligando emulador... Emulador ligado com sucesso....

0

Compartilhar este post


Link para o post
Compartilhar em outros sites

Através do seu domínio consegui iniciar a busca e encontrei qual hospedagem utiliza. Não tenho certeza, mas se não me engano, é liberado tanto o acesso SSH como o acesso ao painel de controle deles...

0

Compartilhar este post


Link para o post
Compartilhar em outros sites
Entre para seguir isso  
Seguidores 0