[asterisk-users] DAHDI 2.7.0.1 and CentOS 6.5

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


Hello,

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

In file included from 
/usr/src/dahdi-linux-2.7.0.1/drivers/dahdi/dahdi-base.c:66:
/usr/src/dahdi-linux-2.7.0.1/include/dahdi/kernel.h:1407: 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-2.7.0.1/drivers/dahdi/dahdi-base.o] 
Error 1
make[1]: *** [_module_/usr/src/dahdi-linux-2.7.0.1/drivers/dahdi] 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:

/usr/src/kernels/2.6.32-431.el6.x86_64/include/linux/proc_fs.h

Regards




More information about the asterisk-users mailing list