Kib Eki
2005-Mar-17 04:02 UTC
[Asterisk-Users] Compilation problem chan_capi and Eicon Diva 4Bri
Hi *, I want to integrate the Eicon Diva 4Bri Card to Asterisk. Eicon drivers and capi is installed. I use the latest dev version from eicon compiled and installed for my fedora 2 system. I found the chan_capi for asterisk from www.junghanns.net. Also loaded the patch and applied to the chan_capi source tree. I changed the Makefile to include the capi20.h from eicon: INCLUDE=-I$(ASTERISK_HEADER_DIR) -I/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon make install gives me the following errors: gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -I/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon -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 chan_capi.c:35: /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:52: error: Syntaxfehler before "word" /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:52: Warnung: kein Semikolon am Ende von ??struct?? oder ??union?? /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:53: Warnung: type defaults to `int' in declaration of `maxLogicalConnection' /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:53: Warnung: data definition has no type or storage class Unfortunately it is german system so also the compiler errors are in german. I realy need help because I am not the r+d expert. Thanks in advance. Kib
Craig Guy
2005-Mar-17 09:14 UTC
[Asterisk-Users] Compilation problem chan_capi and Eicon Diva 4Bri
Upgrade to kernel 2.6.9, there are supposed to be significant bugfixes for CAPI support in 2.6.9. All of my CAPI systems use FC2, 2.6.9. I tried to go 2.6.10 but had problems. Craig ----- Original Message ----- From: "Kib Eki" <kibeki@gmx.net> To: <asterisk-users@lists.digium.com> Sent: Thursday, March 17, 2005 7:02 PM Subject: [Asterisk-Users] Compilation problem chan_capi and Eicon Diva 4Bri> Hi *, > > I want to integrate the Eicon Diva 4Bri Card to Asterisk. > > Eicon drivers and capi is installed. I use the latest dev version from > eicon compiled and installed for my fedora 2 system. > > I found the chan_capi for asterisk from www.junghanns.net. Also loaded > the patch and applied to the chan_capi source tree. > > I changed the Makefile to include the capi20.h from eicon: > INCLUDE=-I$(ASTERISK_HEADER_DIR) > -I/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon > > make install gives me the following errors: > gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g > -I/usr/include -I/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon > -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 chan_capi.c:35: > /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:52: > error: Syntaxfehler before "word" > /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:52: > Warnung: kein Semikolon am Ende von ??struct?? oder ??union?? > /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:53: > Warnung: type defaults to `int' in declaration of `maxLogicalConnection' > /usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eicon/capi20.h:53: > Warnung: data definition has no type or storage class > > Unfortunately it is german system so also the compiler errors are ingerman.> > I realy need help because I am not the r+d expert. > > Thanks in advance. > Kib > > > _______________________________________________ > 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
Stefan Tichy
2005-Mar-19 04:33 UTC
[Asterisk-Users] Re: Compilation problem chan_capi and Eicon Diva 4Bri
On Thu, Mar 17, 2005 at 12:02:43PM +0100, Kib Eki wrote:> I found the chan_capi for asterisk from www.junghanns.net. Also loaded > the patch and applied to the chan_capi source tree."The patch" - is it this one? http://www.levigo.de/VoIP/chan_capi-0.3.5-cvs-HEAD-patch.tar.bz2> I changed the Makefile to include the capi20.h from eicon: > INCLUDE=-I$(ASTERISK_HEADER_DIR) > -I/usr/src/linux-2.6.5-1.358/drivers/isdn/hardware/eiconIt should compile if /usr/include/capi20.h (capi4linux package) is used. Why do you want to use the kernel header file?> Unfortunately it is german system so also the compiler errors are in german.Unset LANG and try again. -- Stefan Tichy <asterisk@pi4tel.de>
Stefan Tichy
2005-Mar-19 04:35 UTC
[Asterisk-Users] Re: Compilation problem chan_capi and Eicon Diva 4Bri
On Fri, Mar 18, 2005 at 12:14:14AM +0800, Craig Guy wrote:> Upgrade to kernel 2.6.9, there are supposed to be significant bugfixes for > CAPI support in 2.6.9. > > All of my CAPI systems use FC2, 2.6.9. I tried to go 2.6.10 but had > problems.What kind of problems. Could you give us some hint? Thanks in advance -- Stefan Tichy <asterisk@pi4tel.de>