Hosted Vicidial server starts from $39 Contact Us Buy Now!

How toL asterisk Dahdi - kernel issue

Estimated read time: 1 min

 Dahdi - You do not appear to have the sources for the kernel installed.


dahdi kernel issue


******************************
Error : You do not appear to have the sources for the kernel installed
******************************

While installing Dahdi you might get the above error.
follow the below steps to get rid of this issue


  1. check the kernel version by typing uname -r for eg : # uname -r 
  2. 6.18-194.3.1.el5 2.and check the actual kernel version by running yum install kernel 
  3. if the versions are different copy the actual kernel version 
  4. go to /boot/grub/grub.conf 
  5. at last line change the kernel version to latest 
  6. reboot 
  7. go to Dahdi downloded directory 
  8. make clean 
  9. make all 
  10. make install 
  11. make config
********************************
OR
*******************************
ln -s /usr/src/kernels/2.6.32-573.12.1.el6.x86_64/ build
reboot
reinstall dahdi

**************
OR
************
cd /usr/src/asterisk/dahdi-linux-complete-3.1.0+3.1.0/

vi /usr/src/dahdi-linux-complete-3.1.0+3.1.0/linux/include/dahdi/kernel.h

change #include: </linux/pci-aspm.h> to </linux/pci.h>

make
make install
make install-config
cd tools
make clean
make
make install
make install-config


Also See:
Digium cards installation ClickHere
Sangoma cards installation ClickHere
vicidial scratch install in centos ClickHere

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.