The dahdi kernel module (used by asterisk for some Digium telephony cards,
including the one I have) is not included in Fedora because it is not free
software. The dahdi configuration tools are included, but not the kernel
module. The software is free as in beer, it can be downloaded and built,
and I have successfully done that in the past. However, the last time the
kernel module compiled successfully was back
at kernel-4.6.3-300.fc24.x86_64 . On all newer kernels that I have tried, I
get this:

[root@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'

It looks like some warnings are being treated as errors, such as an
implicit function declaration in this case. Is there a way I can turn that
off just long enough to get this module built? I'm stuck running a
non-updateable kernel until I can find a way around this. In my early
career I used to build stuff all the time, but it has been a while since I
have had to compile anything from source.

Thanks,
--Greg
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to