Jump to content

Erro de compilação que faz o mapserver não ligar


Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  08/02/12
  • Last Seen:  

E ae pessoal, sou novo aqui no fórum e to tendo um problema que não to achando solução na internet...

Quando compilo o emulador no host aparece o seguinte erro:

/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz

make[1]: Leaving directory `/home/emulador/src/char'

make[1]: Entering directory `/home/emulador/src/map'

mkdir obj_sql

make[1]: *** No rule to make target `obj_sql/map.o', needed by `map-server_sql'. Stop.

make[1]: Leaving directory `/home/emulador/src/map'

make: *** [map_sql] Error 2

Alguém sabe como corrigir isso?

:s

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  169
  • Topics Per Day:  0.04
  • Content Count:  1260
  • Reputation:   750
  • Joined:  11/19/11
  • Last Seen:  

q eu lembre isso é qndo vc tem mais de uma versão e ele nao sabe escolher ou qndo a versao q vc tem não bate com o (esqueci o nome |: ehm o coiso q se o seu sistema eh 32 ou 64) vc pode tanto especificar com ./configure --with-zlib=??? ou tentar na sorte e mandar ele ignorar o 64 com ./configure --disable-64bit

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  08/02/12
  • Last Seen:  

Continua o erro com algumas coisas diferentes tanto com o comando ./configure --with-zlib=32 ou 64 :

/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libpcre.so when searching for -lpcre

/usr/bin/ld: skipping incompatible /usr/lib/libpcre.a when searching for -lpcre

/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz

/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz

obj_sql/skill.o: In function `skill_unitsetting':

/home/emulador/src/map/skill.c:10521: undefined reference to `pc_del_talisman'

obj_sql/skill.o: In function `skill_castend_pos2':

/home/emulador/src/map/skill.c:9547: undefined reference to `clif_snap'

obj_sql/skill.o: In function `skill_castend_nodamage_id':

/home/emulador/src/map/skill.c:8682: undefined reference to `pc_add_talisman'

obj_sql/battle.o: In function `battle_calc_weapon_attack':

/home/emulador/src/map/battle.c:2610: undefined reference to `pc_del_talisman'

obj_sql/unit.o: In function `unit_free':

/home/emulador/src/map/unit.c:2258: undefined reference to `pc_del_talisman'

collect2: ld returned 1 exit status

make[1]: *** [map-server_sql] Error 1

make[1]: Leaving directory `/home/emulador/src/map'

make: *** [map_sql] Error 2

Agora aparece o seguinte quando ligo o servidor:

[Error]: make_listen_bind: bind failed (socket #6, error 98: Address already in use)!

[status]: Finished Reading GeoIP Database.

[info]: Finished reading the inter-server configuration.

[info]: Initializing char server.

[info]: Begin Initializing.......

[status]: Chars per Account: 'Unlimited'.......

[info]: Finished initilizing.......

[info]: char server initialized.

[info]: Cleaning the 'char' table...

[info]: Cleaning the 'guild' table...

[info]: Cleaning the 'guild_member' table...

[info]: End of char server initilization function.

[info]: open port 6121.....

[Error]: make_listen_bind: bind failed (socket #4, error 98: Address already in use)!

[info]: Closed connection from '127.0.0.1'.

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   1
  • Joined:  10/31/12
  • Last Seen:  

Isso , foi porque você altero algo na SRC que estava errado !

Agora , somente outro emulador !

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...