[Home]

Summary:DAHLIN-00331: dahdi-linux doesnt compile on centos 6.5
Reporter:Jon Christopherson (m00ster)Labels:
Date Opened:2013-12-02 00:11:57.000-0600Date Closed:2013-12-02 05:50:05.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:dahdi (the module)
Versions:2.7.0 Frequency of
Occurrence
Related
Issues:
duplicatesDAHLIN-00330 DAHDI 2.7.0.1 or 2.8.0.0rc2 won't build under Centos 6.5 x32/kernel 2.6.32-431.el6.i686
Environment:CentOS 6.5 64-bit with kernel 2.6.32-431.el6.x86_64Attachments:
Description:dahdi-linix does not compile with the new centos 6.5 kernel headers using the command gmake KVERS="2.6.32-431.el6.x86_64":

gmake[1]: Entering directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
 CC [M]  /usr/src/asterisk/dahdi-linux-2.7.0.1/drivers/dahdi/dahdi-base.o
In file included from /usr/src/asterisk/dahdi-linux-2.7.0.1/drivers/dahdi/dahdi-base.c:66:
/usr/src/asterisk/dahdi-linux-2.7.0.1/include/dahdi/kernel.h:1407: error: redefinition of ‘PDE_DATA’
include/linux/proc_fs.h:328: note: previous definition of ‘PDE_DATA’ was here
gmake[2]: *** [/usr/src/asterisk/dahdi-linux-2.7.0.1/drivers/dahdi/dahdi-base.o] Error 1
gmake[1]: *** [_module_/usr/src/asterisk/dahdi-linux-2.7.0.1/drivers/dahdi] Error 2
gmake[1]: Leaving directory `/usr/src/kernels/2.6.32-431.el6.x86_64'
gmake: *** [modules] Error 2

I can compile it fine using the older kernel tree from CentOs 6.4.
Comments:By: Joshua C. Colp (jcolp) 2013-12-02 05:50:05.549-0600

This is a duplicate of issue DAHLIN-330, which Shaun has already fixed in git.