<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
thank you very much for your quick response. <BR>
<BR>
make KVERS=2.6.18-274.18.1.el5PAE <BR>
<BR>
It started the installation but stuck at below error<BR>
<BR>
LD [M] /usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/wcte12xp/wcte12xp.o<BR> CC [M] /usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/xpp/card_bri.o<BR>In file included from /usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/xpp/xpd.h:31,<BR> from /usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/xpp/card_bri.c:29:<BR>include/linux/device.h:407: error: expected identifier or â(â before âconstâ<BR>make[4]: *** [/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/xpp/card_bri.o] Error 1<BR>make[3]: *** [/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/xpp] Error 2<BR>make[2]: *** [_module_/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi] Error 2<BR>make[2]: Leaving directory `/usr/src/kernels/2.6.18-274.18.1.el5-PAE-i686'<BR>make[1]: *** [modules] Error 2<BR>make[1]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'<BR>make: *** [all] Error 2<BR><BR>
Regards,<BR>
Kamlesh<BR>
<BR> <BR>
<DIV>
<DIV id=SkyDrivePlaceholder></DIV>> Date: Wed, 15 Feb 2012 14:39:00 +0200<BR>> From: tzafrir.cohen@xorcom.com<BR>> To: asterisk-users@lists.digium.com<BR>> Subject: Re: [asterisk-users] error during dahdi installation on centos<BR>> <BR>> On Wed, Feb 15, 2012 at 12:11:18PM +0000, Kamlesh Kumar wrote:<BR>> > <BR>> > Hello,<BR>> > <BR>> > # rpm -qa | grep kernel<BR>> > kernel-headers-2.6.18-274.18.1.el5<BR>> > kernel-PAE-2.6.18-128.el5<BR>> > kernel-devel-2.6.18-274.18.1.el5<BR>> > kernel-PAE-devel-2.6.18-274.18.1.el5<BR>> > <BR>> > [root@localhost ~]# uname -i<BR>> > i386<BR>> > <BR>> > Trying to install dahdi-linux-complete-2.3.0.1+2.3.0 on CentOS but get below error. Can you please assist in this?<BR>> > <BR>> > [root@localhost dahdi-linux-complete-2.3.0.1+2.3.0]# make<BR>> > make -C linux all<BR>> > make[1]: Entering directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'<BR>> > make -C drivers/dahdi/firmware firmware-loaders<BR>> > make[2]: Entering directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/firmware'<BR>> > make[2]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/firmware'<BR>> > You do not appear to have the sources for the 2.6.18-128.el5PAE kernel installed.<BR>> > make[1]: *** [modules] Error 1<BR>> > make[1]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'<BR>> > make: *** [all] Error 2<BR>> <BR>> Boot to the newer kernel and/or use:<BR>> <BR>> make KVERS=2.6.18-274.18.1.el5PAE<BR>> <BR>> -- <BR>> Tzafrir Cohen<BR>> icq#16849755 jabber:tzafrir.cohen@xorcom.com<BR>> +972-50-7952406 mailto:tzafrir.cohen@xorcom.com<BR>> http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir<BR>> <BR>> --<BR>> _____________________________________________________________________<BR>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<BR>> New to Asterisk? Join us for a live introductory webinar every Thurs:<BR>> http://www.asterisk.org/hello<BR>> <BR>> asterisk-users mailing list<BR>> To UNSUBSCRIBE or update options visit:<BR>> http://lists.digium.com/mailman/listinfo/asterisk-users<BR></DIV>                                            </div></body>
</html>