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
On 12/02/2013 10:09 PM, Bakko wrote:> Hello, > > during DAHDI 2.7.0.1 compilation on CentOS 6.5 64bit, I have this error:[snip] This was discussed earlier today and Russ pointed to the fixes: http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=summary http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=5ec9d756aac1a0eb5c1f48eb110e80946b43f41a https://issues.asterisk.org/jira/browse/DAHLIN-330 The fix will be in 2.8.0-rc3. Either wait for the rc3 or add the patch to your build (don't know if it works on 2.7.0.1). Regards, Patrick