RT 2870

I am using an rt2870 wireless usb dongle and I am having trouble compiling the driver from source. I keep getting the /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory. Looking through the README_STA file I believe my problem is that I need to change the LINUX_SRC path in the Makefile but I don’t know what to change it to. Would anyone happen to know what the LINUX_SRC path is/what I would need to change it to? Thanks for your help.

I got the LINUX_SRC part figured out but now it quits with the following error

/home/samsnotunix/Download/2009_0820_RT2870_Linux_STA_V2.2.0.0/include/os/rt_linux.h:1089:41: error: missing binary operator before token "("
make[2]: *** [/home/samsnotunix/Download/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux/../../common/crypt_md5.o] Error 1
make[1]: *** [_module_/home/samsnotunix/Download/2009_0820_RT2870_Linux_STA_V2.2.0.0/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31.5-0.1'
make: *** [LINUX] Error 2

Is this the driver for an RTL8185 chip? I have that loaded in ndiswrapper, along with 2 other drivers. But, if it is the driver for RTL8185, that chip is a nightmare. It has stopped my pc from booting.