[Asterisk-Users] [chan_capi] can't get it compiled

Donnie don.donnie at gmail.com
Mon Dec 27 09:11:01 MST 2004


OS: Redhat 9.0
Kernel: 2.4.20-8
Asterisk: latest CVS head

Hi all,

I try to compile the latest chan_capi, but it won't work. I also tried
the patch that is arround there from frank sautter and I have
installed the asterisk header files.

Asterisk is working very good :) and the Fritz AVM pc Card is running.

capiinit:

1 fcpci      running  fritz-pci        A1 3.11-02 0xbc00 5

lsmod:

fcpci                 587744   1
capi                   20896   0
kernelcapi             33792   2  [fcpci capi]
capiutil               24864   0  [kernelcapi]
capifs                  5420   1  [capi]

Here is a little output when I try to compile chan_capi:

chan_capi.c:2450: subscripted value is neither array nor pointer
chan_capi.c:2457: subscripted value is neither array nor pointer
chan_capi.c:2464: subscripted value is neither array nor pointer
chan_capi.c:2471: subscripted value is neither array nor pointer
chan_capi.c:2478: subscripted value is neither array nor pointer
chan_capi.c:2485: subscripted value is neither array nor pointer
chan_capi.c:2492: subscripted value is neither array nor pointer
chan_capi.c:2499: subscripted value is neither array nor pointer
chan_capi.c:2506: subscripted value is neither array nor pointer
chan_capi.c:2514: subscripted value is neither array nor pointer
chan_capi.c: In function `load_module':
chan_capi.c:2635: warning: implicit declaration of function `capi20_isinstalled'
chan_capi.c:2640: warning: implicit declaration of function `capi20_register'
chan_capi.c:2650: warning: implicit declaration of function `capi20_get_profile'
chan_capi.c:2793: warning: passing arg 4 of `ast_channel_register'
from incompatible pointer type
chan_capi.c: In function `unload_module':
chan_capi.c:2811: warning: implicit declaration of function `capi20_release'


etcetera, etcetera

I hope someone have a real working solution :)

Best regards,

Peter



More information about the asterisk-users mailing list