[Asterisk-Users] Compilation problem chan_capi and Eicon Diva 4Bri

Craig Guy cguy at bigpond.net.au
Thu Mar 17 09:14:14 MST 2005


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 at gmx.net>
To: <asterisk-users at 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 in
german.
>
> I realy need help because I am not the r+d expert.
>
> Thanks in advance.
> Kib
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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




More information about the asterisk-users mailing list