[asterisk-users] DAHDI and CentOS 6.5

Bakko asannucci at gmail.com
Mon Dec 2 15:09:22 CST 2013


during DAHDI compilation on CentOS 6.5 64bit, I have this error:

In file included from 
/usr/src/dahdi-linux- error: 
redefinición de 'PDE_DATA'
include/linux/proc_fs.h:328: nota: la definición previa de 'PDE_DATA' 
estaba aquí
make[2]: *** [/usr/src/dahdi-linux-] 
Error 1
make[1]: *** [_module_/usr/src/dahdi-linux-] Error 2
make[1]: se sale del directorio `/usr/src/kernels/2.6.32-431.el6.x86_64'
make: *** [modules] Error 2

I don't know if is the right wayt to solve it but in the:

nano include/dahdi/kernel.h

I commented out these lines:

/*static inline void *PDE_DATA(const struct inode *inode)
         return PDE(inode)->data;

then make and make install work.

I think the problem is there is similar declaration on the linux-kernel 
source, file:



More information about the asterisk-users mailing list