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

Gareth Blades list-asterisk at skycomuk.com
Wed Jul 14 03:16:19 CDT 2010


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.




More information about the asterisk-users mailing list