1

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?

Rinzwind
  • 309,379

1 Answers1

1

It appears that there is a space in the name:

~/Downloads/Drivers/Broadcom BCM4352/Broadcom

Linux and, especially 'make' is troubled by spaces. Please rename the file to something like:

~/Downloads/Drivers/Broadcom_BCM4352/Broadcom

Then try again:

cd ~/Downloads/Drivers/Broadcom_BCM4352/Broadcom
make
sudo make install

I assume that you are compiling this driver because you are having trouble with your wireless. I suspect this driver will not solve it. After it is installed and you reboot, please start a new question to tell us the specific problem you are having.

chili555
  • 61,330