I'm in the same boat. I really would like to get Kali linux setup on my laptop but I can't get the WIFI to work. Previously, I had Ubuntu running along side Win8 and under Ubuntu I had my BCM4352 working using the broadcom-sta package. I've tried to install that on Kali but it doesn't seem to install
I'm able to install the dkms and all linux headers just fine, so then I go for broadcom-sta-dkms and I get the below.
Code:
root@kali:~# apt-get install broadcom-sta-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
broadcom-sta-dkms
0 upgraded, 1 newly installed, 0 to remove and 48 not upgraded.
Need to get 2,208 kB of archives.
After this operation, 6,186 kB of additional disk space will be used.
Get:1 http://http.kali.org/kali/ kali/non-free broadcom-sta-dkms all 5.100.82.112-8 [2,208 kB]
Fetched 2,208 kB in 1s (2,114 kB/s)
Selecting previously unselected package broadcom-sta-dkms.
(Reading database ... 342965 files and directories currently installed.)
Unpacking broadcom-sta-dkms (from .../broadcom-sta-dkms_5.100.82.112-8_all.deb) ...
Setting up broadcom-sta-dkms (5.100.82.112-8) ...
Loading new broadcom-sta-5.100.82.112 DKMS files...
First Installation: checking all kernels...
Building only for 3.14-kali1-amd64
Building initial module for 3.14-kali1-amd64
Error! Bad return status for module build on kernel: 3.14-kali1-amd64 (x86_64)
Consult /var/lib/dkms/broadcom-sta/5.100.82.112/build/make.log for more information.
So, if I check out this make.log file.
Code:
root@kali:/var/lib/dkms/broadcom-sta/5.100.82.112/build# cat make.log
DKMS make.log for broadcom-sta-5.100.82.112 for kernel 3.14-kali1-amd64 (x86_64)
Sat Jun 21 17:19:41 UTC 2014
/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/3.14-kali1-amd64/build M=/var/lib/dkms/broadcom-sta/5.100.82.112/build
make[1]: Entering directory `/usr/src/linux-headers-3.14-kali1-amd64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
LD /var/lib/dkms/broadcom-sta/5.100.82.112/build/built-in.o
CC [M] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/shared/linux_osl.o
CC [M] /var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.o
/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c: In function ‘wl_tkip_printstats’:
/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2975:7: warning: passing argument 1 of ‘wl->tkipmodops->print_stats’ from incompatible pointer type [enabled by default]
/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2975:7: note: expected ‘struct seq_file *’ but argument is of type ‘char *’
/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2978:4: warning: passing argument 1 of ‘wl->tkipmodops->print_stats’ from incompatible pointer type [enabled by default]
/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:2978:4: note: expected ‘struct seq_file *’ but argument is of type ‘char *’
/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c: In function ‘wl_reg_proc_entry’:
/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3185:2: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3185:22: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3190:16: error: dereferencing pointer to incomplete type
/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3191:16: error: dereferencing pointer to incomplete type
/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.c:3192:16: error: dereferencing pointer to incomplete type
cc1: some warnings being treated as errors
make[4]: *** [/var/lib/dkms/broadcom-sta/5.100.82.112/build/src/wl/sys/wl_linux.o] Error 1
make[3]: *** [_module_/var/lib/dkms/broadcom-sta/5.100.82.112/build] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.14-kali1-amd64'
make: *** [all] Error 2
Saddly, I'm not clever enough to know how to fix this error. Is there a place that I should submit a bug for this error? I'm not too familure with with rules and policy here yet