.titleBar { margin-bottom: 5px!important; }

ASTERISK 1.4.22 und CHAN CAPI wird nicht installiert

Dieses Thema im Forum "Asterisk ISDN mit CAPI (chan_capi, chan_capi_cm)" wurde erstellt von martinkirchner, 30 Nov. 2008.

  1. martinkirchner

    martinkirchner Neuer User

    Registriert seit:
    16 Aug. 2004
    Beiträge:
    69
    Zustimmungen:
    0
    Punkte für Erfolge:
    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 #
    ##########################################################
     
  2. armincm

    armincm Aktives Mitglied

    Registriert seit:
    3 Aug. 2005
    Beiträge:
    1,006
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Mit den Asterisk header Dateien scheint etwas nicht zu stimmen in deiner Installation:
    Wie man sieht wird eine Asterisk 1.6/trunk Installation gefunden und nicht 1.4.22.

    Armin
     
  3. martinkirchner

    martinkirchner Neuer User

    Registriert seit:
    16 Aug. 2004
    Beiträge:
    69
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Was kann man nun tun

    Die Versionsabfrage von ASTERISK bringt mir:

    *CLI> core show version
    Asterisk built by root @ mainserver on a i686 running Linux on 2008-11-30 16:18:17 UTC
    *CLI>


    Was kann ich nun tun, habe ASTERISK auch schon ein zweites mal installiert

    Vielen Dank
     
  4. martinkirchner

    martinkirchner Neuer User

    Registriert seit:
    16 Aug. 2004
    Beiträge:
    69
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Es funktioniert

    Da die Meldung Version 1.6 kam, dachte ich warum nicht... also Version 1.6 runtergehaden, installiert, chan_capi installiert --> und alles geht!
    Warum meine Version 1.4.22 sich als 1.6 gemeldet hat?? keine Ahnung!

    Trotzdem Danke!

    Martin