[asterisk-users] dahdi kernel module

Anthony Joseph Messina amessina at messinet.com
Sun Jul 30 17:19:46 CDT 2017


On Sunday, July 30, 2017 4:49:31 PM CDT Greg Woods wrote:
> 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

https://issues.asterisk.org/jira/browse/DAHLIN-354

I've patched my builds here:
https://messinet.com/rpms/browser/dahdi-linux-kmod/dahdi-linux-kmod.spec

It looks like you're using F24, so you might be able to rebuild using the 
SRPMs https://messinet.com/pub/fedora/linux/updates/26/SRPMS/


-- 
Anthony - https://messinet.com/ - https://messinet.com/~amessina/gallery
F9B6 560E 68EA 037D 8C3D  D1C9 FF31 3BDB D9D8 99B6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170730/34a8c5b9/attachment.pgp>


More information about the asterisk-users mailing list