I have Toshiba Satellite L40-17R laptop with RealTek 8187b wireless card. I use ubuntu 8.04, which doesn't recognize the card. I tired to download rtl-wifi source to compile it, but it fails, giving me an error in the compilation saying:
make -C /lib/modules/2.6.24-16-generic/build M= modules
make: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
* CHK**** include/linux/version.h
* CHK**** include/linux/utsrelease.h
make: *** No rule to make target `arch/x86/kernel/asm-offsets.c', needed by `arch/x86/kernel/asm-offsets.s'.* Stop.