Ask Your Question


asked 2015-12-23 10:19:53 -0500

Andrei Costache gravatar image

updated 2016-01-17 07:00:26 -0500

mether gravatar image

Hello Guys,

I have a problem compiling the (proprietary) BCM4360 driver from Broadcom. (ASUS PCE-AC68 WiFi board)

So, the story is: I was able to build and install this driver back when kernel version 4.2.6-300 was the latest kernel available. I did it by following the steps in this location (I did not run the script, but did pretty much the same steps):

In the mean time, a new kernel version appeared (via updates): 4.2.7-300, and with this kernel version the STA driver will no longer build: when I "make" or "clean" I get the following output:

[acostache@localhost hybrid-v35_64-nodebug-pcoem-6_30_223_271]$ make KBUILD_NOPEDANTIC=1 make -C /lib/modules/uname -r/build M=pwd make[1]: Entering directory '/usr/src/kernels/4.2.8-300.fc23.x86_64' Makefile:659: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler make[1]: * No rule to make target '4.2.8-wireless/hybrid-v35_64-nodebug-pcoem-6_30_223_271'. Stop. make[1]: Leaving directory '/usr/src/kernels/4.2.8-300.fc23.x86_64' Makefile:159: recipe for target 'all' failed make: * [all] Error 2

I checked my GCC version; it is 5.3.1, and therefore should support this option "fstack-protector-strong"; but it seems it does not. This used to work on the previous kernel 4.2.6-300. (i installed the now latest 4.2.8-300, but it still does not work; also, I think there have been some updates to libc family of packages, but they all came via regular updates, I did not mess with them in any way)

So, now I am stuck with Kernel 4.2.6-300 which has a functional wifi installed; and with 4.2.8 where the wifi module would not build.

Does anybody out there know what I should do now to get the wifi working on the latest kernel?

edit retag flag offensive close merge delete


Hello guys,

So far I see that nobody has an answer. Also, I was not able to figure it out by myself (I'm quite new at this). Could anyone maybe at least point me in the right direction where to ask the question someplace else where I am more likely to get assistance?

Thanks, Andrei

Andrei Costache gravatar imageAndrei Costache ( 2015-12-28 08:06:22 -0500 )edit

I tried reinstalling GCC (sudo dnf reinstall gcc) and GCC got reinstalled, but the driver will still not build. Also, I have rebooted the computer with kernel 4.2.6-300 and tried to rebuild the driver there (it worked once some time ago when I was able to make it run), but now it does not build anymore with that kernel either.

Andrei Costache gravatar imageAndrei Costache ( 2015-12-28 14:05:48 -0500 )edit

Well, installed akmod-wl from rpm-fusion and it installed properly, and now I am writing this message while being connected wirelessly to my home network. So wifi problem solved, CC_STACK_PROTECTOR_STRONG problem not solved. I am positive that the driver correctly compiled for kernel 4.2.6-300. So, there must be something that went wrong with the update process of the kernels or GCC/glibc packages, because now it does not build anymore, with any kernel, for a reason that makes no sense: -fstack-protector-strong compiler option is supported by GCC starting from version 4.9, and I have 5.3.1.

Andrei Costache gravatar imageAndrei Costache ( 2015-12-28 14:16:45 -0500 )edit

I just tried to do the make in the /opt folder, like you did. I had to do it as root (sudo) but you are right, this time it compiled and generated the wl.ko kernel module as expected. I dare not try to load the module, as right now I have a working wireless (akmod-wl) and I would like to avoid to mess something up.

So, problem now even more solved: we manage to compile without errors.

But still what is open is: why the problem in the first place? Why does it happen after updates of gcc (in both our cases)? Is this maybe a bug? Where to report it? (Fedora bug? gcc bug? ...) Anyone has an idea

Andrei Costache gravatar imageAndrei Costache ( 2016-01-06 07:38:27 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-01-16 03:46:15 -0500

Andrei Costache gravatar image

Hello guys,

I tried the "make" after the recent upgrade to kernel 4.3.3 which also came with some updates to glibc, and other libs used by gcc.

Now it builds, even from my local home directory. So, I must assume that this was some regression either from the kernel or gcc related packages, which got quietly fixed in the meantime.

For me, topic closed.

edit flag offensive delete link more

answered 2016-01-04 11:59:48 -0500

@Andrei Costache: I had the same problem after updating Fedora & GCC with my official Asus wifi driver. It worked for me to extract (and run) the driver in /opt/wifi, rather than /home/myuser/etc...

I am a Linux noob, so I don't have an technical explanation why MAKE worked in the opt folder rather than a personal folder.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-12-23 10:19:53 -0500

Seen: 1,343 times

Last updated: Jan 16 '16