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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org