<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&nbsp;quick response. <BR>
&nbsp;<BR>
make KVERS=2.6.18-274.18.1.el5PAE <BR>
&nbsp;<BR>
It started the installation but stuck at below error<BR>
&nbsp;<BR>
&nbsp;LD [M]&nbsp; /usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/wcte12xp/wcte12xp.o<BR>&nbsp; CC [M]&nbsp; /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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;<BR>
<DIV>
<DIV id=SkyDrivePlaceholder></DIV>&gt; Date: Wed, 15 Feb 2012 14:39:00 +0200<BR>&gt; From: tzafrir.cohen@xorcom.com<BR>&gt; To: asterisk-users@lists.digium.com<BR>&gt; Subject: Re: [asterisk-users] error during dahdi installation on centos<BR>&gt; <BR>&gt; On Wed, Feb 15, 2012 at 12:11:18PM +0000, Kamlesh Kumar wrote:<BR>&gt; &gt; <BR>&gt; &gt; Hello,<BR>&gt; &gt; <BR>&gt; &gt; # rpm -qa | grep kernel<BR>&gt; &gt; kernel-headers-2.6.18-274.18.1.el5<BR>&gt; &gt; kernel-PAE-2.6.18-128.el5<BR>&gt; &gt; kernel-devel-2.6.18-274.18.1.el5<BR>&gt; &gt; kernel-PAE-devel-2.6.18-274.18.1.el5<BR>&gt; &gt; <BR>&gt; &gt; [root@localhost ~]# uname -i<BR>&gt; &gt; i386<BR>&gt; &gt; <BR>&gt; &gt; 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>&gt; &gt; <BR>&gt; &gt; [root@localhost dahdi-linux-complete-2.3.0.1+2.3.0]# make<BR>&gt; &gt; make -C linux all<BR>&gt; &gt; make[1]: Entering directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'<BR>&gt; &gt; make -C drivers/dahdi/firmware firmware-loaders<BR>&gt; &gt; make[2]: Entering directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/firmware'<BR>&gt; &gt; make[2]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/firmware'<BR>&gt; &gt; You do not appear to have the sources for the 2.6.18-128.el5PAE kernel installed.<BR>&gt; &gt; make[1]: *** [modules] Error 1<BR>&gt; &gt; make[1]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'<BR>&gt; &gt; make: *** [all] Error 2<BR>&gt; <BR>&gt; Boot to the newer kernel and/or use:<BR>&gt; <BR>&gt; make KVERS=2.6.18-274.18.1.el5PAE<BR>&gt; <BR>&gt; -- <BR>&gt; Tzafrir Cohen<BR>&gt; icq#16849755 jabber:tzafrir.cohen@xorcom.com<BR>&gt; +972-50-7952406 mailto:tzafrir.cohen@xorcom.com<BR>&gt; http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir<BR>&gt; <BR>&gt; --<BR>&gt; _____________________________________________________________________<BR>&gt; -- Bandwidth and Colocation Provided by http://www.api-digital.com --<BR>&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<BR>&gt; http://www.asterisk.org/hello<BR>&gt; <BR>&gt; asterisk-users mailing list<BR>&gt; To UNSUBSCRIBE or update options visit:<BR>&gt; http://lists.digium.com/mailman/listinfo/asterisk-users<BR></DIV>                                               </div></body>
</html>