[quantal] 5.100.82.112+bdcom-0ubuntu1 - wl_linux.c:43:24: fatal error: asm/system.h: No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bcmwl (Ubuntu) |
Fix Released
|
High
|
Alberto Milone | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A rather weird way to try the bug, but **I think it affects quantal** as well (as system.h doesn't exist anymore) -- that's why I'm reporting it as a bug.
I installed the latest ubuntu 3.4.4 on ubuntu 12.04 (from kernel mainline ppa) and the package bcmwl-kernel-source from ubuntu quantal repositories:
$ apt-cache policy bcmwl-kernel-source
bcmwl-kernel-
Installed: 5.100.82.
Candidate: 5.100.82.
Version table:
*** 5.100.82.
100 /var/lib/
5.
500 http://
5.
500 http://
This happened when I installed/tried to reconfigure the package:
$ sudo dpkg-reconfigure bcmwl-kernel-source Removing all DKMS Modules
Done.
Loading new bcmwl-5.
Building for 3.2.0-26-generic and 3.4.4-030404-
Building for architecture i686
Building initial module for 3.2.0-26-generic
Done.
wl:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
depmod....
DKMS: install completed.
Building initial module for 3.4.4-030404-
ERROR (dkms apport): kernel package linux-headers-
Error! Bad return status for module build on kernel: 3.4.4-030404-
Consult /var/lib/
update-initramfs: deferring update (trigger activated)
savvas@
DKMS make.log for bcmwl-5.
Mon Jul 2 13:16:56 CEST 2012
make: Entering directory `/usr/src/
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
LD /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
/var/lib/
compilation terminated.
make[1]: *** [/var/lib/
make: *** [_module_
make: Leaving directory `/usr/src/
The solution was to apply a similar patch from comment #6 on bug https:/
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
#include <asm/system.h>
#endif
Again, I believe that this affects normal quantal installations, that's why I'm reporting it.
Changed in bcmwl (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
status: | New → Triaged |
importance: | Undecided → High |
Changed in bcmwl (Ubuntu Precise): | |
status: | New → Fix Committed |
This bug was fixed in the package bcmwl - 5.100.82. 112+bdcom- 0ubuntu2
--------------- 82.112+ bdcom-0ubuntu2) quantal; urgency=low
bcmwl (5.100.
* 0004-Add- support- for-Linux- 3.2.patch: dkms.conf. in:
- Make sure the patch can always be applied.
* debian/
- Always apply all patches (LP: #1020059).
-- Alberto Milone <email address hidden> Thu, 05 Jul 2012 13:20:00 +0200