[Asterisk-Users] can not compile chan_capi 0.3.5

Nicolas albers at na-computer.de
Sun Oct 17 13:12:12 MST 2004


Hello,

i can not compile chan_capi 0.3.5 on a suse 9.1 plattform.
i run latest asterisk cvs build 14/10/04.

just type make and become:

# make
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g 
-I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686  -DCAPI_ES
-DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes
-Wno-missing-declarations -DCRYPTO   -c -o chan_capi.o chan_capi.c
In file included from /usr/include/linux/kernelcapi.h:13,
                 from /usr/include/linux/capi.h:18,
                 from chan_capi.c:35:
/usr/include/linux/list.h:604:2: warning: #warning "don't include kernel
headers in userspace"
chan_capi.c: In function `capi_new':
chan_capi.c:1073: error: structure has no member named `callerid'
chan_capi.c:1074: error: structure has no member named `dnid'
chan_capi.c: In function `pipe_msg':
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c:1724: error: structure has no member named `dnid'
chan_capi.c: In function `load_module':
chan_capi.c:2793: warning: passing arg 4 of `ast_channel_register' from
incompatible pointer type
make: *** [chan_capi.o] Error 1
#

A google search can not help.
can you help me ?

greetings
nicolas





More information about the asterisk-users mailing list