- Mitglied seit
- 16 Aug 2004
- Beiträge
- 69
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hallo, habe ein lauffähiges ASTERISK 1.4.22 aufe SUSE 10.1 laufen.
Auch die Fritzcard ist installiert und läuft!
Bei der Installation von CHAN_CAPI bekommem ich folgende Fehler ausgegeben. Da ich nicht wirklich der Linuxexperte bin, bin ich ziemlich ratlos??
Vielen Dank für jede Hilfe!!
##########################################################
mainserver:/ftp/chancapi/chan-capi-HEAD # make clean
rm -f config.h
rm -f *.so *.o
rm -f libcapi20/*.o
mainserver:/ftp/chancapi/chan-capi-HEAD # make
./create_config.sh "/usr/include"
Checking Asterisk version... trunk
* assuming Asterisk version 1.6
Using Asterisk 1.6 API
* no new 'ast_dsp_set_digitmode' function
config.h complete.
[CC] chan_capi.c -> chan_capi.o
In file included from chan_capi.c:38:
chan_capi_chat.h:20: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi_chat.h:20: warning: its scope is only this definition or declaration, which is probably not what you want
chan_capi.c:5553: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_show_channelsâ:
chan_capi.c:5563: error: dereferencing pointer to incomplete type
chan_capi.c:5565: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5565: error: (Each undeclared identifier is reported only once
chan_capi.c:5565: error: for each function it appears in.)
chan_capi.c:5566: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5569: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5571: error: dereferencing pointer to incomplete type
chan_capi.c:5571: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5572: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5621: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5631: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_infoâ:
chan_capi.c:5638: error: dereferencing pointer to incomplete type
chan_capi.c:5640: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5641: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5644: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5646: error: dereferencing pointer to incomplete type
chan_capi.c:5646: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5647: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5665: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5675: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_do_debugâ:
chan_capi.c:5681: error: dereferencing pointer to incomplete type
chan_capi.c:5683: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5684: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5687: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5689: error: dereferencing pointer to incomplete type
chan_capi.c:5689: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5690: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5700: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5710: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_no_debugâ:
chan_capi.c:5716: error: dereferencing pointer to incomplete type
chan_capi.c:5718: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5719: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5722: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5724: error: dereferencing pointer to incomplete type
chan_capi.c:5724: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5725: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5735: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5745: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_qsig_do_debugâ:
chan_capi.c:5751: error: dereferencing pointer to incomplete type
chan_capi.c:5753: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5754: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5757: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5759: error: dereferencing pointer to incomplete type
chan_capi.c:5759: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5760: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5770: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5780: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_qsig_no_debugâ:
chan_capi.c:5786: error: dereferencing pointer to incomplete type
chan_capi.c:5788: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5789: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5792: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5794: error: dereferencing pointer to incomplete type
chan_capi.c:5794: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5795: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5805: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5816: warning: implicit declaration of function âAST_CLI_DEFINEâ
chan_capi.c:5816: warning: missing braces around initializer
chan_capi.c:5816: warning: (near initialization for âcc_cli_cmd[0]â)
chan_capi.c:5816: error: initializer element is not constant
chan_capi.c:5816: error: (near initialization for âcc_cli_cmd[0].cmda[0]â)
chan_capi.c:5817: error: initializer element is not constant
chan_capi.c:5817: error: (near initialization for âcc_cli_cmd[0].cmda[1]â)
chan_capi.c:5818: error: initializer element is not constant
chan_capi.c:5818: error: (near initialization for âcc_cli_cmd[0].cmda[2]â)
chan_capi.c:5819: error: initializer element is not constant
chan_capi.c:5819: error: (near initialization for âcc_cli_cmd[0].cmda[3]â)
chan_capi.c:5820: error: initializer element is not constant
chan_capi.c:5820: error: (near initialization for âcc_cli_cmd[0].cmda[4]â)
chan_capi.c:5821: error: initializer element is not constant
chan_capi.c:5821: error: (near initialization for âcc_cli_cmd[0].cmda[5]â)
chan_capi.c:5822: error: initializer element is not constant
chan_capi.c:5822: error: (near initialization for âcc_cli_cmd[0].cmda[6]â)
chan_capi.c: In function âload_moduleâ:
chan_capi.c:6442: error: too many arguments to function âast_config_loadâ
make: *** [chan_capi.o] Error 1
mainserver:/ftp/chancapi/chan-capi-HEAD #
##########################################################
Auch die Fritzcard ist installiert und läuft!
Bei der Installation von CHAN_CAPI bekommem ich folgende Fehler ausgegeben. Da ich nicht wirklich der Linuxexperte bin, bin ich ziemlich ratlos??
Vielen Dank für jede Hilfe!!
##########################################################
mainserver:/ftp/chancapi/chan-capi-HEAD # make clean
rm -f config.h
rm -f *.so *.o
rm -f libcapi20/*.o
mainserver:/ftp/chancapi/chan-capi-HEAD # make
./create_config.sh "/usr/include"
Checking Asterisk version... trunk
* assuming Asterisk version 1.6
Using Asterisk 1.6 API
* no new 'ast_dsp_set_digitmode' function
config.h complete.
[CC] chan_capi.c -> chan_capi.o
In file included from chan_capi.c:38:
chan_capi_chat.h:20: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi_chat.h:20: warning: its scope is only this definition or declaration, which is probably not what you want
chan_capi.c:5553: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_show_channelsâ:
chan_capi.c:5563: error: dereferencing pointer to incomplete type
chan_capi.c:5565: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5565: error: (Each undeclared identifier is reported only once
chan_capi.c:5565: error: for each function it appears in.)
chan_capi.c:5566: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5569: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5571: error: dereferencing pointer to incomplete type
chan_capi.c:5571: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5572: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5621: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5631: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_infoâ:
chan_capi.c:5638: error: dereferencing pointer to incomplete type
chan_capi.c:5640: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5641: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5644: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5646: error: dereferencing pointer to incomplete type
chan_capi.c:5646: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5647: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5665: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5675: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_do_debugâ:
chan_capi.c:5681: error: dereferencing pointer to incomplete type
chan_capi.c:5683: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5684: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5687: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5689: error: dereferencing pointer to incomplete type
chan_capi.c:5689: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5690: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5700: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5710: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_no_debugâ:
chan_capi.c:5716: error: dereferencing pointer to incomplete type
chan_capi.c:5718: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5719: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5722: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5724: error: dereferencing pointer to incomplete type
chan_capi.c:5724: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5725: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5735: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5745: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_qsig_do_debugâ:
chan_capi.c:5751: error: dereferencing pointer to incomplete type
chan_capi.c:5753: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5754: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5757: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5759: error: dereferencing pointer to incomplete type
chan_capi.c:5759: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5760: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5770: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5780: warning: âstruct ast_cli_argsâ declared inside parameter list
chan_capi.c: In function âpbxcli_capi_qsig_no_debugâ:
chan_capi.c:5786: error: dereferencing pointer to incomplete type
chan_capi.c:5788: error: âCLI_INITâ undeclared (first use in this function)
chan_capi.c:5789: error: âstruct ast_cli_entryâ has no member named âcommandâ
chan_capi.c:5792: error: âCLI_GENERATEâ undeclared (first use in this function)
chan_capi.c:5794: error: dereferencing pointer to incomplete type
chan_capi.c:5794: error: âstruct ast_cli_entryâ has no member named âargsâ
chan_capi.c:5795: error: âCLI_SHOWUSAGEâ undeclared (first use in this function)
chan_capi.c:5805: error: âCLI_SUCCESSâ undeclared (first use in this function)
chan_capi.c: At top level:
chan_capi.c:5816: warning: implicit declaration of function âAST_CLI_DEFINEâ
chan_capi.c:5816: warning: missing braces around initializer
chan_capi.c:5816: warning: (near initialization for âcc_cli_cmd[0]â)
chan_capi.c:5816: error: initializer element is not constant
chan_capi.c:5816: error: (near initialization for âcc_cli_cmd[0].cmda[0]â)
chan_capi.c:5817: error: initializer element is not constant
chan_capi.c:5817: error: (near initialization for âcc_cli_cmd[0].cmda[1]â)
chan_capi.c:5818: error: initializer element is not constant
chan_capi.c:5818: error: (near initialization for âcc_cli_cmd[0].cmda[2]â)
chan_capi.c:5819: error: initializer element is not constant
chan_capi.c:5819: error: (near initialization for âcc_cli_cmd[0].cmda[3]â)
chan_capi.c:5820: error: initializer element is not constant
chan_capi.c:5820: error: (near initialization for âcc_cli_cmd[0].cmda[4]â)
chan_capi.c:5821: error: initializer element is not constant
chan_capi.c:5821: error: (near initialization for âcc_cli_cmd[0].cmda[5]â)
chan_capi.c:5822: error: initializer element is not constant
chan_capi.c:5822: error: (near initialization for âcc_cli_cmd[0].cmda[6]â)
chan_capi.c: In function âload_moduleâ:
chan_capi.c:6442: error: too many arguments to function âast_config_loadâ
make: *** [chan_capi.o] Error 1
mainserver:/ftp/chancapi/chan-capi-HEAD #
##########################################################