Error! Bad return status for module build on kernel bcmwl bdcom in bcmwl-kernel-source package

Bug #1371654 reported by martin suchanek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bcmwl (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

Error within recompiling kernel module:

DKMS make.log for bcmwl-6.30.223.248+bdcom for kernel 3.17.0-031700rc5-generic (x86_64)
Fri Sep 19 17:07:55 CEST 2014
make: Entering directory '/usr/src/linux-headers-3.17.0-031700rc5-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/built-in.o
  CC [M] /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/shared/linux_osl.o
  CC [M] /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_linux.o
/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_linux.c: In function ‘wl_alloc_linux_if’:
/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_linux.c:1316:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
  dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
                                                                ^
/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_linux.c:1316:8: error: ‘alloc_netdev’ undeclared (first use in this function)
  dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
        ^
/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_linux.c:1316:8: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:257: recipe for target '/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_linux.o' failed
make[1]: *** [/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_linux.o] Error 1
Makefile:1373: recipe for target '_module_/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build' failed
make: *** [_module_/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build] Error 2
make: Leaving directory '/usr/src/linux-headers-3.17.0-031700rc5-generic'

apt-cache policy bcmwl-kernel-source:
bcmwl-kernel-source:
  Installed: 6.30.223.248+bdcom-0ubuntu1
  Candidate: 6.30.223.248+bdcom-0ubuntu1
  Version table:
 *** 6.30.223.248+bdcom-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ utopic/restricted amd64 Packages
        100 /var/lib/dpkg/status

lsb_release -rd
Description: Ubuntu Utopic Unicorn (development branch)
Release: 14.10

Thank You,
Kind Reagrds,
Martin

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1358966, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.