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
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/7d1c3a93/attachment.htm
El 12/01/2005, a las 15:36, Vincent Guidoux escribi?:> ? > > 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! >coment lines into makefile looking for an specific gcc, and it will compile fine. Adri? Vidal
>> # 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: > >clean compile with kernel 2.6.10 and gcc 3.3.4
hi vincent, Vincent Guidoux schrieb:> I have a problem for install chan_capi > My pc: Suse 9.1, with asterisk current stable en cvs > And patch the chan_capi> chan_capi.c:1076: error: structure has no member named ?cid? as you are writing and apparent to the error message you are posting, you are using a stable 1.0.x version of asterisk. therefore you don't need to apply my patch, which is only for the HEAD-cvs version of asterisk. the version 0.3.5 from junghanns.net will (hopefuly) compile fine with your stable version. regards frank