Dahdi compilation

Hai all,

Iam installed asterisk 1.8 with dahdi 2.9 in centos 6.9.
when iam installing dahdi

iam getting an error :

make -C linux all
make[1]: Entering directory /usr/src/asterisk/dahdi-linux-complete-2.9.2+2.9.2/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory/usr/src/asterisk/dahdi-linux-complete-2.9.2+2.9.2/linux/drivers/dahdi/firmware’
make[2]: Leaving directory /usr/src/asterisk/dahdi-linux-complete-2.9.2+2.9.2/linux/drivers/dahdi/firmware' **You do not appear to have the sources for the 2.6.32-696.10.1.el6.x86_64 kernel installed**. make[1]: *** [modules] Error 1 make[1]: Leaving directory/usr/src/asterisk/dahdi-linux-complete-2.9.2+2.9.2/linux’
make: *** [all] Error 2
[root@fa35b4f5524e dahdi-linux-complete-2.9.2+2.9.2]#

as checked i have instead the kernels and verified but still iam getting the You do not appear to have the sources for the 2.6.32-696.10.1.el6.x86_64 kernel installed

Can anyone can help on this ?

You need the header files, perhaps

https://centos.pkgs.org/6/centos-updates-x86_64/kernel-headers-2.6.32-696.10.1.el6.x86_64.rpm.html

Isn’t there an “asterisk-devel” package that needs to be installed? I remember writing up instructions for something like this with chan-sccp-b code.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.