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

Stefan Guenther asterisk01 at in-put.de
Sat Oct 27 12:49:12 CDT 2007


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
********************************************



More information about the asterisk-users mailing list