Jump to content
  • 0

Compilation Error help


Dvrstle

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

./config/./const.h:106:7: warning: no newline at end of file

gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wnpointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN no-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -./../3rdparty/libconfig -DPCRE_SUPPORT -I/usr/include/mysql -I../common -I/u/include -c -o obj_sql/clif.o clif.c

In file included from ./config/core.h:38,

from map.h:16,

from clif.c:15:

./config/./const.h:106:7: warning: no newline at end of file

clif.c: In function âclif_bl_typeâ:

clif.c:272: warning: comparison is always true due to limited range of data ty

clif.c:274: warning: comparison is always true due to limited range of data ty

clif.c: In function âclif_setdisguiseâ:

clif.c:1206: warning: comparison is always true due to limited range of data te

clif.c: In function âclif_spawnâ:

clif.c:1546: error: invalid storage class for function âclif_move2â

clif.c:1633: error: invalid storage class for function âclif_delayquitâ

clif.c:2068: error: invalid storage class for function âclif_addcardsâ

clif.c:2633: error: invalid storage class for function âclif_hpmeter_subâ

clif.c:2677: error: invalid storage class for function âclif_hpmeterâ

clif.c:3976: error: invalid storage class for function âclif_getareachar_pcâ

clif.c: In function âclif_getareachar_pcâ:

clif.c:3993: warning: implicit declaration of function âclif_talisman_singleâ

clif.c: In function âclif_spawnâ:

clif.c:4090: error: invalid storage class for function âclif_calc_delayâ

clif.c:4098: error: invalid storage class for function âclif_calc_walkdelayâ

clif.c:4322: error: invalid storage class for function âclif_getareachar_skillitâ

clif.c:4366: error: invalid storage class for function âclif_clearchar_skillunâ

clif.c:4412: error: invalid storage class for function âclif_getareacharâ

clif.c:8717: error: invalid storage class for function âclif_process_messageâ

clif.c:8821: error: invalid storage class for function âclif_guess_PacketVerâ

clif.c:10329: error: invalid storage class for function âclif_noask_subâ

clif.c:10500: error: invalid storage class for function âclif_parse_UseSkillTo_homunâ

clif.c:10524: error: invalid storage class for function âclif_parse_UseSkillTo_mercenaryâ

clif.c:10548: error: invalid storage class for function âclif_parse_UseSkillTos_mercenaryâ

clif.c:10679: error: invalid storage class for function âclif_parse_UseSkillTosSubâ

clif.c:11821: error: invalid storage class for function âclif_validate_emblemâ

clif.c:13796: error: invalid storage class for function âclif_Auction_setitemâ

clif.c:15009: error: invalid storage class for function âclif_talisman_singleâ

clif.c:15228: error: invalid storage class for function âclif_parse_ReqOpenBuygStoreâ

clif.c:15336: error: invalid storage class for function âclif_parse_ReqCloseBungStoreâ

clif.c:15366: error: invalid storage class for function âclif_parse_ReqClickBungStoreâ

clif.c:15404: error: invalid storage class for function âclif_parse_ReqTradeBungStoreâ

clif.c:15520: error: invalid storage class for function âclif_parse_SearchStornfoâ

clif.c:15637: error: invalid storage class for function âclif_parse_SearchStornfoNextPageâ

clif.c:15664: error: invalid storage class for function âclif_parse_CloseSearctoreInfoâ

clif.c:15672: error: invalid storage class for function âclif_parse_SearchStornfoListItemClickâ

clif.c:16020: error: invalid storage class for function âclif_parseâ

clif.c:16188: error: invalid storage class for function âpacketdb_readdbâ

clif.c:16804: error: expected declaration or statement at end of input

make[1]: *** [obj_sql/clif.o] Error 1

make[1]: Leaving directory `/root/Desktop/trunk/src/map'

make: *** [map_sql] Error 2

[root@blitz-ro trunk]#

please help me =(

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  91
  • Reputation:   8
  • Joined:  03/03/12
  • Last Seen:  

Sample Errors

clif.c:4090: error:

clif.c =src/../../clif.c

4090 = inside clif.c goto LINE 4090 and check the code you've inserted

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  361
  • Reputation:   10
  • Joined:  12/30/11
  • Last Seen:  

and then?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

In the line that was stated with an error, you've changed the source coding around somehow, someway and now whenever you're trying to compile, you're getting thrown errors at you because you changed something on that line that you shouldn't have changed/modified. Your best bet is to look over and see what you've touched, fix it, or revert back to a clean copy that you didn't mess up the coding.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi vlatag12,

Try posting in this section: http://rathena.org/board/forum/35-source-support/

This is more of a source error, instead of a 3rd party; good luck.

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