Trouble compiling driver for D-Link DWL-G122 USB wireless
I've been unable to get the driver for my D-Link DWL-G122 (rev B1) USB wireless card to work. I bought the driver just over a year ago, but the set of driver files has a makefile for the 2.6 kernel, so I'm hoping I can use it. (It has been working on Windows, and I just installed FC6.) My initial problems were due to missing FC6 packages, but now the errors seem to relate to the driver code:
make -C /lib/modules/2.6.19-1.2895.fc6/build SUBDIRS=/usr/src/modules/RT2500-Linux-STA-1.4.6.6/Module modules
make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686'
CC [M] /usr/src/modules/RT2500-Linux-STA-1.4.6.6/Module/rtmp_main.o
In file included from /usr/src/modules/RT2500-Linux-STA-1.4.6.6/Module/rtmp_main.c:38:
/usr/src/modules/RT2500-Linux-STA-1.4.6.6/Module/rt_config.h:62:40: error: linux/config.h: No such file or directory
/usr/src/modules/RT2500-Linux-STA-1.4.6.6/Module/rtmp_main.c: In function "RT2500_probe":
/usr/src/modules/RT2500-Linux-STA-1.4.6.6/Module/rtmp_main.c:181: error: "struct net_device" has no member named "get_wireless_stats"
/usr/src/modules/RT2500-Linux-STA-1.4.6.6/Module/rtmp_main.c: In function "RT2500_open":
/usr/src/modules/RT2500-Linux-STA-1.4.6.6/Module/rtmp_main.c:268: warning: passing argument 2 of "request_irq" from incompatible pointer type
make[2]: *** [/usr/src/modules/RT2500-Linux-STA-1.4.6.6/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/usr/src/modules/RT2500-Linux-STA-1.4.6.6/Module] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686'
make: *** [all] Error 2
Any suggestions?
|