You are not logged in.

#1 2013-12-21 02:17:13

JJJollyjim
Member
Registered: 2013-07-28
Posts: 21

Error compiling b43 module

Hi all,

I've just installed on a Macbook Pro 9,2. The (rather sparse) install instructions tell me to grab https://www.kernel.org/pub/linux/kernel … -5.tar.bz2, and then:

 
$ scripts/driver-select b43
$ make
$ sudo make install

In the make step, this is outputted:

make -C /lib/modules/3.12.3-1-ARCH/build M=/home/jamie/compat-drivers-2013-03-28-5 modules
make[1]: *** /lib/modules/3.12.3-1-ARCH/build: No such file or directory.  Stop.
Makefile:103: recipe for target 'modules' failed
make: *** [modules] Error 2

It seems that I have:
/lib/modules/3.12.5-1-ARCH/build
But not:
/lib/modules/3.12.3-1-ARCH/build

Do I need to download a different version of b43, or something like that?

Thanks!

Offline

#2 2013-12-21 02:21:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Error compiling b43 module

What's the output of

uname -r
pacman -Q linux

Offline

#3 2013-12-21 02:25:03

JJJollyjim
Member
Registered: 2013-07-28
Posts: 21

Re: Error compiling b43 module

3.12.3-1-ARCH

and

linux 3.12.3-1

Offline

#4 2013-12-21 02:27:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Error compiling b43 module

That's interesting.
You should be using linux 3.12.5-1. Can you update your system w/o the b43 module? If so, update, reboot and try compiling again.



Edit: I think you get the error because you don't have linux-headers installed.

Last edited by karol (2013-12-21 02:31:53)

Offline

#5 2013-12-21 02:35:58

JJJollyjim
Member
Registered: 2013-07-28
Posts: 21

Re: Error compiling b43 module

Whoops. Updated, restarted, kernel panicked.

imgur.com/5SojrqI

I take it I'm reinstalling now.

Offline

#6 2013-12-21 02:42:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Error compiling b43 module

No idea why that happened. Are you using lz4 compression for the kernel image? https://bugs.archlinux.org/task/38205
If so, no need to reinstall, use a liveCD/liveUSB and chroot.

Offline

Board footer

Powered by FluxBB