after # vi Makefile and changes in coment the ligne with gcc i have the same error before
> > 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 On Wed, 12 Jan 2005 18:24:02 +0100, adria vidal <[EMAIL PROTECTED]> wrote: > > 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 > > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
