DAHDI doesn't compile with OVZ Kernel [message #42266] |
Tue, 29 March 2011 06:18 |
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
|
|
|