[asterisk-users] Can't compile DAHDI - wrong kernel source

liuxin nyliuxin518 at gmail.com
Wed Jul 14 03:36:25 CDT 2010


Hi.
The best easy way is:
copy kernel-devel-2.6.18-028stab064.7.rpm to /usr/src
then run rpm -ivh kernel-devel-2.6.18-028stab064.7.rpm

2010/7/14 Gareth Blades <list-asterisk at skycomuk.com>

> Thermal Wetland wrote:
> > I have a virtual server with godaddy but can not compile DAHDI as it
> > complains that I do not have the correct kernel source.
> >
> > The package installed is - kernel-devel-2.6.18-164.11.1.el5.i686:
> > Package kernel-devel-2.6.18-164.11.1.el5.i686 already installed and
> > latest version
> > Nothing to do
> >
> > uname -a returns:
> > Linux ip-XXX-XXX-XXX-XXX.ip.secureserver.net<http://ip-xxx-xxx-xxx-xxx.ip.secureserver.net/>
> > <http://ip-XXX-XXX-XXX-XXX.ip.secureserver.net<http://ip-xxx-xxx-xxx-xxx.ip.secureserver.net/>>
> 2.6.18-028stab064.7 #1
> > SMP Wed Aug 26 13:11:07 MSD 2009 i686 i686 i386 GNU/Linux
> >
> > When I try to compile DAHDI it fails with:
> > 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-028stab064.7 kernel
> > installed.
> >
> > Is there a way to trick DAHDI to use the installed kernel?
> >
> > Thanks for the help!
> >
> > --
> > -Thermal
> >
>
> What kernel versions do you have installed?
>
> If you are currently running an older kernel but installed a newer
> kernel and sources but havent rebooted to activate the new one yet then
> it may still be trying to locate the source for the older running kernel.
>
>
> --
> _____________________________________________________________________
> -- 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/20100714/c12104a0/attachment.htm 


More information about the asterisk-users mailing list