On Mon, 2009-09-07 at 12:32 -0700, Akemi Yagi wrote:
On Mon, Sep 7, 2009 at 12:02 PM, Andrew Allenandy.allen@virgin.net wrote:
Trying to install the driver for my bcm4311 wireless card, I've downloaded the driver package from
http://www.broadcom.com/support/802.11/linux_sta.php
and followed the instructions in the readme file, untared it in the directory hybrid_wl. When I try to build the LKM using # make -C/lib/modules/2.6.18-8.el5/build M='pwd' I get the error message make: *** /lib/modules/2.6.18-8.el5/build: No such file or directory. Stop. Any ideas as to what I'm doing wrong please?
First make sure you have the kernel-devel package that *matches* your running kernel.
Then try:
make -C/lib/modules/`uname -r`/build M='pwd'
Thanks, Yum installed kernel-devel.i686 0:2.6.18-128.7.1.el5 OK
# cd /lib/modules/`uname -r`/ gets to directory OK and # dir gives build modules.dep modules.pcimap updates extra modules.ieee1394map modules.seriomap weak-updates kernel modules.inputmap modules.symbols modules.alias modules.isapnpmap modules.usbmap modules.ccwmap modules.ofmap source
# ls -la build gives lrwxrwxrwx 1 root root 42 Nov 4 2007 build -> ../../../usr/src/kernels/2.6.18-8.el5-i686
Is this OK?
so when I type hybrid_wl]# make -C/lib/modules/`uname -r`/build M='pwd'
why am I still getting
make: *** /lib/modules/2.6.18-8.el5/build: No such file or directory. Stop.
Any suggestions gratefully received, Andy