<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="Helvetica, Arial, sans-serif">Hello,<br>
      <br>
      I am getting the following error when compiling dahdi :<br>
      <br>
      make[2]: Entering directory
      `/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'<br>
        Building modules, stage 2.<br>
        MODPOST 0 modules<br>
      make[2]: Leaving directory
      `/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'<br>
      make -C /lib/modules/2.6.32-431.1.2.0.1.el6.x86_64/build
      SUBDIRS=/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi
      DAHDI_INCLUDE=/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/include
      DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules
      DAHDI_BUILD_ALL=m<br>
      make[2]: Entering directory
      `/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'<br>
        CC [M] 
/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/dahdi-base.o<br>
      In file included from
/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/dahdi-base.c:66:<br>
      /usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/include/dahdi/kernel.h:1407:
      error: redefinition of ‘PDE_DATA’<br>
      include/linux/proc_fs.h:328: note: previous definition of
      ‘PDE_DATA’ was here<br>
      make[3]: ***
      [/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi/dahdi-base.o]
      Error 1<br>
      make[2]: ***
      [_module_/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux/drivers/dahdi]
      Error 2<br>
      make[2]: Leaving directory
      `/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'<br>
      make[1]: *** [modules] Error 2<br>
      make[1]: Leaving directory
      `/usr/src/dahdi-linux-complete-2.7.0.1+2.7.0.1/linux'<br>
      make: *** [all] Error 2<br>
      <br>
      <br>
      I have the right kernel sources installed :<br>
      <br>
      [root@sip dahdi-linux-complete-2.7.0.1+2.7.0.1]# uname -a<br>
      Linux sip 2.6.32-431.1.2.0.1.el6.x86_64 #1 SMP Fri Dec 13 13:06:13
      UTC 2013 x86_64 x86_64 x86_64 GNU/Linux<br>
      <br>
      <br>
      So what am I missing ?<br>
      <br>
      <br>
      <br>
      Kind regards,<br>
      Jonas.<br>
    </font>
  </body>
</html>