[asterisk-users] DAHDI 2.7.0.1 and CentOS 6.5

2013-12-02 Thread Bakko

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


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] DAHDI 2.7.0.1 and CentOS 6.5

2013-12-02 Thread Patrick Lists
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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] DAHDI 2.7.0.1 and CentOS 6.5

2013-12-02 Thread Bakko

Hello,

thank you for the information.

I'll wait the new release.

Regards

El 02/12/2013 16:21, Patrick Lists escribió:

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




--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users