Problem Building Dahdi From Source

Home » Asterisk Users » Problem Building Dahdi From Source
Asterisk Users 3 Comments


I am getting the following error when compiling dahdi :

make[2]: Entering directory `/usr/src/kernels/2.6.32-431.′
Building modules, stage 2.
MODPOST 0 modules make[2]: Leaving directory `/usr/src/kernels/2.6.32-431.′
make -C /lib/modules/2.6.32-431. SUBDIRS=/usr/src/dahdi-linux-complete- DAHDI_INCLUDE=/usr/src/dahdi-linux-complete- DAHDI_MODULES_EXTRA=” ” HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[2]: Entering directory `/usr/src/kernels/2.6.32-431.′
CC [M]
/usr/src/dahdi-linux-complete- In file included from
error: redefinition of ‘PDE_DATA’
include/linux/proc_fs.h:328: note: previous definition of ‘PDE_DATA’ was here make[3]: ***
Error 1
make[2]: ***
Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.32-431.′
make[1]: *** [modules] Error 2
make[1]: Leaving directory
make: *** [all] Error 2

I have the right kernel sources installed :

[root@sip dahdi-linux-complete-]# uname -a Linux sip 2.6.32-431. #1 SMP Fri Dec 13 13:06:13 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux

So what am I missing ?

Kind regards, Jonas.

3 thoughts on - Problem Building Dahdi From Source