Foniva Contact Center Software
Asterisk Experts Support

You do not appear to have the sources for the `uname -r` kernel installed.

So, this maybe the first error you have when trying to build dahdi.

On CentOS, to fix it, it is simple.

First update yum

yum update

yum upgrade

Know your kernel version

uname -r

Search the package kernel-devel right for your version and install it

yum install kernel-devel kernel-headers

Goto to /lib/modules/ directory

cd /lib/modules/`uname -r`

ls -l

If you see a broken build link out there. Point it to the new installed kernel source in /usr/src/

ln -s /usr/src/kernels/(your-kernel-source-dir) build

Reboot your machine

Now, you should be able to build your dahdi sources.


Our sponsors

Asterisk Experts Support