Re: compiling dahdi-linux kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/30/2017 01:54 PM, Greg Woods wrote:
/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

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.

That is a warning that generally indicates an error. You might be able to ignore that warning, but you will probably get a linking error further on. It's possible that that function has been changed. I don't see that function name in my /usr/include anywhere. Has the module source been kept up-to-date with the kernel? As Joe said, check with upstream. If they're going to supply a non-free kernel module, they'll have to deal with the problems.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux