DAHDI drivers not installing

I’m been having trouble getting dahdi to function on freepbx 13, centos 7. On recompiling the source I found the following error, well several such errors:

make all
make -C linux all
make[1]: Entering directory /usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware’
make[2]: Leaving directory `/usr/src/dahdi-linux-complete-2.11.1+2.11.1/linux/drivers/dahdi/firmware’
You do not appear to have the sources for the 3.10.0-327.10.1.el7.x86_64 kernel installed.
make[1]: *** [modules] Error 1

Can anyone throw some light on this please?

i think your kernel not matching with your dahdi drivers.

you must install the kernel-devel packages.

Thank you for the input. I did initially install the kernel-devel package as per the freepbx wiki guide. Anyhow I’ve decided to reinstall the lot from scratch using what appears to be a more detailed guide.

Right, installed centos 7 x86_64 and the update/tools. On installing DAHDI and running the following command, I get:

systemctl start dahdi
Failed to start dahdi.service: Unit dahdi.service failed to load: No such file or directory.

I’m getting the message that dahdi and its tools have installed

DAHDI installed successfully.

If you have not done so before, install the package


But still the dahdi service failed to load after running systemctl start dahdi