Jump to content
  • 0

Help in Compiling Errors


SlashGeeGee

Question


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hello rA :)

I compiled my server in windows then after transfer host to linux Cent OS when i compile i got these errors

make[1]: Entering directory `/eathena/3rdparty/mt19937ar'
    CC	  mt19937ar.c
gcc: -lpthread: linker input file unused because linking not done
make[1]: Leaving directory `/eathena/3rdparty/mt19937ar'
make[1]: Entering directory `/eathena/3rdparty/libconfig'
    CC	  libconfig.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  grammar.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  scanctx.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  scanner.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  strbuf.c
gcc: -lpthread: linker input file unused because linking not done
make[1]: Leaving directory `/eathena/3rdparty/libconfig'
make[1]: Entering directory `/eathena/src/common'
    MKDIR   obj_all
    CC	  core.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  socket.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  timer.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  db.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  lock.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  nullpo.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  malloc.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  showmsg.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  strlib.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  utils.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  grfio.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  mapindex.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  ers.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  md5calc.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  core.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  socket.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  malloc.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  random.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  des.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  conf.c
gcc: -lpthread: linker input file unused because linking not done
    CC	  thread.c
gcc: -lpthread: linker input file unused because linking not done
    AR	  obj_all/common.a
    MKDIR   obj_sql
    CC	  sql.c
    AR	  obj_sql/common_sql.a
make[1]: Leaving directory `/eathena/src/common'
make[1]: Entering directory `/eathena/src/login'
    MKDIR   obj_sql
    CC	  login.c
    CC	  account_sql.c
    CC	  ipban_sql.c
    CC	  loginlog_sql.c
    LD	  login-server_sql
make[1]: Leaving directory `/eathena/src/login'
make[1]: Entering directory `/eathena/src/char'
    MKDIR   obj_sql
    CC	  char.c
    CC	  inter.c
    CC	  int_party.c
    CC	  int_guild.c
    CC	  int_storage.c
    CC	  int_pet.c
    CC	  int_homun.c
    CC	  int_mail.c
    CC	  int_auction.c
    CC	  int_quest.c
    CC	  int_mercenary.c
    CC	  int_elemental.c
    LD	  char-server_sql
make[1]: Leaving directory `/eathena/src/char'
make[1]: Entering directory `/eathena/src/map'
    MKDIR   obj_sql
    CC	  map.c
    CC	  chrif.c
    CC	  clif.c
clif.c: In function âclif_bl_typeâ:
clif.c:272: warning: comparison is always true due to limited range of data type
clif.c:274: warning: comparison is always true due to limited range of data type
clif.c: In function âclif_setdisguiseâ:
clif.c:1206: warning: comparison is always true due to limited range of data type
    CC	  pc.c
    CC	  status.c
status.c: In function âstatus_set_viewdataâ:
status.c:5693: warning: comparison is always true due to limited range of data type
    CC	  npc.c
    CC	  npc_chat.c
    CC	  chat.c
    CC	  path.c
    CC	  itemdb.c
    CC	  mob.c
mob.c: In function âmob_ai_sub_hardâ:
mob.c:1605: warning: comparison is always true due to limited range of data type
mob.c: In function âmob_deadâ:
mob.c:2114: warning: implicit declaration of function âpc_isGMâ
mob.c:2593: warning: comparison is always true due to limited range of data type
    CC	  script.c
    CC	  storage.c
    CC	  skill.c
    CC	  atcommand.c
    CC	  battle.c
    CC	  battleground.c
    CC	  intif.c
    CC	  trade.c
    CC	  party.c
    CC	  vending.c
vending.c: In function âvending_purchasereqâ:
vending.c:267: warning: âitem_nameâ may be used uninitialized in this function
    CC	  guild.c
    CC	  pet.c
    CC	  log.c
    CC	  mail.c
    CC	  date.c
    CC	  unit.c
    CC	  homunculus.c
    CC	  mercenary.c
    CC	  quest.c
    CC	  instance.c
    CC	  buyingstore.c
    CC	  searchstore.c
    CC	  duel.c
    CC	  pc_groups.c
    CC	  elemental.c
    CC	  mapreg_sql.c
    LD	  map-server_sql
obj_sql/mob.o: In function `mob_dead':
/eathena/src/map/mob.c:2114: undefined reference to `pc_isGM'
/eathena/src/map/mob.c:2116: undefined reference to `pc_isGM'
/eathena/src/map/mob.c:2114: undefined reference to `pc_isGM'
/eathena/src/map/mob.c:2118: undefined reference to `pc_isGM'
collect2: ld returned 1 exit status
make[1]: *** [map-server_sql] Error 1
make[1]: Leaving directory `/eathena/src/map'
make: *** [map_sql] Error 2

need help badly what's the problem here ?

SlashGeeGee

Solved !

Edited by SlashGeeGee
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...