On Mar 20, 2018, at 10:01 PM, Michael Shell <[email protected]> wrote:

On Tue, 20 Mar 2018 20:46:31 +0000 (GMT)
Hans Malissa <[email protected]> wrote:


and then the build stops. I tried to read up on that error message, and it
seems like it's related to the kernel version - the driver was prepared
for an earlier version of linux
(https://github.com/NixOS/nixpkgs/issues/27607 ). But I can't seem to
find any specific information about how to fix this.


Hans,

At the URL you gave, it is stated that they fixed the problem:
"Probably requires some backports from master like daf6744 and c71233f"
followed later by
"Fixed by backporting those two commits and testing build."

Those fixes are in patches here:

https://github.com/NixOS/nixpkgs/tree/c71233f12cb976b259e88ee4300687df26e5377d/pkgs/os-specific/linux/broadcom-sta

Click on a patch, then select raw and copy and paste the text.
They apply all the patches in this order:

i686-build-failure.patch
license.patch
linux-4.7.patch
linux-4.8.patch
linux-4.11.patch
linux-4.12.patch
null-pointer-fix.patch
gcc.patch

You may, or may not, want the license patch - with it you will likely see
something like "wl: module license 'MIXED/Proprietary' taints kernel"
in the kernel logs.

Do let us know if the patches do the trick.


Cheers,

Mike Shell


--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

That did the trick, thanks a lot! Looks like I just didn't understand what was 
written on that page correctly.
Actually, I even found a linux 4.15 patch on 
https://aur.archlinux.org/packages/broadcom-wl/
I'm now using my BCM4322 using the 'wl' module with NetworkManager, and it 
works great! 
Thanks for your help.

Hans
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to