[Asterisk-Users] Compilation problem chan_capi and Eicon Diva 4Bri
Kib Eki
kibeki at gmx.net
Thu Mar 17 04:02:43 MST 2005
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
More information about the asterisk-users
mailing list