Stefan Guenther
2007-Oct-27 17:49 UTC
[asterisk-users] Little OT: Compilation of EICON driver fails with capi errors
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:
# LOG ---- START SECTION read kernel version ------------------
#+ LOG INFO: /proc/version: Linux version 2.6.23.1 (root at asterisk) (gcc
version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #3 SMP Sat
Oct 27 11:59:57 CEST 2007
#+ LOG INFO: /etc/*-release: DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"
#+ LOG INFO: Makefile/VERSION = 2
#+ LOG INFO: Makefile/PATCHLEVEL = 6
#+ LOG INFO: Makefile/SUBLEVEL = 23
#+ LOG INFO: Makefile/EXTRAVERSION = .1
# LOG ---- END SECTION read kernel version ------------------
[ cut ]
#+ LOG INFO: end modules_prepare
WARNING: Symbol version dump /usr/src/linux-2.6.23.1/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] drivers/isdn/capi/kcapi.o
drivers/isdn/capi/kcapi.c: In function ?recv_handler?:
drivers/isdn/capi/kcapi.c:308: warning: format ?%s? expects type ?char
*?, but argument 3 has type ?struct _cdebbuf *?
drivers/isdn/capi/kcapi.c: In function ?capi_ctr_handle_message?:
drivers/isdn/capi/kcapi.c:331: warning: format ?%s? expects type ?char
*?, but argument 3 has type ?struct _cdebbuf *?
drivers/isdn/capi/kcapi.c:354: warning: format ?%s? expects type ?char
*?, but argument 3 has type ?struct _cdebbuf *?
drivers/isdn/capi/kcapi.c: In function ?capi20_put_message?:
drivers/isdn/capi/kcapi.c:671: warning: format ?%s? expects type ?char
*?, but argument 3 has type ?struct _cdebbuf *?
drivers/isdn/capi/kcapi.c:1013:50: error: macro "INIT_WORK" passed 3
arguments, but takes just 2
drivers/isdn/capi/kcapi.c: In function ?kcapi_init?:
drivers/isdn/capi/kcapi.c:1013: error: ?INIT_WORK? undeclared (first use
in this function)
drivers/isdn/capi/kcapi.c:1013: error: (Each undeclared identifier is
reported only once
drivers/isdn/capi/kcapi.c:1013: error: for each function it appears in.)
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.
Thanks for any hint.
Stefan
--
********************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Geschaeftsfuehrer
Moltkestrasse 49 D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
********************************************
Schulungen Installationen
Beratung Support
Voice-over-IP-Loesungen
********************************************
Patrick
2007-Oct-27 18:51 UTC
[asterisk-users] Little OT: Compilation of EICON driver fails with capi errors
On Sat, 2007-10-27 at 19:49 +0200, 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:[snip] I have a couple of single BRI and one quad BRI Eicon Diva Server cards. On Fedora 6 and 7 and CentOS 4.x and 5 there is no need to install anything from Eicon. The kernel already includes the modules for these Eicon Diva Server cards. Here is how I load the modules manually: /sbin/modprobe -v divas /sbin/modprobe -v diva_idi /sbin/modprobe -v kernelcapi /sbin/modprobe -v capi /sbin/modprobe -v divacapi Regards, Patrick
Armin Schindler
2007-Oct-27 23:14 UTC
[asterisk-users] Little OT: Compilation of EICON driver fails with capi errors
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