4

Running on kernel < 4.0 I used the precompiled bcmwl-kernel-source from the repository without any problems. Now I updated my Ubuntu 14.04.2 LTS to kernel 4.0.0-040000-generic where the package isn't supported yet. I found this bugreport where the author describes that there is a patched version for kernel 4.0 on github.

Unfortunately I'm unable to compile it via make all. It gives me the following error:

user@computer:~/Downloads/bcmwl-ubuntu$ make all
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Verzeichnis »/usr/src/linux-headers-4.0.0-040000-generic«
wird betreten CFG80211 API is prefered for this kernel version Using
CFG80211 API   LD     
/home/user/Downloads/bcmwl-ubuntu/built-in.o make[2]: *** Keine
Regel vorhanden, um das Target
»/home/user/Downloads/bcmwl-ubuntu/src/shared/linux_osl.o«,   
benötigt von »/home/user/Downloads/bcmwl-ubuntu/wl.o«, zu
erstellen.  Schluss. make[1]: ***
[_module_/home/user/Downloads/bcmwl-ubuntu] Fehler 2 make[1]:
Verzeichnis »/usr/src/linux-headers-4.0.0-040000-generic« wird
verlassen make: *** [all] Fehler 2

Can anybody please advice me how to compile it or tell what I'm doing wrong?

  • build-essential is version 11.6ubuntu6
  • Wifi-Card is a BCM4352 802.11ac Wireless Network Adapter

Thank you!

6
  • no sprechen ze deutsch @Fabby can you assist?
    – Elder Geek
    Apr 22, 2015 at 18:19
  • @ElderGeek Deutsch, warum?
    – A.B.
    Apr 22, 2015 at 18:25
  • @ElderGeek ah, I see
    – A.B.
    Apr 22, 2015 at 18:25
  • 2
    @lumen, use this command for an english output LANG=C and post the error message again, but not as quote but as code.
    – A.B.
    Apr 22, 2015 at 18:27
  • @lumen Have you downloaded an archive, if so, which one, or do you cloned the repository?
    – A.B.
    Apr 22, 2015 at 18:30

4 Answers 4

4

In the meantime i created a ppa where one can easily install a Kernel 4.0 compatible version of the bcmwl package on Ubuntu 14.04, 14.10 and 15.04.

sudo apt-add-repository ppa:longsleep/bcmwl
sudo apt-get update
sudo apt-get install bcmwl-kernel-source

So if you do not want to compile it yourself, grab it from there.

Check the ppa repository yourself at: https://launchpad.net/~longsleep/+archive/ubuntu/bcmwl

1
  • Absolutely fantastic - works perfectly on the Dell XPS13 Developer's Edition 2015 (9434, I think). I'd updated my Kernel to 4.0 to resolve trackpad issues on this laptop, but it's use of a Broadcom BCM4352 WIFI card really trips this up. Thanks!
    – Scaine
    Apr 28, 2015 at 17:57
3

The use of make is not right here. longsleep just revised the README:

Guys this repository is ubuntu packaging. So you should build the package and install it. It then builds the module with the kernel patches required for your particular kernel version. I See that the readme needs some work :-)


This should work:

First you need this package:

sudo apt-get install git-buildpackage

then change into bcmwl-ubuntu and start the package creation:

cd bcmwl-ubuntu
gbp buildpackage -b -uc -us

The deb package is a directory level above the build directory. E.G.:

../bcmwl-kernel-source_6.30.223.248+bdcom-1longsleep0_amd64.deb
3
  • 3
    Thanks - this looks good. README is updated now.
    – longsleep
    Apr 23, 2015 at 16:09
  • Thank you very much @A.B. and longsleep. With these instructions I was able to build and install the package successfully.
    – lumen
    Apr 23, 2015 at 18:41
  • This has been great, getting me wireless on 3.14, 3.18 and now 4.0.
    – earthmeLon
    May 4, 2015 at 20:38
-2

From https://askubuntu.com/a/613454/167385:

In the meantime i created a ppa where one can easily install a Kernel 4.0 compatible version of the bcmwl package on Ubuntu 14.04, 14.10 and 15.04.

sudo apt-add-repository ppa:longsleep/bcmwl sudo apt-get update sudo apt-get install bcmwl-kernel-source

So if you do not want to compile it yourself, grab it from there.

Check the ppa repository yourself at: https://launchpad.net/~longsleep/+archive/ubuntu/bcmwl

1
-3

You don't need to compile it, longsleep uploaded a deb file here

3
  • Thank you @Jeremy31, I'm going to try it. Nevertheless it would be interessting how it can be compiled.
    – lumen
    Apr 23, 2015 at 6:51
  • I am not sure what all the problems are at this time. It does say that /home/user/Downloads/bcmwl-ubuntu/src/shared/linux_osl.o is missing but it is actually in /home/user/Downloads/bcmwl-ubuntu/src/src/shared/linux_osl.o and if you do copy it into the correct directory, compiling it results in undeclared function errors
    – Jeremy31
    Apr 23, 2015 at 11:33
  • I do not even remember uplading this package here. You should not use it and rather build the package yourself. As there seems to be sudden interest in this package i will provide details asap.
    – longsleep
    Apr 23, 2015 at 15:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .