Jump to content

ucokkocok

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by ucokkocok

  1. Hy guys i just wanna ask somthing

    why this happen to my server

    gcc -DHAVE_CONFIG_H -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../../3rdparty/mt19937ar -DPCRE_SUPPORT  -I/usr/include/mysql  -I../common -I/usr/include -c -o obj_sql/script.o script.c
    script.c:51:23: error: elemental.h: No such file or directory
    script.c: In function âparse_variableâ:
    script.c:1096: error: âC_ADD_PPâ undeclared (first use in this function)
    script.c:1096: error: (Each undeclared identifier is reported only once
    script.c:1096: error: for each function it appears in.)
    script.c:1097: error: âC_SUB_PPâ undeclared (first use in this function)
    script.c:1178: error: âC_REFâ undeclared (first use in this function)
    script.c: In function âparse_syntaxâ:
    script.c:1603: warning: implicit declaration of function â__64BPRTSIZEâ
    script.c:1828: warning: implicit declaration of function âstrdb_iputâ
    script.c: In function âparse_scriptâ:
    script.c:2462: warning: assignment from incompatible pointer type
    script.c: In function âget_valâ:
    script.c:2542: warning: pointer type mismatch in conditional expression
    script.c:2551: error: âstruct s_instanceâ has no member named âvarsâ
    script.c:2551: error: âstruct s_instanceâ has no member named âvarsâ
    script.c:2607: warning: pointer type mismatch in conditional expression
    script.c:2609: warning: implicit declaration of function âidb_igetâ
    script.c:2616: error: âstruct s_instanceâ has no member named âvarsâ
    script.c: In function âset_regâ:
    script.c:2668: warning: pointer type mismatch in conditional expression
    script.c:2677: error: âstruct s_instanceâ has no member named âvarsâ
    script.c:2677: error: âstruct s_instanceâ has no member named âvarsâ
    script.c:2678: error: âstruct s_instanceâ has no member named âvarsâ
    script.c:2678: error: âstruct s_instanceâ has no member named âvarsâ
    script.c:2715: warning: pointer type mismatch in conditional expression
    script.c:2719: warning: implicit declaration of function âidb_iputâ
    script.c:2725: error: âstruct s_instanceâ has no member named âvarsâ
    script.c:2725: error: âstruct s_instanceâ has no member named âvarsâ
    script.c:2727: error: âstruct s_instanceâ has no member named âvarsâ
    script.c: In function âpush_val2â:
    script.c:2860: warning: assignment from incompatible pointer type
    script.c: In function âpush_retinfoâ:
    script.c:2884: warning: assignment from incompatible pointer type
    script.c: In function âpush_copyâ:
    script.c:2909: warning: passing argument 4 of âpush_val2â from incompatible pointer type
    script.c:2854: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: At top level:
    script.c:2970: error: conflicting types for âscript_free_varsâ
    script.h:164: note: previous declaration of âscript_free_varsâ was here
    script.c: In function âscript_free_codeâ:
    script.c:2980: warning: passing argument 1 of âscript_free_varsâ from incompatible pointer type
    script.c:2970: note: expected âstruct DBMap *â but argument is of type âstruct linkdb_node *â
    script.c: In function âscript_alloc_stateâ:
    script.c:3001: warning: assignment from incompatible pointer type
    script.c: In function âscript_free_stateâ:
    script.c:3023: warning: passing argument 1 of âscript_free_varsâ from incompatible pointer type
    script.c:2970: note: expected âstruct DBMap *â but argument is of type âstruct linkdb_node **â
    script.c: In function âop_2â:
    script.c:3223: error: âstruct script_stateâ has no member named âop2refâ
    script.c:3228: error: âstruct script_stateâ has no member named âop2refâ
    script.c: In function ârun_funcâ:
    script.c:3479: warning: passing argument 1 of âscript_free_varsâ from incompatible pointer type
    script.c:2970: note: expected âstruct DBMap *â but argument is of type âstruct linkdb_node **â
    script.c: In function ârun_script_mainâ:
    script.c:3703: error: âstruct script_stateâ has no member named âfreeloopâ
    script.c:3711: error: âC_REFâ undeclared (first use in this function)
    script.c:3712: error: âstruct script_stateâ has no member named âop2refâ
    script.c:3755: error: âstruct script_stateâ has no member named âfreeloopâ
    script.c: At top level:
    script.c:3858: error: expected declaration specifiers or â...â before âDBDataâ
    script.c: In function âdb_script_free_code_subâ:
    script.c:3860: warning: implicit declaration of function âdb_data2ptrâ
    script.c:3860: error: âdataâ undeclared (first use in this function)
    script.c: In function âdo_final_scriptâ:
    script.c:4019: warning: passing argument 2 of âuserfunc_db->destroyâ from incompatible pointer type
    script.c:4019: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey,  char *)â
    script.c:4020: warning: passing argument 2 of âautobonus_db->destroyâ from incompatible pointer type
    script.c:4020: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey,  char *)â
    script.c: In function âscript_reloadâ:
    script.c:4053: warning: passing argument 2 of âuserfunc_db->clearâ from incompatible pointer type
    script.c:4053: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey,  char *)â
    script.c: In function âbuildin_callfuncâ:
    script.c:4503: warning: pointer type mismatch in conditional expression
    script.c:4505: warning: assignment from incompatible pointer type
    script.c:4522: warning: assignment from incompatible pointer type
    script.c: In function âbuildin_callsubâ:
    script.c:4553: warning: assignment from incompatible pointer type
    script.c:4555: warning: assignment from incompatible pointer type
    script.c:4571: warning: assignment from incompatible pointer type
    script.c: In function âbuildin_returnâ:
    script.c:4626: warning: comparison of distinct pointer types lacks a cast
    script.c: In function âbuildin_inputâ:
    script.c:5111: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:5117: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_setâ:
    script.c:5194: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:5196: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_setarrayâ:
    script.c:5284: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:5289: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_cleararrayâ:
    script.c:5345: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_copyarrayâ:
    script.c:5420: warning: passing argument 3 of âget_val2â from incompatible pointer type
    script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:5421: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:5431: warning: passing argument 3 of âget_val2â from incompatible pointer type
    script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:5432: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:5436: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_getarraysizeâ:
    script.c:5472: warning: passing argument 5 of âgetarraysizeâ from incompatible pointer type
    script.c:5209: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_deletearrayâ:
    script.c:5533: warning: passing argument 3 of âget_val2â from incompatible pointer type
    script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:5534: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:5543: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:5548: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_getelementofarrayâ:
    script.c:5595: warning: passing argument 4 of âpush_val2â from incompatible pointer type
    script.c:2854: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_getitemâ:
    script.c:5939: error: too many arguments to function âpc_additemâ
    script.c: In function âbuildin_getitem2â:
    script.c:6037: error: too many arguments to function âpc_additemâ
    script.c: In function âbuildin_rentitemâ:
    script.c:6100: error: too many arguments to function âpc_additemâ
    script.c: In function âbuildin_getnameditemâ:
    script.c:6169: error: too many arguments to function âpc_additemâ
    script.c: In function âbuildin_delitem_deleteâ:
    script.c:6264: error: too many arguments to function âpc_delitemâ
    script.c: In function âbuildin_getequippercentrefineryâ:
    script.c:7161: warning: implicit declaration of function âstatus_get_refine_chanceâ
    script.c: In function âbuildin_successrefitemâ:
    script.c:7187: warning: implicit declaration of function âlog_pick_pcâ
    script.c: In function âbuildin_failedrefitemâ:
    script.c:7243: error: too many arguments to function âpc_delitemâ
    script.c: In function âbuildin_bonusâ:
    script.c:7357: error: âSP_SP_RATE_SKILLâ undeclared (first use in this function)
    script.c:7358: error: âSP_SKILL_COOLDOWNâ undeclared (first use in this function)
    script.c:7359: error: âSP_SKILL_FIXEDCASTâ undeclared (first use in this function)
    script.c:7360: error: âSP_SKILL_VARIABLECASTâ undeclared (first use in this function)
    script.c: In function âbuildin_getgmlevelâ:
    script.c:7664: warning: implicit declaration of function âpc_get_group_levelâ
    script.c: In function âbuildin_getgroupidâ:
    script.c:7679: warning: implicit declaration of function âpc_get_group_idâ
    script.c: In function âbuildin_checkridingâ:
    script.c:7897: warning: implicit declaration of function âpc_isridingwugâ
    script.c:7897: warning: implicit declaration of function âpc_isridingdragonâ
    script.c: In function âbuildin_checkwugâ:
    script.c:7938: warning: implicit declaration of function âpc_iswugâ
    script.c: In function âbuildin_checkmadogearâ:
    script.c:7958: warning: implicit declaration of function âpc_ismadogearâ
    script.c: In function âbuildin_setmadogearâ:
    script.c:7982: warning: implicit declaration of function âpc_setmadogearâ
    script.c: In function âbuildin_produceâ:
    script.c:8180: error: too many arguments to function âclif_skill_produce_mix_listâ
    script.c: In function âbuildin_cookingâ:
    script.c:8196: error: too many arguments to function âclif_cooking_listâ
    script.c: In function âbuildin_getusersnameâ:
    script.c:9112: warning: implicit declaration of function âpc_has_permissionâ
    script.c:9112: error: âPC_PERM_HIDE_SESSIONâ undeclared (first use in this function)
    script.c: In function âbuildin_successremovecardsâ:
    script.c:10687: error: too many arguments to function âpc_additemâ
    script.c:10706: error: too many arguments to function âpc_delitemâ
    script.c:10707: error: too many arguments to function âpc_additemâ
    script.c: In function âbuildin_failedremovecardsâ:
    script.c:10756: error: too many arguments to function âpc_additemâ
    script.c:10767: error: too many arguments to function âpc_delitemâ
    script.c:10780: error: too many arguments to function âpc_delitemâ
    script.c:10782: error: too many arguments to function âpc_additemâ
    script.c: In function âbuildin_clearitemâ:
    script.c:11463: error: too many arguments to function âpc_delitemâ
    script.c: In function âbuildin_getmapxyâ:
    script.c:12468: error: âTBL_PCâ has no member named âedâ
    script.c:12469: error: âTBL_PCâ has no member named âedâ
    script.c:12494: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:12505: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:12516: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_isequippedâ:
    script.c:12663: error: âTBL_PCâ has no member named âbonusâ
    script.c:12664: error: âTBL_PCâ has no member named âbonusâ
    script.c:12698: error: âTBL_PCâ has no member named âbonusâ
    script.c:12698: error: âTBL_PCâ has no member named âbonusâ
    script.c:12705: error: âTBL_PCâ has no member named âbonusâ
    script.c:12707: error: âTBL_PCâ has no member named âbonusâ
    script.c:12720: error: âTBL_PCâ has no member named âbonusâ
    script.c:12721: error: âTBL_PCâ has no member named âbonusâ
    script.c: In function âbuildin_explodeâ:
    script.c:13148: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:13157: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_implodeâ:
    script.c:13214: warning: passing argument 5 of âgetarraysizeâ from incompatible pointer type
    script.c:5209: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:13223: warning: passing argument 3 of âget_val2â from incompatible pointer type
    script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:13238: warning: passing argument 3 of âget_val2â from incompatible pointer type
    script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:13248: warning: passing argument 3 of âget_val2â from incompatible pointer type
    script.c:2636: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_sscanfâ:
    script.c:13472: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:13477: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_query_sql_subâ:
    script.c:13931: warning: passing argument 6 of âsetd_subâ from incompatible pointer type
    script.c:2741: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c:13933: warning: passing argument 6 of âsetd_subâ from incompatible pointer type
    script.c:2741: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_callshopâ:
    script.c:14051: error: âstruct <anonymous>â has no member named âcallshopâ
    script.c: In function âbuildin_searchitemâ:
    script.c:14407: warning: passing argument 6 of âset_regâ from incompatible pointer type
    script.c:2649: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_getvariableofnpcâ:
    script.c:14944: warning: passing argument 4 of âpush_val2â from incompatible pointer type
    script.c:2854: note: expected âstruct DBMap **â but argument is of type âstruct linkdb_node **â
    script.c: In function âbuildin_makeruneâ:
    script.c:16170: error: too many arguments to function âclif_skill_produce_mix_listâ
    script.c: In function âbuildin_setdragonâ:
    script.c:16203: error: âMAPID_THIRDMASKâ undeclared (first use in this function)
    script.c:16203: error: âMAPID_RUNE_KNIGHTâ undeclared (first use in this function)
    script.c: In function âbuildin_ismountingâ:
    script.c:16233: error: âOPTION_MOUNTINGâ undeclared (first use in this function)
    script.c: In function âbuildin_setmountingâ:
    script.c:16253: error: âOPTION_MOUNTINGâ undeclared (first use in this function)
    script.c: In function âbuildin_freeloopâ:
    script.c:16311: error: âstruct script_stateâ has no member named âfreeloopâ
    script.c:16313: error: âstruct script_stateâ has no member named âfreeloopâ
    script.c:16315: error: âstruct script_stateâ has no member named âfreeloopâ
    make[1]: *** [obj_sql/script.o] Error 1
    make[1]: Leaving directory `/home/distro/trunk/src/map'
    make: *** [map_sql] Error 2
    

    Somebody help me plz

×
×
  • Create New...