antoineco / broadcom-wl

Broadcom Linux hybrid wireless driver (64-bit)
https://www.broadcom.com/support/download-search?pg=Wireless+Embedded+Solutions+and+RF+Components&pf=Legacy+Wireless&pa=Driver&dk=BCM4312&l=true
163 stars 47 forks source link

Make compilation fail on Ubuntu 22.04.3 LTS #39

Closed moi15moi closed 11 months ago

moi15moi commented 11 months ago

I don't know a lot about compilation. I just installed Ubuntu 22.04.3 LTS.

I installed gcc and make.

Then, I runned the command sudo make, but I get this error (it is in french, if you need it in english, tell me)

moi15moi@moi15moi-System-Product-Name:/media/moi15moi/UBUNTU 22_0/broadcom-wl-patch-linux4.7$ sudo make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1] : on entre dans le répertoire « /usr/src/linux-headers-6.2.0-26-generic »
make[1]: *** Aucune règle pour fabriquer la cible « 22_0/broadcom-wl-patch-linux4.7 ». Arrêt.
make[1] : on quitte le répertoire « /usr/src/linux-headers-6.2.0-26-generic »
make: *** [Makefile:159 : all] Erreur 2

How can I make it work, so I can install this package?

moi15moi commented 11 months ago

Finally, I just moved the folder from my usb stick to the ubuntu hard drive and it work

moi15moi commented 11 months ago

I think it didn't compile when I was on my usb key because I was in a folder that contained spaces.