[Asterisk-Users] chan_capi-0.3.5 error 127

Vincent Guidoux vincent.guidoux at cpnv.ch
Wed Jan 12 06:28:06 MST 2005


Hi,

I have a problem for install chan_capi

 

My pc: Suse 9.1, with asterisk current stable en cvs
 
I have download
http://www.junghanns.net/asterisk/downloads/chan_capi.0.3.5.tar.gz 
 
And the path from
http://www.levigo.de/VoIP/chan_capi-0.3.5-cvs-HEAD-patch.tar.bz2 
 
And patch the chan_capi
 
# cd chan_capi-0.3.5
# patch -p1 < chan_capi-0.3.5-patch.diff
# make    /for install
 
My error :
 
Make: gcc-2.95 :Command not found
Make: *** [chan_capi.o] Error 127
 
If 
 
# make CC=gcc-3.3.3    /because I have gcc-3.3.3
 
Error:
 
Make: gcc-2.95 :Command not found
Make: *** [chan_capi.o] Error 127
 
If 
 
# make CC=gcc
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:1076: error: structure has no member named 'cid'
chan_capi.c:1077: error: structure has no member named 'cid'
chan_capi.c: In function 'capi_handle_dtmf_fax':
chan_capi.c:1189: error: structure has no member named 'cid'
chan_capi.c: In function 'pipe_msg':
chan_capi.c:1764: error: structure has no member named 'cid'
chan_capi.c:1764: error: structure has no member named 'cid'
chan_capi.c:1764: error: structure has no member named 'cid'
chan_capi.c:1764: error: structure has no member named 'cid'
chan_capi.c:1764: error: structure has no member named 'cid'
chan_capi.c:1764: error: structure has no member named 'cid'
chan_capi.c:1764: error: structure has no member named 'cid'
chan_capi.c:1764: error: structure has no member named 'cid'
chan_capi.c: In function 'load_module':
chan_capi.c:2843: warning: passing arg 4 of 'ast_channel_register' from
incompatible poiner tpe
make: *** [chan_capi.o] Error 1
 
 
I don't know if the problem from gcc or oder, if you can help me, thanks soo
much!
 
Vincent Guidoux
 
Sorry for my poor English
 
 
 
 
 

 

*******************************************************************

 

Vincent Guidoux

 

Stagaire informaticien au TCOM de l'EIVD

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050112/15f196ea/attachment.htm


More information about the asterisk-users mailing list