I have been trying to use this card in kali linux for while now. I have followed many tutorial, all without success. The last one i found and the most promising one for me was at https://forums.kali.org/showthread.p...ry-frustrating. Everything works fine until I run make, at which point i get:

Code:
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-headers-3.18.0-kali3-amd64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
/usr/src/linux-headers-3.18.0-kali3-common/scripts/Makefile.build:397: *** missing separator.  Stop.
make[3]: *** [_module_/root/Desktop/drivers/d#3/broadcom-wl] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.18.0-kali3-amd64'
make: *** [all] Error 2
I have also tryed using the driver supplied by broadcom at https://www.broadcom.com/support/802.11/linux_sta.php.
After I run make i get:


Code:
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-headers-3.18.0-kali3-amd64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD      /root/Desktop/drivers/hybrid_wl/built-in.o
  CC [M]  /root/Desktop/drivers/hybrid_wl/src/shared/linux_osl.o
  CC [M]  /root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.o
/root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.c: In function ‘wl_alloc_linux_if’:
/root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.c:1310:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
/root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.c:1310:8: error: ‘alloc_netdev’ undeclared (first use in this function)
/root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.c:1310:8: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [/root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make[3]: *** [_module_/root/Desktop/drivers/hybrid_wl] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.18.0-kali3-amd64'
make: *** [all] Error 2
Can anyone help?