Thermal Wetland
2010-Jul-14 04:38 UTC
[asterisk-users] Can't compile DAHDI - wrong kernel source
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 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100713/5f82654a/attachment.htm
Gareth Blades
2010-Jul-14 08:16 UTC
[asterisk-users] Can't compile DAHDI - wrong kernel source
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> 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.