Dahdi Kernel Module

Home » Asterisk Users » Dahdi Kernel Module
Asterisk Users 2 Comments

Does anyone know if there are any plans to update the dahdi-linux kernel module code? It no longer compiles with recent kernels, and the last release of dahdi-linux appears to have been around March of 2016. I am currently running 4.6.3-300.fc24.x86_64 (on a Fedora system obviously) and the dahdi-linux-complete-2.11.1+2.11.1 release builds and runs under this kernel, but if I try to build it under any Fedora kernel more recent than this, I get:

[root@worldsys dahdi-linux-master]# make make -C drivers/dahdi/firmware firmware-loaders make[1]: Entering directory
make[1]: Leaving directory
make -C /lib/modules/4.11.12-100.fc24.x86_64/build SUBDIRS=/local/src/dahdi-linux-master/drivers/dahdi DAHDI_INCLUDE=/local/src/dahdi-linux-master/include DAHDI_MODULES_EXTRA=” ”
HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[1]: Entering directory ‘/usr/src/kernels/4.11.12-100.fc24.x86_64’
CC [M] /local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.o
/local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.c: In function
/local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.c:5954:7: error:
implicit declaration of function ‘signal_pending’
if (signal_pending(current)) {
cc1: some warnings being treated as errors scripts/Makefile.build:294: recipe for target
‘/local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.o’ failed make[2]: *** [/local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.o]
Error 1
Makefile:1496: recipe for target
‘_module_/local/src/dahdi-linux-master/drivers/dahdi’ failed make[1]: *** [_module_/local/src/dahdi-linux-master/drivers/dahdi] Error 2
make[1]: Leaving directory ‘/usr/src/kernels/4.11.12-100.fc24.x86_64’

(This particular run was using the master download from github, but the results are the same if I try to build the 2.11.1+2.11.1 release from Digium’s downloads site).

If I can’t find a way around this, my only options are to junk a $600
telephony card (I shudder to think how much it would cost to replace it now with one that has a maintained driver) or keep running a non-updateable kernel.


2 thoughts on - Dahdi Kernel Module