I'm trying to compile drivers for my Ralink RT2500 PCMCIA wireless card here are the instructions
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:
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.