DAHDI installation Kernel Source missing
Topic: You do not appear to have the sources for the kernel installed
Overview: Dahdi Kernel source missing
You might have received the error "You do not appear to have the sources for the kernel installed" while installing the DADHI driver in the linux
DAHDI is a collection of open source drivers, for
linux, that are used to interface with a variety of telephony related
It consists of two parts.
The DAHDI-Linux project contains the individual board drivers for the supported hardware.
The DAHDI-Tools project contains an assortment of user space utilities that are used to setup and test the drivers.
Cause of the Issue:
You might not installed the latest Kernel in you linux server or you might have installed older dahdi version which not supporting the current kernel version installed.
Workaround: Dahdi kernel source issue
Follow the below steps to resolve the dahdi kernel source missing issue.
Workaround 1: Latest Kernel and Kernel-devel installation
Before proceeding with the DAHDI installation you have to install the latest kernel and kernel devel package , run the below command to update or install latest kernel
yum install kernel*yum update kernel*yum install kernel-devel
yum install kernel-devel kernel-headers
yum install kernel-$(uname -r)
yum install kernel-devel-$(uname -r)
workaround 2: Kernel version in Grub file
Sometimes the installed kernel version might not be updated
properly in the grub file, the grub file still refers to the old kernel
Follow the below steps to update the kernel version in grub file
Run the below command to check the kernel version
Workaround 3: Softlink kernel
ln -s /usr/src/kernels/2.6.32-573.12.1.el6.x86_64/ buildrebootreinstall dahdi
Workaround 4: Editing the Dahdi Source code
Download the latest Dahdi Software from the asterisk website, unzip or untar the file and edit the source code as shown below ,followed to that proceed with the dahdi installation
cd /usr/srcwget https://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gzuntar dahdi-linux-complete-current.tar.gzcd /usr/src/asterisk/dahdi-linux-complete-3.1.0+3.1.0/
Now edit the file
Once file saved proceed with the dahdi installation
dahdi installation steps
make allmake installmake config
For professional support reach me on skype:striker24x7