Make: error: implicit declaration of functions (on 3.16 kernel versions)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
r8168 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Situation: testing machine with multiple (developer/
# uname -a
Linux ubuntu 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
# apt-get install r8168-dkms
...
Building initial module for 3.16.0-999-generic
ERROR (dkms apport): kernel package linux-headers-
Error! Bad return status for module build on kernel: 3.16.0-999-generic (x86_64)
Consult /var/lib/
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.
My guess is that when running newer not yet released kernels like 3.16.0-031600rc6 or mainline 3.16.0-999 that compiler warnings are treated as errors.
I hope the upsteam r8168 driver code will be fixed to remove any warnings, like:
# cat /var/lib/
DKMS make.log for r8168-8.037.00 for kernel 3.16.0-999-generic (x86_64)
Fri Aug 29 14:21:47 CEST 2014
make: Entering directory `/usr/src/
LD /var/lib/
CC [M] /var/lib/
/var/lib/
/var/lib/
SET_
^
/var/lib/
/var/lib/
PREPARE_
^
cc1: some warnings being treated as errors
make[1]: *** [/var/lib/
make: *** [_module_
make: Leaving directory `/usr/src/
Status changed to 'Confirmed' because the bug affects multiple users.