Broadcom bcmwl driver failed to compile when upgrade to kernel 4.15.0-29 [error: implicit declaration of function ‘init_timer’]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bcmwl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
1) lsb-release -a
Distributor ID: neon
Description: KDE neon User Edition 5.13
Release: 16.04
Codename: xenial
2) apt-cache policy bcmwl-kernel-source
bcmwl-kernel-
Installed: 6.30.223.
Candidate: 6.30.223.
...
3) What you expected to happen
The new kernel installs and dkms modules compile normally
4) What happened instead
This error shows up when upgrade to kernel 4.15.0-29:
Processing triggers for linux-image-
/etc/kernel/
Error! Bad return status for module build on kernel: 4.15.0-29-generic (x86_64)
Consult /var/lib/
It seems there are some compilation errors in make.log:
CC [M] /var/lib/
/var/lib/
/var/lib/
rdlen = kernel_read(fp, fp->f_pos, buf, len);
In file included from ./include/
./include/
extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
^
/var/lib/
rdlen = kernel_read(fp, fp->f_pos, buf, len);
In file included from ./include/
./include/
extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
^
/var/lib/
rdlen = kernel_read(fp, fp->f_pos, buf, len);
In file included from ./include/
./include/
extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
^
CC [M] /var/lib/
/var/lib/
/var/lib/
init_
^
/var/lib/
t->timer.data = (ulong) t;
^
/var/lib/
t->timer.function = wl_timer;
cc1: some warnings being treated as errors
Status changed to 'Confirmed' because the bug affects multiple users.