OpenVZ Forum


Home » General » Support » DAHDI doesn't compile with OVZ Kernel (DAHDI doesn't compile with OVZ Kernel version 2.6.18-238.5.1.el5.028stab085.3)
DAHDI doesn't compile with OVZ Kernel [message #42266] Tue, 29 March 2011 06:18
AlexFox is currently offline  AlexFox
Messages: 3
Registered: August 2010
Junior Member
Hi,

I recently upgraded my OVZ kernel, and had to recompile the DAHDI driver for Asterisk on the host machine, but I get to following error now:

In file included from /usr/src/asterisk/dahdi-linux-complete-2.4.1+2.4.1/linux/dri vers/dahdi/xpp/xpd.h:31,
from /usr/src/asterisk/dahdi-linux-complete-2.4.1+2.4.1/linux/dri vers/dahdi/xpp/card_bri.c:29:
include/linux/device.h:410: error: expected identifier or '(' before 'const'
make[4]: *** [/usr/src/asterisk/dahdi-linux-complete-2.4.1+2.4.1/linux/dr ivers/dahdi/xpp/card_bri.o] Error 1
make[3]: *** [/usr/src/asterisk/dahdi-linux-complete-2.4.1+2.4.1/linux/dr ivers/dahdi/xpp] Error 2
make[2]: *** [_module_/usr/src/asterisk/dahdi-linux-complete-2.4.1+2.4.1/ linux/drivers/dahdi] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-238.5.1.el5.028stab085.3-x86_64'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.4.1+2.4.1/linux'
make: *** [all] Error 2

When I do the same compile on the standard CentOS kernel, or a previous version of OVZ, it compiles without any errors.

Can anyone help out please.

OS: Centos 5.5
DAHDI version: 2.4.1
OVZ Kernel: 2.6.18-238.5.1.el5.028stab085.3
Software Package installed for compile:
ovzkernel.x86_64
ovzkernel-devel.x86_64
 
Read Message
Previous Topic: RHEL6 042test008.1 number of CPUs
Next Topic: Iptables logging on VPS not working
Goto Forum:
  


Current Time: Fri Aug 09 13:42:47 GMT 2024

Total time taken to generate the page: 0.02922 seconds