Frank Tarczynski
2011-Apr-10 13:32 UTC
[asterisk-users] AsteriskNow updated to Centos 5.6 and DAHDI doesn't work
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
asterisk asterisk
2011-Apr-10 15:26 UTC
[asterisk-users] AsteriskNow updated to Centos 5.6 and DAHDI doesn't work
same here. Something seriously wrong after upgrade Don't upgrade now. On Sun, Apr 10, 2011 at 9:32 PM, Frank Tarczynski <ftarz at mindspring.com>wrote:> 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 > > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110410/f6f21020/attachment.htm>