[CC] func_devstate.c -> func_devstate.o func_devstate.c: In function âdevstate_readâ: func_devstate.c:55: warning: implicit declaration of function âast_devstate_strâ func_devstate.c:55: warning: passing argument 2 of âast_copy_stringâ makes pointer from integer without a cast func_devstate.c: In function âdevstate_writeâ: func_devstate.c:88: warning: implicit declaration of function âast_devstate_valâ func_devstate.c: At top level: func_devstate.c:96: error: return type is an incomplete type func_devstate.c: In function âcustom_devstate_callbackâ: func_devstate.c:98: error: variable âstateâ has initializer but incomplete type func_devstate.c:98: error: storage size of âstateâ isnât known func_devstate.c:107: warning: âreturnâ with a value, in function returning void func_devstate.c:98: warning: unused variable âstateâ func_devstate.c: At top level: func_devstate.c:110: warning: âstruct ast_cli_argsâ declared inside parameter list func_devstate.c:110: warning: its scope is only this definition or declaration, which is probably not what you want func_devstate.c: In function âcli_funcdevstate_listâ: func_devstate.c:115: error: âCLI_INITâ undeclared (first use in this function) func_devstate.c:115: error: (Each undeclared identifier is reported only once func_devstate.c:115: error: for each function it appears in.) func_devstate.c:116: error: âstruct ast_cli_entryâ has no member named âcommandâ func_devstate.c:122: error: âCLI_GENERATEâ undeclared (first use in this function) func_devstate.c:126: error: dereferencing pointer to incomplete type func_devstate.c:126: error: âstruct ast_cli_entryâ has no member named âargsâ func_devstate.c:127: error: âCLI_SHOWUSAGEâ undeclared (first use in this function) func_devstate.c:129: error: dereferencing pointer to incomplete type func_devstate.c:136: error: dereferencing pointer to incomplete type func_devstate.c:137: warning: format â%sâ expects type âchar *â, but argument 4 has type âintâ func_devstate.c:140: error: dereferencing pointer to incomplete type func_devstate.c:145: error: âCLI_SUCCESSâ undeclared (first use in this function) func_devstate.c: At top level: func_devstate.c:149: warning: implicit declaration of function âNEW_CLIâ func_devstate.c:149: warning: missing braces around initializer func_devstate.c:149: warning: (near initialization for âcli_funcdevstate[0]â) func_devstate.c:149: error: initializer element is not constant func_devstate.c:149: error: (near initialization for âcli_funcdevstate[0].cmda[0]â) func_devstate.c:173: warning: initialization from incompatible pointer type func_devstate.c:174: warning: initialization from incompatible pointer type func_devstate.c: In function âunload_moduleâ: func_devstate.c:183: error: void value not ignored as it ought to be func_devstate.c:183: error: invalid operands to binary | func_devstate.c:183: error: incompatible types in assignment func_devstate.c:183: warning: statement with no effect func_devstate.c:184: error: void value not ignored as it ought to be func_devstate.c:184: error: invalid operands to binary | func_devstate.c:184: error: incompatible types in assignment func_devstate.c:184: warning: statement with no effect func_devstate.c: In function âload_moduleâ: func_devstate.c:199: warning: passing argument 2 of âast_devstate_prov_addâ from incompatible pointer type func_devstate.c:200: error: void value not ignored as it ought to be func_devstate.c:200: error: invalid operands to binary | func_devstate.c:200: error: incompatible types in assignment func_devstate.c:200: warning: statement with no effect make[1]: *** [func_devstate.o] Error 1 make: *** [funcs] Error 2