I'am trying to reinstall bcmwl-kernel-source and I get the usual errors:

--------------------------------------------------------------------------------------------------------------------------
u...@entertainment:~$ sudo aptitude reinstall bcmwl-kernel-source
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initialising package states... Done
The following packages will be REINSTALLED:
  bcmwl-kernel-source 
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not 
upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ...
Removing old bcmwl-5.60.48.36+bdcom DKMS files...

------------------------------
Deleting module version: 5.60.48.36+bdcom
completely from the DKMS tree.
------------------------------
Done.
Loading new bcmwl-5.60.48.36+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 2.6.34-020634rc6-generic
Building for architecture i686
Building initial module for 2.6.34-020634rc6-generic

Error! Bad return status for module build on kernel: 2.6.34-020634rc6-generic 
(i686)
Consult the make.log in the build directory
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/ 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-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ...
Removing old bcmwl-5.60.48.36+bdcom DKMS files...

------------------------------
Deleting module version: 5.60.48.36+bdcom
completely from the DKMS tree.
------------------------------
Done.
Loading new bcmwl-5.60.48.36+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 2.6.34-020634rc6-generic
Building for architecture i686
Building initial module for 2.6.34-020634rc6-generic

Error! Bad return status for module build on kernel: 2.6.34-020634rc6-generic 
(i686)
Consult the make.log in the build directory
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/ 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-kernel-source
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initialising package states... Done
--------------------------------------------------------------------------------------------------------------------------

then I looked at the make.log and I see the following:

DKMS make.log for bcmwl-5.60.48.36+bdcom for kernel 2.6.34-020634rc6-generic 
(i686)
Mon May 31 21:47:59 ICT 2010
make: Entering directory `/usr/src/linux-headers-2.6.34-020634rc6-generic'
  LD      /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/built-in.o
  CC [M]  /var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/shared/linux_osl.o
In file included from 
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/shared/linux_osl.c:19:
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/include/linuxver.h:23:28: error: 
linux/autoconf.h: No such file or directory
make[1]: *** 
[/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/src/shared/linux_osl.o] Error 1
make: *** [_module_/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.34-020634rc6-generic'

It seems that the problem is in the autoconf.h file but I don't know how
to handle it. Should I remove this line from the linuxver.h?

-- 
package bcmwl-kernel-source 5.60.48.36 bdcom-0ubuntu3 failed to 
install/upgrade: bcmwl kernel module failed to build
https://bugs.launchpad.net/bugs/584753
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to