[asterisk-users] asterisk 1.4 branch and chan-capi-0.7.0

Guido Hecken guido.hecken at gwsnettech.de
Tue Sep 26 03:16:13 MST 2006


Hi List,

is there a known problem compiling chan-capi-0.7.0 against asterisk branch
1.4?

System:
Fedora Core 4 with Kernel 2.6.17-1.2142_FC4
AVM Fritz Card is present and fcpci running and up
isdn4k-utils and isdn4k-utils-devel installed
capi4hylafax installed

make in chan_capi source said:

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:146: warning: type defaults to 'int' in declaration of
'STANDARD_LOCAL_USER'
chan_capi.c:146: warning: data definition has no type or storage class
chan_capi.c:147: warning: type defaults to 'int' in declaration of
'LOCAL_USER_DECL'
chan_capi.c:147: warning: data definition has no type or storage class
chan_capi.c: In function 'capi_new':
chan_capi.c:2078: error: 'struct ast_channel' has no member named 'type'
chan_capi.c: In function 'pbx_capicommand_exec':
chan_capi.c:4582: warning: implicit declaration of function 'LOCAL_USER_ADD'
chan_capi.c:4597: warning: implicit declaration of function
'LOCAL_USER_REMOVE'
chan_capi.c: At top level:
chan_capi.c:5244: error: unknown field 'send_digit' specified in initializer
chan_capi.c:5244: warning: initialization from incompatible pointer type
make: *** [chan_capi.o] Error 1

Thanks for any hints and ideas

Guido




More information about the asterisk-users mailing list