[asterisk-users] DAHDI or Zaptel doesn't compile against 1.4.24

Administrator TOOTAI admin at tootai.net
Tue Mar 17 13:16:26 CDT 2009


Hi,

We installed the latest 1.4.24 on a test machine and can't get zaptel 
nor dahdi compile. It's a Linux Debian Etch. Errors we have:

keewi:/usr/src/dahdi-linux-2.1.0.4# make
make -C /lib/modules/2.6.18-custom.2/build ARCH=i386 
SUBDIRS=/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi 
DAHDI_INCLUDE=/usr/src/dahdi-linux-2.1.0.4/include DAHDI_MODULES_EXTRA=" 
" HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[1]: entrant dans le répertoire « /usr/src/linux-source-2.6.18 »

   WARNING: Symbol version dump /usr/src/linux-source-2.6.18/Module.symvers
            is missing; modules will have no dependencies and modversions.

   CC [M]  /usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi-base.o
In file included from 
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi-base.c:38:
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi_config.h:23:27: error: 
linux/version.h: Aucun fichier ou répertoire de ce type
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi_config.h:24:5: warning: 
"LINUX_VERSION_CODE" is not defined
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi_config.h:24:26: 
warning: "KERNEL_VERSION" is not defined
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi_config.h:24:40: error: 
missing binary operator before token "("
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi_config.h:82:5: warning: 
"LINUX_VERSION_CODE" is not defined
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi_config.h:82:27: 
warning: "KERNEL_VERSION" is not defined
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi_config.h:82:41: error: 
missing binary operator before token "("
In file included from include/linux/kernel.h:11,
                  from 
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi-base.c:40:
include/linux/linkage.h:4:25: error: asm/linkage.h: Aucun fichier ou 
répertoire de ce type
In file included from include/linux/posix_types.h:47,
                  from include/linux/types.h:14,
                  from include/linux/kernel.h:13,
                  from 
/usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi-base.c:40:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/asm/posix_types.h:13:22: 
error: features.h: Aucun fichier ou répertoire de ce type

aso.

Zaptel, the same:

...
make[1]: entrant dans le répertoire « /usr/src/asterisk-1.4.24/zaptel »
make -C /lib/modules/2.6.18-custom.2/build 
SUBDIRS=/usr/src/asterisk-1.4.24/zaptel/kernel HOTPLUG_FIRMWARE=yes 
KBUILD_OBJ_M="wcfxo.o zaptel.o ztdummy.o zttranscode.o " modules
make[2]: entrant dans le répertoire « /usr/src/linux-source-2.6.18 »

   WARNING: Symbol version dump /usr/src/linux-source-2.6.18/Module.symvers
            is missing; modules will have no dependencies and modversions.

   CC [M]  /usr/src/asterisk-1.4.24/zaptel/kernel/wcfxo.o
In file included from include/linux/kernel.h:11,
                  from /usr/src/asterisk-1.4.24/zaptel/kernel/wcfxo.c:27:
include/linux/linkage.h:4:25: error: asm/linkage.h: Aucun fichier ou 
répertoire de ce type
In file included from include/linux/posix_types.h:47,
                  from include/linux/types.h:14,
                  from include/linux/kernel.h:13,
                  from /usr/src/asterisk-1.4.24/zaptel/kernel/wcfxo.c:27:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/asm/posix_types.h:13:22: 
error: features.h: Aucun fichier ou répertoire de ce type
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/asm/posix_types.h:14:35: 
error: no include path in which to search for asm/posix_types.h
In file included from include/linux/kernel.h:13,
                  from /usr/src/asterisk-1.4.24/zaptel/kernel/wcfxo.c:27:
include/linux/types.h:15:23: error: asm/types.h: Aucun fichier ou 
répertoire de ce type

aso.


What are we doing wrong?

-- 
Daniel



More information about the asterisk-users mailing list