kernel source error on dahdi installation in centos
12,680
Sure this described everywhere. If you not want read, try this:
yum update -y
yum install kernel-devel -y
reboot
Author by
deogratias
Updated on September 18, 2022Comments
-
deogratias almost 2 years
Trying to install dahdi from the link. I have downloaded package for dahdi. But on doing
cd /usr/src/dahdi-linux-complete* make && make install && make config
My terminal shows
[root@localhost dahdi-linux-complete-2.10.0+2.10.0]# make make -C linux all make[1]: Entering directory `/usr/src/dahdi-linux-complete-2.10.0+2.10.0/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory `/usr/src/dahdi-linux-complete-2.10.0+2.10.0/linux/drivers/dahdi/firmware' make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0+2.10.0/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 2.6.32-431.29.2.el6.x86_64 kernel installed. make[1]: *** [modules] Error 1 make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.10.0+2.10.0/linux' make: *** [all] Error 2
output of uname -r
[root@localhost dahdi-linux-complete-2.10.0+2.10.0]# uname -r 2.6.32-431.29.2.el6.x86_64
I have the kernel source then why its showing the message You do not appear to have the sources for the 2.6.32-431.29.2.el6.x86_64 kernel installed.
I know this question is asked many times.I have tried those but dint resolve this problem. I have tryed updating my system but it says nothing to update.
Any Suggestions apart from reinstalling my OS???
-
deogratias almost 10 yearstryed that,it says nothing to do already updated that package
-
arheops almost 10 yearstry reinstall kernel-devel
-
sruffell almost 10 yearsAnd make sure you reboot so that you're running the kernel that you installed the kernel-devel tools for (or run sudo yum install kernel-devel-$(uname -r) )
-
deogratias almost 10 yearssolved it, removed all kernel packages by
yum remove kernel*
and then reinstalling byyum install kernel*