[asterisk-users] error during dahdi installation on centos
Kamlesh Kumar
kamlesh_kmr at hotmail.com
Wed Feb 15 06:47:20 CST 2012
thank you very much for your quick response.
make KVERS=2.6.18-274.18.1.el5PAE
It started the installation but stuck at below error
LD [M] /usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/wcte12xp/wcte12xp.o
CC [M] /usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/xpp/card_bri.o
In file included from /usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/xpp/xpd.h:31,
from /usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/xpp/card_bri.c:29:
include/linux/device.h:407: error: expected identifier or â(â before âconstâ
make[4]: *** [/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/xpp/card_bri.o] Error 1
make[3]: *** [/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/xpp] Error 2
make[2]: *** [_module_/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-274.18.1.el5-PAE-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'
make: *** [all] Error 2
Regards,
Kamlesh
> Date: Wed, 15 Feb 2012 14:39:00 +0200
> From: tzafrir.cohen at xorcom.com
> To: asterisk-users at lists.digium.com
> Subject: Re: [asterisk-users] error during dahdi installation on centos
>
> On Wed, Feb 15, 2012 at 12:11:18PM +0000, Kamlesh Kumar wrote:
> >
> > Hello,
> >
> > # rpm -qa | grep kernel
> > kernel-headers-2.6.18-274.18.1.el5
> > kernel-PAE-2.6.18-128.el5
> > kernel-devel-2.6.18-274.18.1.el5
> > kernel-PAE-devel-2.6.18-274.18.1.el5
> >
> > [root at localhost ~]# uname -i
> > i386
> >
> > 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?
> >
> > [root at localhost dahdi-linux-complete-2.3.0.1+2.3.0]# make
> > make -C linux all
> > make[1]: Entering directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'
> > make -C drivers/dahdi/firmware firmware-loaders
> > make[2]: Entering directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/firmware'
> > make[2]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux/drivers/dahdi/firmware'
> > You do not appear to have the sources for the 2.6.18-128.el5PAE kernel installed.
> > make[1]: *** [modules] Error 1
> > make[1]: Leaving directory `/usr/src/asterisk/dahdi-linux-complete-2.3.0.1+2.3.0/linux'
> > make: *** [all] Error 2
>
> Boot to the newer kernel and/or use:
>
> make KVERS=2.6.18-274.18.1.el5PAE
>
> --
> Tzafrir Cohen
> icq#16849755 jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406 mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
>
> --
> _____________________________________________________________________
> -- 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/20120215/1a256a6e/attachment.htm>
More information about the asterisk-users
mailing list