[asterisk-users] Little OT: Compilation of EICON driver fails with capi errors

Armin Schindler armin at melware.de
Sat Oct 27 18:14:18 CDT 2007


On Sat, 27 Oct 2007, Stefan Guenther wrote:
> Hello,

I want to use a 4 port ISDN card from EICON/DIALOGIC in our asterisk server.
The system is a Ubuntu 7.10 with kernel 2.6.23.1. The compilation of the 
kernel finishes without any problems. I have downloaded and installed 
the deb-source package that EICON/DIALOGIC offers. Th installation 
script crashes with the following error messages:

...
drivers/isdn/capi/kcapi.c:1014:47: error: macro "INIT_WORK" passed 3 
arguments, but takes just 2
make[2]: *** [drivers/isdn/capi/kcapi.o] Error 1
make[1]: *** [drivers/isdn/capi] Error 2
make: *** [_module_drivers/isdn] Error 2
#+ LOG INFO: pwd:/usr/lib/eicon/divas/src
#! LOG ABORT EXECUTION DUE TO ERROR  : Failed to call 'make modules'
#! LOG ERROR INFO: make modules

> Has anyone on the list experienced similar problems with an EICON card 
> and has found a solution?
> I also tested the installation with kernel 2.6.22-14 which is the one 
> that comes with Ubuntu - same problem.
> I already contacted EICON support but they haven't answered yet.

It looks like the kcapi module that's coming with the Eicon package is
incompatible with the new kernel version.
If you don't have the need for using the Eicon package, you might want
to try the Melware V3 driver which uses the in-kernel capi and will not
patch the kernel on your system.

Armin



More information about the asterisk-users mailing list