bcmwl kernel module failed to build (error: linux/autoconf.h: No such file or directory)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bcmwl (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
WORKAROUND:
This is for users of Ubuntu 10.04 who have upgraded their kernel, or users of Ubuntu 11.04 who have downgraded bcmwl to version 5.60.
If you have linux kernel 3.0 or later then this workaround will not be sufficient. Bug 830282 prevents bcmwl v5.60 from working on linux kernel >=v3.0.
Download and install the latest version of the bcmwl 5.60.* driver (from Ubuntu 10.10 updates):
i386: https:/
amd64: https:/
TEST CASE:
This is the test case for Ubuntu 10.04, which is still not fixed as of July 2011.
sudo apt-add-repository ppa:kernel-ppa/ppa && sudo apt-get update
sudo apt-get install linux-image-
sudo apt-get install bcmwl-kernel-source
You will get an error:
Error! Bad return status for module build on kernel: ...
Consult the make.log in the build directory ... for more information.
dpkg: error processing bcmwl-kernel-source (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
bcmwl-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Now verify:
$ grep error /var/lib/
/var/lib/
ORIGINAL BUG REPORT:
On 10.10 this error occurs when installing the 2.6.34-2 kernel
ProblemType: Package
DistroRelease: Ubuntu 10.10
Package: bcmwl-kernel-source 5.60.48.
ProcVersionSign
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri May 14 17:39:32 2010
ErrorMessage: bcmwl kernel module failed to build
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
PackageVersion: 5.60.48.
SourcePackage: bcmwl
Title: package bcmwl-kernel-source 5.60.48.
Related branches
Changed in bcmwl (Ubuntu): | |
status: | New → Confirmed |
summary: |
- bcmwl kernel module failed to build + bcmwl kernel module failed to build (error: linux/autoconf.h: No such + file or directory) |
tags: | added: patch |
description: | updated |
tags: | added: testcase |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
This patch fixes building on kernel ≥ 2.6.33. I’ve uploaded the patched package to my PPA <https:/ /launchpad. net/~anders- kaseorg/ +archive/ ppa>.