← Back to team overview

kernel-packages team mailing list archive

[Bug 1371654] Re: Error! Bad return status for module build on kernel bcmwl bdcom in bcmwl-kernel-source package

 

*** This bug is a duplicate of bug 1358966 ***
    https://bugs.launchpad.net/bugs/1358966

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.


** This bug has been marked a duplicate of bug 1358966
   bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu1: bcmwl kernel module failed to build [error: macro "alloc_netdev" requires 4 arguments, but only 3 given]

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bcmwl in Ubuntu.
https://bugs.launchpad.net/bugs/1371654

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

Status in “bcmwl” package in Ubuntu:
  New

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

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


References