bcmwl-kernel-source fails to compile for 2.6.35 (works with 2.6.32)
Bug #729993 reported by
Simon Bridge
This bug report is a duplicate of:
Bug #580594: bcmwl kernel module failed to build (error: linux/autoconf.h: No such file or directory).
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bcmwl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Like bug #584180 only build essential and dkms-dev are installed
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: bcmwl-kernel-source 5.60.48.
ProcVersionSign
Uname: Linux 2.6.35-
Architecture: i386
Date: Sun Mar 6 16:53:51 2011
ErrorMessage: bcmwl kernel module failed to build
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
PackageVersion: 5.60.48.
SourcePackage: bcmwl
Title: package bcmwl-kernel-source 5.60.48.
To post a comment you must log in.
Investigating:
$ cat /var/lib/ dkms/bcmwl/ 5.60.48. 36+bdcom/ build/make. log 60.48.36+ bdcom for kernel 2.6.35- 25-generic- pae (i686) linux-headers- 2.6.35- 25-generic- pae' dkms/bcmwl/ 5.60.48. 36+bdcom/ build/built- in.o dkms/bcmwl/ 5.60.48. 36+bdcom/ build/src/ shared/ linux_osl. o dkms/bcmwl/ 5.60.48. 36+bdcom/ build/src/ shared/ linux_osl. c:19: dkms/bcmwl/ 5.60.48. 36+bdcom/ build/src/ include/ linuxver. h:23:28: [b]error: linux/autoconf.h: No such file or directory[/b] dkms/bcmwl/ 5.60.48. 36+bdcom/ build/src/ shared/ linux_osl. o] Error 1 /var/lib/ dkms/bcmwl/ 5.60.48. 36+bdcom/ build] Error 2 linux-headers- 2.6.35- 25-generic- pae'
DKMS make.log for bcmwl-5.
Sun Mar 6 17:13:38 NZDT 2011
make: Entering directory `/usr/src/
LD /var/lib/
CC [M] /var/lib/
In file included from /var/lib/
/var/lib/
make[1]: *** [/var/lib/
make: *** [_module_
make: Leaving directory `/usr/src/
Note error: this usually happens when the kernel header files are not installed - typical newbie mistake that I did not make.
$ uname -r 25-generic- pae
2.6.35-
Hmmmm.... /usr/src/ bcmwl-5. 60.48.36+ bdcom$ locate "autoconf.h" | grep "2.6.35" linux-headers- 2.6.35- 25-generic- pae/include/ generated/ autoconf. h
simon@envoy:
/usr/src/
Do I read this right: the build is looking for autoconf.h as
/usr/src/ linux-headers- 2.6.35- 25-generic- pae/linux/ autoconf. h
I don't see what is trying to look there so I can change it.
Note: this breaks the wireless for all installed kernels.