Hi,

I’m getting a failure to combile broadcom-sta-dkms package with latest Debian 
Stretch/kernel 4.13.

/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:2915:10: 
error: 'struct net_device' has no member named 'last_rx'
  skb->dev->last_rx = jiffies;


Can anyone suggest how this error could be fixed?

Thanks,
Karen


DKMS make.log for broadcom-sta-6.30.223.271 for kernel 4.13.0-0.bpo.1-686-pae 
(x86_64)
Tue Nov 21 07:36:28 UTC 2017
/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.13.0-0.bpo.1-686-pae/build M=`pwd`
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-0.bpo.1-686-pae'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_32
  AR      /var/lib/dkms/broadcom-sta/6.30.223.271/build/built-in.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/shared/linux_osl.o
  CC [M]  /var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In 
function 'wl_pci_probe':
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:774:2: 
warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if ((val & 0x0000ff00) != 0)
  ^~
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:776:3: 
note: ...this statement, but the latter is misleadingly indented as if it is 
guarded by the 'if'
   bar1_size = pci_resource_len(pdev, 2);
   ^~~~~~~~~
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c: In 
function 'wl_monitor':
/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.c:2915:10: 
error: 'struct net_device' has no member named 'last_rx'
  skb->dev->last_rx = jiffies;
          ^~
/usr/src/linux-headers-4.13.0-0.bpo.1-common/scripts/Makefile.build:307: recipe 
for target 
'/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o' failed
make[4]: *** 
[/var/lib/dkms/broadcom-sta/6.30.223.271/build/src/wl/sys/wl_linux.o] Error 1
/usr/src/linux-headers-4.13.0-0.bpo.1-common/Makefile:1529: recipe for target 
'_module_/var/lib/dkms/broadcom-sta/6.30.223.271/build' failed
make[3]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.271/build] Error 2
Makefile:145: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-0.bpo.1-686-pae'
Makefile:177: recipe for target 'all' failed
make: *** [all] Error 2

Reply via email to