Problems Compiling Dahdi Modules

Home » Asterisk Users » Problems Compiling Dahdi Modules
Asterisk Users 3 Comments

Hi,

I am having the following issue after upgrading the kernel in a CentOS machine.

[root@localhost dahdi-linux-complete-2.7.0.1+2.7.0.1]# make make -C linux all make[1]: Entering directory
`/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux’
make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory
`/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware’
make[2]: Leaving directory
`/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/firmware’
make -C /lib/modules/2.6.32-431.el6.x86_64/build M=’/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/oct612x’
make[2]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64′
Building modules, stage 2.
MODPOST 0 modules make[2]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64′
make -C /lib/modules/2.6.32-431.el6.x86_64/build SUBDIRS=/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/include DAHDI_MODULES_EXTRA=” ” HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[2]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64′
CC [M] /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/dahdi-base.o In file included from
/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/dahdi-base.c:66:
/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/include/dahdi/kernel.h:1407:
error: redefinition of

3 thoughts on - Problems Compiling Dahdi Modules