Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] Cannot compile driver for rt61 WLAN card - why?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
vit_user
Posts: 52
Joined: 2007-01-15 21:21
Location: Finland

[Solved] Cannot compile driver for rt61 WLAN card - why?

#1 Post by vit_user »

Hello,
trying to compile driver for ralink rt61 WLAN card in Etch. Having follow error:

Code: Select all

# make all
make -C /lib/modules/2.6.18-4-686/build SUBDIRS=/home/Temp/RT61_Linux_STA_Drv1.1.0.0/Module modules
make: *** /lib/modules/2.6.18-4-686/build: No such file or directory.  Stop.
make: *** [all] Error 2
What's wrong? I've installed kernel-package and linux-kernel headers
Last edited by vit_user on 2007-04-27 08:33, edited 1 time in total.

greenhat
Posts: 170
Joined: 2006-06-03 17:32

Re: Cannot compile driver for rt61 WLAN card - why?

#2 Post by greenhat »

Code: Select all

make: *** /lib/modules/2.6.18-4-686/build: No such file or directory.  Stop.
make: *** [all] Error 2
OK it seems your build dir doesn't exist. For me "build" is just a symlink to /usr/src/linux-headers-2.6.18-4-686 like so..

Code: Select all

$ ls -l /lib/modules/2.6.18-4-686/build

lrwxrwxrwx  1 root  root  35 Mar 30 18:54 /lib/modules/2.6.18-4-686/build -> /usr/src/linux-headers-2.6.18-4-686
I don't remember ever having to manually create the symlink , but anyway you can do it from terminal (as root)

Code: Select all

$ ln -s /usr/src/linux-headers-2.6.18-4-686 /lib/modules/2.6.18-4-686/build
and then try it. You should first verify that your linux-headers are really there.

vit_user
Posts: 52
Joined: 2007-01-15 21:21
Location: Finland

#3 Post by vit_user »

This was a problem: no linux-headers-2.6.18-4-686 has been installed.
Thanks for the help!

Post Reply