Error compiling Broadcom factory wl.ko driver

Attempting to compile the latest Broadcom wl.ko STA driver but the compiler crashes and says

fatal error: asm/system.h: No such file or directory

I installed Kernel Development Modules during upgrade form 12.1 to 12.2
I know that system.h is a compiler include but I’m stumped as to where to get
it to install. I would have thought all the includes would have been installed
with the Kernel Development Modules during the upgrade…

Have you tried from Packman
Install Broadcom Drivers from Packman - Blogs - openSUSE Forums

On 09/19/2012 09:26 PM, glenlivet100 wrote:
>
> Attempting to compile the latest Broadcom wl.ko STA driver but the
> compiler crashes and says
>
> fatal error: asm/system.h: No such file or directory

This is not a compiler crash. It is an error in the source that the compiler is
trying to compile. That file was moved.

> I installed Kernel Development Modules during upgrade form 12.1 to 12.2
> I know that system.h is a compiler include but I’m stumped as to where
> to get
> it to install. I would have thought all the includes would have been
> installed
> with the Kernel Development Modules during the upgrade…

Broadcom needs to update their driver to conform with changes in the kernel API.
After all, the 3.4-kernel changes were applied nearly 9 months ago.

Use the wl driver from Packman.

And of course, it’s possible you may not even need ‘wl’
And that b43 would work

Unfortunately I’ve been down all those bcm43 and packman wl roads and the only driver that worked on my HP was the Broadcom Factory STA driver.
Apparently now with the new kernel, even that’s a looser. The wl.ko program source is provided in C. Where is system.h now located and I will edit the source
so the compiler can find it.
As the Broadcom folks really don’t want to play nice with the Linux folks- when it comes time to replace the HP,
and we’re almost there anyway, the presence of a Broadcom Wi-Fi card is going to negatively impact my buying decision.

@glenlivet100

I know I am repeating myself but …

on an HP-625, to get wireless working, all I did was to blacklist b43 in file
/etc/modprobe.d/50-blacklist.conf

after reboot the following were loaded automatically and the wireless worked
fine

> lsmod |grep brcmsmac
        brcmsmac              568774  0 
        mac80211              599292  1 brcmsmac
        brcmutil               14755  1 brcmsmac
        cfg80211              214372  2 brcmsmac,mac80211
        cordic                 12535  1 brcmsmac
        bcma                   40177  1 brcmsmac

if it does not help, sorry for wasting your time