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
On Sun, 2004-10-17 at 22:12, Nicolas wrote:> 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.Try the stable branch: cvs checkout -r v1-0 zaptel libpri asterisk Works for me. Regards, Patrick
Patrick wrote:> On Sun, 2004-10-17 at 22:12, Nicolas wrote: >> 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. > > Try the stable branch: cvs checkout -r v1-0 zaptel libpri asterisk > Works for me. > > Regards, > Patrick > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersThanks but asterisk is working, my problem is the chan_capi channel driver. nicolas
On Sun, 2004-10-17 at 22:58, Nicolas wrote:> Patrick wrote: > > > On Sun, 2004-10-17 at 22:12, Nicolas wrote: > >> 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. > >chan_capi uses header files from asterisk. Look in the chan_capi Makefile and you will see. Obviously chan_capi does not know about the new callerid code that is part of recent asterisk cvs. They are tied together. That is why you need to use v1-0 of asterisk or wait until kapejod releases an updated chan_capi (prepare for a wait afaik). Or fix it yourself off course... Regards, Patrick
Or better yet fix it yourself its like all of a few lines to make it work. bkw> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Patrick > Sent: Sunday, October 17, 2004 4:10 PM > To: albers@na-computer.de; Asterisk Users Mailing List - Non-Commercial > Discussion > Subject: Re: [Asterisk-Users] Re: can not compile chan_capi 0.3.5 > > On Sun, 2004-10-17 at 22:58, Nicolas wrote: > > Patrick wrote: > > > > > On Sun, 2004-10-17 at 22:12, Nicolas wrote: > > >> 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. > > > > > chan_capi uses header files from asterisk. Look in the chan_capi > Makefile and you will see. Obviously chan_capi does not know about the > new callerid code that is part of recent asterisk cvs. They are tied > together. That is why you need to use v1-0 of asterisk or wait until > kapejod releases an updated chan_capi (prepare for a wait afaik). Or fix > it yourself off course... > > Regards, > Patrick > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Hello, Patrick is correct. In CVS head the callerid related stuff underwent a huge reworking. This rendered compatibility with previous source non-existant. Thus, chan_capi can not be used with CVS head. The callerid change did not occur in stable and thus chan_capi will work with stable. Joshua Colp Senior Software Developer VoiceConduits, LLC. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Nicolas Sent: Sunday, October 17, 2004 1:59 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Re: can not compile chan_capi 0.3.5 Patrick wrote:> On Sun, 2004-10-17 at 22:12, Nicolas wrote: >> 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. > > Try the stable branch: cvs checkout -r v1-0 zaptel libpri asterisk > Works for me. > > Regards, > Patrick > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersThanks but asterisk is working, my problem is the chan_capi channel driver. nicolas _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users