kann chan_capi-cm nicht kompilieren

Pepsiman

Neuer User
Mitglied seit
7 Jun 2006
Beiträge
52
Punkte für Reaktionen
0
Punkte
0
gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c
chan_capi.c:21:27: asterisk/lock.h: No such file or directory
chan_capi.c:22:29: asterisk/frame.h: No such file or directory
chan_capi.c:23:30: asterisk/channel.h: No such file or directory
chan_capi.c:25:34: asterisk/channel_pvt.h: No such file or directory
chan_capi.c:27:29: asterisk/logger.h: No such file or directory
chan_capi.c:28:29: asterisk/module.h: No such file or directory
chan_capi.c:29:26: asterisk/pbx.h: No such file or directory
chan_capi.c:30:29: asterisk/config.h: No such file or directory
chan_capi.c:31:30: asterisk/options.h: No such file or directory
chan_capi.c:32:31: asterisk/features.h: No such file or directory
chan_capi.c:33:28: asterisk/utils.h: No such file or directory
chan_capi.c:34:26: asterisk/cli.h: No such file or directory
chan_capi.c:35:29: asterisk/causes.h: No such file or directory
...
chan_capi.c:4448: error: syntax error before string constant
chan_capi.c:4452: error: syntax error before string constant
chan_capi.c:4456: error: syntax error before string constant
chan_capi.c:4460: error: syntax error before string constant
chan_capi.c: In function `capi_info':
chan_capi.c:4473: error: `RESULT_SHOWUSAGE' undeclared (first use in this function)
chan_capi.c:4478: warning: implicit declaration of function `ast_cli'
chan_capi.c:4483: error: `RESULT_SUCCESS' undeclared (first use in this function)
chan_capi.c: In function `capi_do_debug':
chan_capi.c:4492: error: `RESULT_SHOWUSAGE' undeclared (first use in this function)
chan_capi.c:4497: error: `RESULT_SUCCESS' undeclared (first use in this function)
chan_capi.c: In function `capi_no_debug':
chan_capi.c:4506: error: `RESULT_SHOWUSAGE' undeclared (first use in this function)
chan_capi.c:4511: error: `RESULT_SUCCESS' undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:4532: error: variable `cli_info' has initializer but incomplete type
chan_capi.c:4533: error: extra brace group at end of initializer
chan_capi.c:4533: error: (near initialization for `cli_info')
chan_capi.c:4533: warning: excess elements in struct initializer
chan_capi.c:4533: warning: (near initialization for `cli_info')
chan_capi.c:4533: warning: excess elements in struct initializer
chan_capi.c:4533: warning: (near initialization for `cli_info')
chan_capi.c:4533: warning: excess elements in struct initializer
chan_capi.c:4533: warning: (near initialization for `cli_info')
chan_capi.c:4533: warning: excess elements in struct initializer
chan_capi.c:4533: warning: (near initialization for `cli_info')
chan_capi.c:4534: error: variable `cli_debug' has initializer but incomplete type
chan_capi.c:4535: error: extra brace group at end of initializer
chan_capi.c:4535: error: (near initialization for `cli_debug')
chan_capi.c:4535: warning: excess elements in struct initializer
chan_capi.c:4535: warning: (near initialization for `cli_debug')
chan_capi.c:4535: warning: excess elements in struct initializer
chan_capi.c:4535: warning: (near initialization for `cli_debug')
chan_capi.c:4535: warning: excess elements in struct initializer
chan_capi.c:4535: warning: (near initialization for `cli_debug')
chan_capi.c:4535: warning: excess elements in struct initializer
chan_capi.c:4535: warning: (near initialization for `cli_debug')
chan_capi.c:4536: error: variable `cli_no_debug' has initializer but incomplete type
chan_capi.c:4537: error: extra brace group at end of initializer
chan_capi.c:4537: error: (near initialization for `cli_no_debug')
chan_capi.c:4537: warning: excess elements in struct initializer
chan_capi.c:4537: warning: (near initialization for `cli_no_debug')
chan_capi.c:4537: warning: excess elements in struct initializer
chan_capi.c:4537: warning: (near initialization for `cli_no_debug')
chan_capi.c:4537: warning: excess elements in struct initializer
chan_capi.c:4537: warning: (near initialization for `cli_no_debug')
chan_capi.c:4537: warning: excess elements in struct initializer
chan_capi.c:4537: warning: (near initialization for `cli_no_debug')
chan_capi.c: In function `cc_init_capi':
chan_capi.c:4577: error: `LOG_WARNING' undeclared (first use in this function)
chan_capi.c:4584: error: `LOG_NOTICE' undeclared (first use in this function)
chan_capi.c:4605: error: `option_verbose' undeclared (first use in this function)
chan_capi.c:4605: error: `VERBOSE_PREFIX_2' undeclared (first use in this function)
chan_capi.c:4605: error: syntax error before string constant
chan_capi.c:4620: error: `LOG_ERROR' undeclared (first use in this function)
chan_capi.c:4634: error: `VERBOSE_PREFIX_3' undeclared (first use in this function)
chan_capi.c:4634: error: syntax error before string constant
chan_capi.c:4644: error: syntax error before string constant
chan_capi.c:4662: error: syntax error before string constant
chan_capi.c:4668: error: syntax error before string constant
chan_capi.c: In function `cc_post_init_capi':
chan_capi.c:4689: error: `LOG_ERROR' undeclared (first use in this function)
chan_capi.c:4692: error: `option_verbose' undeclared (first use in this function)
chan_capi.c:4692: error: `VERBOSE_PREFIX_3' undeclared (first use in this function)
chan_capi.c:4692: error: syntax error before string constant
chan_capi.c:4696: error: `LOG_NOTICE' undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:4706: warning: "struct ast_variable" declared inside parameter list
chan_capi.c:4706: warning: its scope is only this definition or declaration, which is probably not what you want
chan_capi.c: In function `conf_interface':
chan_capi.c:4726: error: dereferencing pointer to incomplete type
chan_capi.c:4727: error: dereferencing pointer to incomplete type
chan_capi.c:4727: error: dereferencing pointer to incomplete type
chan_capi.c:4728: error: dereferencing pointer to incomplete type
chan_capi.c:4728: error: dereferencing pointer to incomplete type
chan_capi.c:4729: error: dereferencing pointer to incomplete type
chan_capi.c:4729: error: dereferencing pointer to incomplete type
chan_capi.c:4730: error: dereferencing pointer to incomplete type
chan_capi.c:4730: error: dereferencing pointer to incomplete type
chan_capi.c:4731: error: dereferencing pointer to incomplete type
chan_capi.c:4731: error: dereferencing pointer to incomplete type
chan_capi.c:4732: error: dereferencing pointer to incomplete type
chan_capi.c:4732: error: dereferencing pointer to incomplete type
chan_capi.c:4733: error: dereferencing pointer to incomplete type
chan_capi.c:4733: error: dereferencing pointer to incomplete type
chan_capi.c:4734: error: dereferencing pointer to incomplete type
chan_capi.c:4734: error: dereferencing pointer to incomplete type
chan_capi.c:4736: error: dereferencing pointer to incomplete type
chan_capi.c:4737: error: dereferencing pointer to incomplete type
chan_capi.c:4742: error: dereferencing pointer to incomplete type
chan_capi.c:4742: error: dereferencing pointer to incomplete type
chan_capi.c:4744: error: dereferencing pointer to incomplete type
chan_capi.c:4745: error: dereferencing pointer to incomplete type
chan_capi.c:4747: error: dereferencing pointer to incomplete type
chan_capi.c:4755: error: dereferencing pointer to incomplete type
chan_capi.c:4755: error: dereferencing pointer to incomplete type
chan_capi.c:4756: error: dereferencing pointer to incomplete type
chan_capi.c:4756: error: dereferencing pointer to incomplete type
chan_capi.c:4757: error: dereferencing pointer to incomplete type
chan_capi.c:4757: error: dereferencing pointer to incomplete type
chan_capi.c:4758: error: dereferencing pointer to incomplete type
chan_capi.c:4758: error: dereferencing pointer to incomplete type
chan_capi.c:4760: error: dereferencing pointer to incomplete type
chan_capi.c:4761: error: dereferencing pointer to incomplete type
chan_capi.c:4764: error: dereferencing pointer to incomplete type
chan_capi.c:4765: error: dereferencing pointer to incomplete type
chan_capi.c:4768: error: dereferencing pointer to incomplete type
chan_capi.c:4769: error: dereferencing pointer to incomplete type
chan_capi.c:4770: error: `LOG_ERROR' undeclared (first use in this function)
chan_capi.c:4774: error: dereferencing pointer to incomplete type
chan_capi.c:4775: error: dereferencing pointer to incomplete type
chan_capi.c:4780: error: dereferencing pointer to incomplete type
chan_capi.c:4781: error: dereferencing pointer to incomplete type
chan_capi.c:4786: error: dereferencing pointer to incomplete type
chan_capi.c:4787: error: dereferencing pointer to incomplete type
chan_capi.c:4791: error: dereferencing pointer to incomplete type
chan_capi.c:4795: error: dereferencing pointer to incomplete type
chan_capi.c:4795: error: dereferencing pointer to incomplete type
chan_capi.c:4799: error: dereferencing pointer to incomplete type
chan_capi.c:4799: error: dereferencing pointer to incomplete type
chan_capi.c:4803: error: dereferencing pointer to incomplete type
chan_capi.c:4808: error: dereferencing pointer to incomplete type
chan_capi.c:4812: error: dereferencing pointer to incomplete type
chan_capi.c:4813: error: dereferencing pointer to incomplete type
chan_capi.c:4819: error: dereferencing pointer to incomplete type
chan_capi.c:4820: error: dereferencing pointer to incomplete type
chan_capi.c:4822: error: dereferencing pointer to incomplete type
chan_capi.c:4825: error: dereferencing pointer to incomplete type
chan_capi.c: At top level:
chan_capi.c:4838: warning: "struct ast_config" declared inside parameter list
chan_capi.c: In function `capi_eval_config':
chan_capi.c:4851: warning: implicit declaration of function `ast_variable_browse'
chan_capi.c:4851: warning: assignment makes pointer from integer without a cast
chan_capi.c:4851: error: dereferencing pointer to incomplete type
chan_capi.c:4852: error: dereferencing pointer to incomplete type
chan_capi.c:4853: error: dereferencing pointer to incomplete type
chan_capi.c:4854: error: dereferencing pointer to incomplete type
chan_capi.c:4855: error: dereferencing pointer to incomplete type
chan_capi.c:4856: error: dereferencing pointer to incomplete type
chan_capi.c:4857: error: dereferencing pointer to incomplete type
chan_capi.c:4858: error: dereferencing pointer to incomplete type
chan_capi.c:4859: error: dereferencing pointer to incomplete type
chan_capi.c:4860: error: `LOG_ERROR' undeclared (first use in this function)
chan_capi.c:4862: error: dereferencing pointer to incomplete type
chan_capi.c:4863: error: dereferencing pointer to incomplete type
chan_capi.c:4866: error: dereferencing pointer to incomplete type
chan_capi.c:4867: error: dereferencing pointer to incomplete type
chan_capi.c:4868: error: `AST_FORMAT_ULAW' undeclared (first use in this function)
chan_capi.c:4874: warning: implicit declaration of function `ast_category_browse'
chan_capi.c:4874: warning: assignment makes pointer from integer without a cast
chan_capi.c:4874: warning: assignment makes pointer from integer without a cast
chan_capi.c:4879: error: `LOG_WARNING' undeclared (first use in this function)
chan_capi.c:4882: error: `option_verbose' undeclared (first use in this function)
chan_capi.c:4882: error: `VERBOSE_PREFIX_2' undeclared (first use in this function)
chan_capi.c:4882: error: syntax error before string constant
chan_capi.c:4895: warning: passing arg 2 of `conf_interface' makes pointer from integer without a cast
chan_capi.c: In function `load_module':
chan_capi.c:4917: warning: implicit declaration of function `ast_load'
chan_capi.c:4917: warning: assignment makes pointer from integer without a cast
chan_capi.c:4921: error: `LOG_ERROR' undeclared (first use in this function)
chan_capi.c:4935: warning: passing arg 1 of `capi_eval_config' from incompatible pointer type
chan_capi.c:4936: warning: implicit declaration of function `ast_destroy'
chan_capi.c:4953: warning: implicit declaration of function `ast_channel_register'
chan_capi.c:4956: warning: implicit declaration of function `unload_module'
chan_capi.c:4960: warning: implicit declaration of function `ast_cli_register'
chan_capi.c:4964: warning: implicit declaration of function `ast_register_application'
chan_capi.c:4966: warning: implicit declaration of function `ast_pthread_create'
chan_capi.c: In function `unload_module':
chan_capi.c:4983: warning: implicit declaration of function `ast_unregister_application'
chan_capi.c:4985: warning: implicit declaration of function `ast_cli_unregister'
chan_capi.c:4990: warning: implicit declaration of function `pthread_cancel'
chan_capi.c:4992: warning: implicit declaration of function `pthread_join'
chan_capi.c:4999: error: `LOG_WARNING' undeclared (first use in this function)
chan_capi.c:5011: error: dereferencing pointer to incomplete type
chan_capi.c:5014: error: dereferencing pointer to incomplete type
chan_capi.c:5023: warning: implicit declaration of function `ast_channel_unregister'
chan_capi.c: In function `key':
chan_capi.c:5048: error: `ASTERISK_GPL_KEY' undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.h:223: error: storage size of `fr' isn't known
chan_capi.h:240: error: storage size of `rec_buffer' isn't known
chan_capi.h:249: error: storage size of `context' isn't known
chan_capi.h:253: error: storage size of `prefix' isn't known
chan_capi.h:258: error: storage size of `cid' isn't known
chan_capi.h:260: error: storage size of `dnid' isn't known
chan_capi.h:270: error: storage size of `language' isn't known
chan_capi.h:274: error: storage size of `overlapdigits' isn't known
chan_capi.c:133: error: storage size of `capi_national_prefix' isn't known
chan_capi.c:134: error: storage size of `capi_international_prefix' isn't known
chan_capi.c:136: error: storage size of `default_language' isn't known
chan_capi.c:4532: error: storage size of `cli_info' isn't known
chan_capi.c:4534: error: storage size of `cli_debug' isn't known
chan_capi.c:4536: error: storage size of `cli_no_debug' isn't known
chan_capi.c:133: warning: 'capi_national_prefix' defined but not used
chan_capi.c:134: warning: 'capi_international_prefix' defined but not used
chan_capi.c:136: warning: 'default_language' defined but not used
make: *** [chan_capi.o] Error 1

Jemand ne ahnung was los ist? Fehlt mir irgendwas?
Versuche die chan_capi-cm auf einer frischen Trixbox 1.0 zu installieren..

Mfg Pep
Danke im vorraus..
 
Kostenlos!

Neueste Beiträge

Statistik des Forums

Themen
248,872
Beiträge
2,303,452
Mitglieder
378,532
Neuestes Mitglied
Nik320