VectorLinux
April 18, 2014, 01:33:33 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Error compiling Ralink RT2500 drivers in VL 5.1 Std [Solved]  (Read 2242 times)
Ultra Magnus
Member
*
Posts: 11


« on: May 30, 2007, 05:54:29 pm »

I'm trying to create a symlink from /lib/modules/2.6.12/build to my kernel source directory (/usr/src/linux-2.6.12) in VL 5.1 Std.

I tried adding the following to my /etc/fstab file:

Code:
/lib/modules/2.6.12/build  /usr/src/linux-2.6.12  auto  defautls,user 0 0

which returned an error as /lib/modules/2.6.12/build is not a "block device".

all help much appreciated,
Ultra Magnus
« Last Edit: May 31, 2007, 11:20:43 am by Ultra Magnus » Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2503



« Reply #1 on: May 30, 2007, 06:00:14 pm »

ln -s /usr/src/linux-2.6.12 /lib/modules/2.6.12/build

that should do it for you
Logged
Ultra Magnus
Member
*
Posts: 11


« Reply #2 on: May 30, 2007, 06:16:25 pm »

thanks.

shame it didn't solve my bigger problem. oh well...

it's getting late, expect another post tomorrow  Smiley
Logged
Joe1962
Administrator
Vectorian
*****
Posts: 2498



WWW
« Reply #3 on: May 30, 2007, 06:48:35 pm »

shame it didn't solve my bigger problem. oh well...
Which is...?  Huh
Logged

O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10
Ultra Magnus
Member
*
Posts: 11


« Reply #4 on: May 31, 2007, 04:01:05 am »

I'm trying to compile drivers for my Ralink RT2500 PCMCIA wireless card here are the instructions

Quote
Compilation and Installation

  • Ensure that you have your current kernel sources expanded in the default directory (i.e. /usr/src/linux-2.x.x). We also recommend that the sources you have here are the ones you used to build your current running kernel.
  • Check that you have the Wireless Extensions built into your running kernel from the sources above. This option can be found in 'make menuconfig' under Network Device Support->Wireless LAN->Wireless LAN (non-hamradio).
  • Ensure you have a symlink from /lib/modules/2.x.x/build to that kernel source directory (i.e. symlink from /lib/modules/2.x.x/build ->
    /usr/src/linux-2.x.x)
  • Expand the rt2500 source package using tar -xzvf rt2500-x.x.x.tar.gz
  • Change into the rt2500-x.x.x/source folder
  • Run 'make'
  • Run 'make install'

However, when I run make, I get the following output:

Code:
make[1]: Entering directory `/usr/src/linux-2.6.12'

  WARNING: Symbol version dump /usr/src/linux-2.6.12/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /tmp/rt2500-1.1.0-b4/Module/rtmp_main.o
In file included from include/linux/if_ether.h:107,
                 from include/linux/netdevice.h:29,
                 from /tmp/rt2500-1.1.0-b4/Module/rt_config.h:69,
                 from /tmp/rt2500-1.1.0-b4/Module/rtmp_main.c:50:
include/linux/skbuff.h:30:26: net/checksum.h: No such file or directory
In file included from include/linux/if_ether.h:107,
                 from include/linux/netdevice.h:29,
                 from /tmp/rt2500-1.1.0-b4/Module/rt_config.h:69,
                 from /tmp/rt2500-1.1.0-b4/Module/rtmp_main.c:50:
include/linux/skbuff.h: In function `skb_add_data':
include/linux/skbuff.h:1065: warning: implicit declaration of function `csum_and_copy_from_user'
include/linux/skbuff.h:1069: warning: implicit declaration of function `csum_block_add'
include/linux/skbuff.h: In function `skb_postpull_rcsum':
include/linux/skbuff.h:1120: warning: implicit declaration of function `csum_sub'
include/linux/skbuff.h:1120: warning: implicit declaration of function `csum_partial'
make[2]: *** [/tmp/rt2500-1.1.0-b4/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/tmp/rt2500-1.1.0-b4/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12'
rt2500.ko failed to build!
make: *** [module] Error 1

I assume I'm either missing some of the Kernel Sources—this is what the rt2x00 forums seems to think (despite much research, I'm still don't know what they are)—or the VL Kernel doesn't have the Wireless Extensions.
Logged
easuter
Global Moderator
Vectorian
*****
Posts: 2160



« Reply #5 on: May 31, 2007, 10:41:57 am »

I don't think VectorLinux 5.1 ships with full kernel source code.
You will need to get the 2.6.12 linux source code and recompile the kernel.
Logged

Ultra Magnus
Member
*
Posts: 11


« Reply #6 on: May 31, 2007, 11:20:14 am »

in my quest for the 2.6.12 source I stumbled across a RT2500 package for VL 5.* bonus!

I'm now up and running on and, indeed, posting from VL Smiley

thanks for all the help guys.
Logged
]nbx*cmd[
Member
*
Posts: 8


« Reply #7 on: April 13, 2008, 11:06:49 am »

nice for u but, could you tell me where on earth is this package? not in the repos afik  Huh
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!