I was trying to compile the latests driver v.6.30.223.271-2 published in Broadcom site, reading this post I try to compile the driver following:
http://askubuntu.com/a/652844
But I have an error message:
KBUILD_NOPEDANTIC=1 make -C /lib/modules/
uname -r/build M=
pwd
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-31-generic'
arch/x86/Makefile:148: CONFIG_X86_X32 enabled but no binutils support
Makefile:676: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
make[1]: *** No rule to make target 'BCM4352/Broadcom'. Stop.
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-31-generic'
Makefile:159: recipe for target 'all' failed
make: *** [all] Error 2
I try to disable fstack-protector-strong
scripts/config --disable CC_STACKPROTECTOR_STRONG
but have this message from terminal:
bash: scripts/config: No such file or directory
gcc version is 5.4.0 and have kernel 4.4.0-31-generic (Ubuntu 16.04 64 bits)
Essential (12.1ubuntu2) and Linux-headers (4.4.0.31.33) apparently installed OK. Also checked and confirmed driver is 64bits STA file: https://www.broadcom.com/support/802.11
I need another package to successful compile this driver?
arch
sudo dpkg -s build-essential
and also:sudo dpkg -s linux-headers-generic
If either is missing, install them and try again.chili@T440p:~/Downloads/bcmwl/hybrid-v35_64-nodebug-pcoem-6_30_223_271$