[asterisk-users] AsteriskNow updated to Centos 5.6 and DAHDI doesn't work

Frank Tarczynski ftarz at mindspring.com
Sun Apr 10 08:32:03 CDT 2011


My AsteriskNow box was updated to Centos 5.6 (2.6.18-238.5.1.el5) and 
DAHDI doesn't want to load. I've tried building it from the sources, but 
get this error message:
CC [M] 
/root/Desktop/dahdi-linux-complete-2.4.1.1+2.4.1/linux/drivers/dahdi/xpp/card_bri.o
In file included from 
/root/Desktop/dahdi-linux-complete-2.4.1.1+2.4.1/linux/drivers/dahdi/xpp/xpd.h:31,
from 
/root/Desktop/dahdi-linux-complete-2.4.1.1+2.4.1/linux/drivers/dahdi/xpp/card_bri.c:29:
include/linux/device.h:408: error: expected identifier or ‘(’ before ‘const’
make[4]: *** 
[/root/Desktop/dahdi-linux-complete-2.4.1.1+2.4.1/linux/drivers/dahdi/xpp/card_bri.o] 
Error 1
make[3]: *** 
[/root/Desktop/dahdi-linux-complete-2.4.1.1+2.4.1/linux/drivers/dahdi/xpp] 
Error 2
make[2]: *** 
[_module_/root/Desktop/dahdi-linux-complete-2.4.1.1+2.4.1/linux/drivers/dahdi] 
Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-238.5.1.el5-x86_64'
make[1]: *** [modules] Error 2
make[1]: Leaving directory 
`/root/Desktop/dahdi-linux-complete-2.4.1.1+2.4.1/linux'
make: *** [all] Error 2

The code in question is:
static inline const char *dev_name(const struct device *dev)
{
return kobject_name(&dev->kobj);
}

Anybody else seen this problem? Any resolutions?

Thanks




More information about the asterisk-users mailing list