Public bug reported:

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-source:
  Installed: 5.100.82.112+bdcom-0ubuntu1
  Candidate: 5.100.82.112+bdcom-0ubuntu1
  Version table:
 *** 5.100.82.112+bdcom-0ubuntu1 0
        100 /var/lib/dpkg/status
     5.100.82.38+bdcom-0ubuntu6.1 0
        500 http://debian.informatik.uni-erlangen.de/ubuntu/ 
precise-updates/restricted i386 Packages
     5.100.82.38+bdcom-0ubuntu6 0
        500 http://debian.informatik.uni-erlangen.de/ubuntu/ precise/restricted 
i386 Packages

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.100.82.112+bdcom DKMS files...
Building for 3.2.0-26-generic and 3.4.4-030404-generic
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/3.2.0-26-generic/updates/dkms/

depmod....

DKMS: install completed.
Building initial module for 3.4.4-030404-generic
ERROR (dkms apport): kernel package linux-headers-3.4.4-030404-generic is not 
supported
Error! Bad return status for module build on kernel: 3.4.4-030404-generic (i686)
Consult /var/lib/dkms/bcmwl/5.100.82.112+bdcom/build/make.log for more 
information.
update-initramfs: deferring update (trigger activated)
savvas@savvas-netbook:~/Desktop$ cat 
/var/lib/dkms/bcmwl/5.100.82.112+bdcom/build/make.log
DKMS make.log for bcmwl-5.100.82.112+bdcom for kernel 3.4.4-030404-generic 
(i686)
Mon Jul  2 13:16:56 CEST 2012
make: Entering directory `/usr/src/linux-headers-3.4.4-030404-generic'
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
  LD      /var/lib/dkms/bcmwl/5.100.82.112+bdcom/build/built-in.o
  CC [M]  /var/lib/dkms/bcmwl/5.100.82.112+bdcom/build/src/shared/linux_osl.o
  CC [M]  /var/lib/dkms/bcmwl/5.100.82.112+bdcom/build/src/wl/sys/wl_linux.o
/var/lib/dkms/bcmwl/5.100.82.112+bdcom/build/src/wl/sys/wl_linux.c:43:24: fatal 
error: asm/system.h: No such file or directory
compilation terminated.
make[1]: *** 
[/var/lib/dkms/bcmwl/5.100.82.112+bdcom/build/src/wl/sys/wl_linux.o] Error 1
make: *** [_module_/var/lib/dkms/bcmwl/5.100.82.112+bdcom/build] Error 2
make: Leaving directory `/usr/src/linux-headers-3.4.4-030404-generic'

The solution was to apply a similar patch from comment #6 on bug
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-
drivers/+bug/993506

#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.

** Affects: bcmwl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1020059

Title:
  [quantal] 5.100.82.112+bdcom-0ubuntu1 - wl_linux.c:43:24: fatal error:
  asm/system.h: No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1020059/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to