Jump to content
  • 0

Problem after compile


inferius30

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  06/03/14
  • Last Seen:  

Can anyone help me with this problem? I really don't have any idea on what's happening. I just edited conf files and a few db files and this happened after compiling.

 

skill.c:17454: error: conflicting types for 'skill_can_produce_mix'
skill.h:433: note: previous declaration of 'skill_can_produce_mix' was here
skill.c:17518: error: conflicting types for 'skill_produce_mix'
skill.h:434: note: previous declaration of 'skill_produce_mix' was here
skill.c:18102: error: conflicting types for 'skill_arrow_create'
skill.h:436: note: previous declaration of 'skill_arrow_create' was here
skill.c:18144: error: conflicting types for 'skill_poisoningweapon'
skill.h:1990: note: previous declaration of 'skill_poisoningweapon' was here
skill.c:18210: error: conflicting types for 'skill_magicdecoy'
skill.h:1986: note: previous declaration of 'skill_magicdecoy' was here
skill.c:18258: error: conflicting types for 'skill_spellbook'
skill.h:1966: note: previous declaration of 'skill_spellbook' was here
make[1]: Leaving directory `/home/trincli0307/trunk/src/map'
make[1]: *** [obj_sql/skill.o] Error 1
make: *** [map] Error 2
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.04
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Did you modified some things on src ? and the errors are shown.. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  06/03/14
  • Last Seen:  

None of the files that were mentioned there. Just 1 file from the src folder, renewal.h.

 

I'm not really sure if I've fixed it already but another one came up instead of the first post.

 

npc.c: In function 'npc_parse_mapflag':
npc.c:3734: error: 'MAX_SKILL_DAMAGE_RATE' undeclared (first use in this function)
npc.c:3734: error: (Each undeclared identifier is reported only once
npc.c:3734: error: for each function it appears in.)
make[1]: Leaving directory `/home/trincli0307/trunk/src/map'
make[1]: *** [obj_sql/npc.o] Error 1
make: *** [map] Error 2
 
Files I edited before the errors occured, skill_db, skill_tree and renewal.h. Even after restoring their original copy I'm still getting errors during compilation.
Edited by inferius30
Link to comment
Share on other sites

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...