after i recompiled the server, the error showed please guide me what to do.
../common/../common/../common/../config/./renewal.h:86:8: warning: extra tokens at end of #endif directivepc.c: In function 'pc_addspiritball':pc.c:199: warning: passing argument 1 of 'clif->millenniumshield' from incompatible pointer typepc.c:199: note: expected 'struct block_list *' but argument is of type 'struct map_session_data *'pc.c: In function 'pc_delspiritball':pc.c:238: warning: passing argument 1 of 'clif->millenniumshield' from incompatible pointer typepc.c:238: note: expected 'struct block_list *' but argument is of type 'struct map_session_data *'pc.c: In function 'pc_authok':pc.c:1038: error: 'last_tick' undeclared (first use in this function)pc.c:1038: error: (Each undeclared identifier is reported only oncepc.c:1038: error: for each function it appears in.)pc.c:1111: error: 'struct map_session_data' has no member named 'var_db'pc.c:1146: warning: implicit declaration of function 'get_svn_revision'pc.c:1146: warning: initialization makes pointer from integer without a castpc.c:1147: warning: implicit declaration of function 'get_git_hash'pc.c:1147: warning: initialization makes pointer from integer without a castpc.c:1720:47: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c: In function 'pc_updateweightstatus':pc.c:1720: error: 'sc_start' undeclared (first use in this function)pc.c:1722:47: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c: In function 'pc_payzeny':pc.c:3753: error: 'struct clif_interface' has no member named 'disp_onlyself'pc.c: In function 'pc_paycash':pc.c:3795: error: 'struct clif_interface' has no member named 'disp_onlyself'pc.c: In function 'pc_getcash':pc.c:3820: error: 'struct clif_interface' has no member named 'disp_onlyself'pc.c:3843: error: 'struct clif_interface' has no member named 'disp_onlyself'pc.c: In function 'pc_getzeny':pc.c:3881: error: 'struct clif_interface' has no member named 'disp_onlyself'pc.c: In function 'pc_isUseitem':pc.c:4188: error: 'NOUSE_SITTING' undeclared (first use in this function)pc.c: In function 'pc_steal_item':pc.c:4744: error: dereferencing pointer to incomplete typepc.c:4744: error: dereferencing pointer to incomplete typepc.c:4744: error: dereferencing pointer to incomplete typepc.c:4744: error: dereferencing pointer to incomplete typepc.c:4750: error: dereferencing pointer to incomplete typepc.c:4750: warning: implicit declaration of function 'mob_is_treasure'pc.c:4753: error: dereferencing pointer to incomplete typepc.c:4755: error: dereferencing pointer to incomplete typepc.c:4768: error: 'MAX_STEAL_DROP' undeclared (first use in this function)pc.c:4769: error: dereferencing pointer to incomplete typepc.c:4769: error: dereferencing pointer to incomplete typepc.c:4769: error: dereferencing pointer to incomplete typepc.c:4774: error: dereferencing pointer to incomplete typepc.c:4782: error: dereferencing pointer to incomplete typepc.c:4796: error: dereferencing pointer to incomplete typepc.c:4798: error: dereferencing pointer to incomplete typepc.c:4798: error: dereferencing pointer to incomplete typepc.c: In function 'pc_steal_coin':pc.c:4820: error: dereferencing pointer to incomplete typepc.c:4820: error: dereferencing pointer to incomplete typepc.c:4820: error: dereferencing pointer to incomplete typepc.c:4820: error: dereferencing pointer to incomplete typepc.c:4827: error: dereferencing pointer to incomplete typepc.c:4829: error: dereferencing pointer to incomplete typepc.c:4829: error: dereferencing pointer to incomplete typepc.c:4829: error: dereferencing pointer to incomplete typepc.c:4832: error: dereferencing pointer to incomplete typepc.c:5860:80: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c: In function 'pc_checkbaselevelup':pc.c:5860: error: 'sc_start' undeclared (first use in this function)pc.c:5861:88: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c:5862:90: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c:5863:82: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c:5864:90: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c:5868:61: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c:5869:63: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c: In function 'pc_gainexp':pc.c:6032: error: 'struct clif_interface' has no member named 'disp_onlyself'pc.c: In function 'pc_skillup':pc.c:6297: error: too few arguments to function 'clif->skillup'pc.c: In function 'pc_dead':pc.c:6876: error: dereferencing pointer to incomplete typepc.c:6877: error: 'mob' undeclared (first use in this function)pc.c:6878: error: dereferencing pointer to incomplete typepc.c:6879: error: dereferencing pointer to incomplete typepc.c:6880: error: dereferencing pointer to incomplete typepc.c:6880: error: dereferencing pointer to incomplete typepc.c:6882: error: dereferencing pointer to incomplete typepc.c:6883: error: dereferencing pointer to incomplete typepc.c:6884: error: dereferencing pointer to incomplete typepc.c:6889: error: dereferencing pointer to incomplete typepc.c:6915:35: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c:6915: error: 'sc_start' undeclared (first use in this function)pc.c:6967:89: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c: In function 'jobchange_killclone':pc.c:7576: error: dereferencing pointer to incomplete typepc.c:7576: error: dereferencing pointer to incomplete typepc.c:7576: error: dereferencing pointer to incomplete typepc.c:7577: error: dereferencing pointer to incomplete typepc.c:7979:48: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c: In function 'pc_setcart':pc.c:7979: error: 'sc_start' undeclared (first use in this function)pc.c: In function 'pc_readreg':pc.c:8059: error: 'struct map_session_data' has no member named 'var_db'pc.c:8059: error: 'struct map_session_data' has no member named 'var_db'pc.c: In function 'pc_setreg':pc.c:8068: error: 'struct map_session_data' has no member named 'var_db'pc.c:8068: error: 'struct map_session_data' has no member named 'var_db'pc.c:8070: error: 'struct map_session_data' has no member named 'array_db'pc.c:8072: error: 'struct map_session_data' has no member named 'var_db'pc.c:8072: error: 'struct map_session_data' has no member named 'var_db'pc.c:8074: error: 'struct map_session_data' has no member named 'array_db'pc.c: In function 'pc_readregstr':pc.c:8084: error: 'struct map_session_data' has no member named 'var_db'pc.c:8084: error: 'struct map_session_data' has no member named 'var_db'pc.c: In function 'pc_setregstr':pc.c:8102: error: 'struct map_session_data' has no member named 'var_db'pc.c:8102: error: 'struct map_session_data' has no member named 'var_db'pc.c:8109: error: 'struct map_session_data' has no member named 'array_db'pc.c:8112: error: 'struct map_session_data' has no member named 'var_db'pc.c:8112: error: 'struct map_session_data' has no member named 'var_db'pc.c:8118: error: 'struct map_session_data' has no member named 'array_db'pc.c: In function 'pc_readregistry':pc.c:8139: error: 'struct map_session_data' has no member named 'var_db'pc.c:8139: error: 'struct map_session_data' has no member named 'var_db'pc.c: In function 'pc_readregistry_str':pc.c:8160: error: 'struct map_session_data' has no member named 'var_db'pc.c:8160: error: 'struct map_session_data' has no member named 'var_db'pc.c: In function 'pc_setregistry':pc.c:8205: error: 'struct map_session_data' has no member named 'var_db'pc.c:8205: error: 'struct map_session_data' has no member named 'var_db'pc.c:8208: error: 'struct map_session_data' has no member named 'array_db'pc.c:8213: error: 'struct map_session_data' has no member named 'array_db'pc.c:8221: error: 'struct map_session_data' has no member named 'array_db'pc.c:8229: error: 'struct map_session_data' has no member named 'var_db'pc.c:8229: error: 'struct map_session_data' has no member named 'var_db'pc.c: In function 'pc_setregistry_str':pc.c:8256: error: 'struct map_session_data' has no member named 'var_db'pc.c:8256: error: 'struct map_session_data' has no member named 'var_db'pc.c:8261: error: 'struct map_session_data' has no member named 'array_db'pc.c:8266: error: 'struct map_session_data' has no member named 'array_db'pc.c:8274: error: 'struct map_session_data' has no member named 'array_db'pc.c:8283: error: 'struct map_session_data' has no member named 'var_db'pc.c:8283: error: 'struct map_session_data' has no member named 'var_db'pc.c: In function 'pc_checkcombo':pc.c:8418: error: request for member 'bonus' in something not a structure or unionpc.c:8420: error: request for member 'count' in something not a structure or unionpc.c:8420: error: request for member 'id' in something not a structure or unionpc.c:8423: error: request for member 'count' in something not a structure or unionpc.c:8474: error: request for member 'count' in something not a structure or unionpc.c:8476: error: request for member 'bonus' in something not a structure or unionpc.c:8477: error: request for member 'bonus' in something not a structure or unionpc.c:8478: error: request for member 'id' in something not a structure or unionpc.c:8479: error: request for member 'count' in something not a structure or unionpc.c:8481: error: request for member 'bonus' in something not a structure or unionpc.c:8481: error: request for member 'bonus' in something not a structure or unionpc.c:8481: error: request for member 'count' in something not a structure or unionpc.c:8482: error: request for member 'id' in something not a structure or unionpc.c:8482: error: request for member 'id' in something not a structure or unionpc.c:8482: error: request for member 'count' in something not a structure or unionpc.c:8486: error: request for member 'bonus' in something not a structure or unionpc.c:8488: error: request for member 'id' in something not a structure or unionpc.c: In function 'pc_removecombo':pc.c:8499: error: request for member 'bonus' in something not a structure or unionpc.c:8504: error: request for member 'count' in something not a structure or unionpc.c:8504: error: request for member 'id' in something not a structure or unionpc.c:8506: error: request for member 'count' in something not a structure or unionpc.c:8509: error: request for member 'bonus' in something not a structure or unionpc.c:8510: error: request for member 'id' in something not a structure or unionpc.c:8512: error: request for member 'count' in something not a structure or unionpc.c:8513: error: request for member 'bonus' in something not a structure or unionpc.c:8517: error: request for member 'bonus' in something not a structure or unionpc.c:8517: error: request for member 'bonus' in something not a structure or unionpc.c:8518: error: request for member 'id' in something not a structure or unionpc.c:8518: error: request for member 'id' in something not a structure or unionpc.c:8529: error: request for member 'count' in something not a structure or unionpc.c:8530: error: request for member 'bonus' in something not a structure or unionpc.c:8531: error: request for member 'id' in something not a structure or unionpc.c:8532: error: request for member 'bonus' in something not a structure or unionpc.c:8533: error: request for member 'id' in something not a structure or unionpc.c:9397:42: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c: In function 'pc_overheat':pc.c:9397: error: 'sc_start' undeclared (first use in this function)pc.c:9399:57: error: macro "sc_start" requires 6 arguments, but only 5 givenpc.c: In function 'pc_read_skill_tree':pc.c:9749: warning: implicit declaration of function 'conf_read_file'pc.c: In function 'pc_defaults':pc.c:10677: warning: assignment from incompatible pointer typemake[1]: *** [obj_sql/pc.o] Error 1make[1]: Leaving directory `/home/trincli0333/trunk/src/map'make: *** [map_sql] Error 2
Share this post
Link to post
Share on other sites