[asterisk-users] dahdi kernel module

Greg Woods greg at gregandeva.net
Sun Jul 30 16:49:31 CDT 2017


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 at worldsys dahdi-linux-master]# make
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory
'/local/src/dahdi-linux-master/drivers/dahdi/firmware'
make[1]: Leaving directory
'/local/src/dahdi-linux-master/drivers/dahdi/firmware'
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
‘dahdi_ioctl_iomux’:
/local/src/dahdi-linux-master/drivers/dahdi/dahdi-base.c:5954:7: error:
implicit declaration of function ‘signal_pending’
[-Werror=implicit-function-declaration]
   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.

Thanks,
--Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170730/fd99f6da/attachment.html>


More information about the asterisk-users mailing list