broadcom-sta-dkms fails to build with linux-generic-lts-xenial

Bug #1606141 reported by Brian Candler on 2016-07-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
broadcom-sta (Ubuntu)

Bug Description

Trying to install package "broadcom-sta-dkms" on a Mac Mini running Ubuntu 14.04 with linux-generic-lts-xenial kernel (4.4.0) gives the following error:

Preparing to unpack .../dkms_2.2.0.3-1.1ubuntu5.14.04.6_all.deb ...
Unpacking dkms ( ...
Selecting previously unselected package broadcom-sta-dkms.
Preparing to unpack .../broadcom-sta-dkms_6.30.223.141-1_all.deb ...
Unpacking broadcom-sta-dkms ( ...
Processing triggers for man-db ( ...
Setting up dkms ( ...
Setting up broadcom-sta-dkms ( ...
Loading new broadcom-sta- DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-28-generic
Building initial module for 4.4.0-28-generic
Error! Bad return status for module build on kernel: 4.4.0-28-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/ for more information.

Contents of the referenced log file are:

DKMS make.log for broadcom-sta- for kernel 4.4.0-28-generic (x86_64)
Mon Jul 25 07:49:44 UTC 2016
/bin/sh: 1: [: Illegal number:
/bin/sh: 1: [: Illegal number:
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
KBUILD_NOPEDANTIC=1 make -C /lib/modules/4.4.0-28-generic/build M=/var/lib/dkms/broadcom-sta/
make[1]: Entering directory `/usr/src/linux-headers-4.4.0-28-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
  LD /var/lib/dkms/broadcom-sta/
  CC [M] /var/lib/dkms/broadcom-sta/
  CC [M] /var/lib/dkms/broadcom-sta/
/var/lib/dkms/broadcom-sta/ In function ‘wl_alloc_linux_if’:
/var/lib/dkms/broadcom-sta/ 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/broadcom-sta/ error: ‘alloc_netdev’ undeclared (first use in this function)
  dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
/var/lib/dkms/broadcom-sta/ note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/var/lib/dkms/broadcom-sta/] Error 1
make[1]: *** [_module_/var/lib/dkms/broadcom-sta/] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-28-generic'
make: *** [all] Error 2

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: broadcom-sta-dkms
ProcVersionSignature: Ubuntu 4.4.0-28.47~14.04.1-generic 4.4.13
Uname: Linux 4.4.0-28-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
Date: Mon Jul 25 07:51:10 2016
InstallationDate: Installed on 2014-07-16 (739 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
PackageArchitecture: all
SourcePackage: broadcom-sta
UpgradeStatus: No upgrade log present (probably fresh install)

Brian Candler (b-candler) wrote :
Brian Candler (b-candler) wrote :

Related to #1358966 (similar bug but for bcmwl-kernel-source, which *does* install correctly)

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

Other bug subscribers