Edit the rt_config.h file and search for the line containing "linux/config.h". Change the "linux/config.h" to "linux/autoconf.h". On Sun, 2007-02-11 at 14:30 +0000, Mark Fraser wrote: > I've just tried compiling a driver for an rt2500 based wireless network > card in FC6. Unfortunately I'm having a few problems: > > [mfraser@rachael Module]$ make > make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2895.fc6-i586' > CC [M] /home/mfraser/Downloads/WirelessDrivers/rt2500/Module/rtmp_main.o > In file included from > /home/mfraser/Downloads/WirelessDrivers/rt2500/Module/rtmp_main.c:50: > /home/mfraser/Downloads/WirelessDrivers/rt2500/Module/rt_config.h:58:40: > error: linux/config.h: No such file or directory > /home/mfraser/Downloads/WirelessDrivers/rt2500/Module/rtmp_main.c: In > function ?RT2500_open?: > /home/mfraser/Downloads/WirelessDrivers/rt2500/Module/rtmp_main.c:343: > warning: passing argument 2 of ?request_irq? from incompatible pointer type > /home/mfraser/Downloads/WirelessDrivers/rt2500/Module/rtmp_main.c: In > function ?rt2500_resume?: > /home/mfraser/Downloads/WirelessDrivers/rt2500/Module/rtmp_main.c:947: > warning: ignoring return value of ?pci_enable_device?, declared with > attribute warn_unused_result > make[2]: *** > [/home/mfraser/Downloads/WirelessDrivers/rt2500/Module/rtmp_main.o] Error 1 > make[1]: *** > [_module_/home/mfraser/Downloads/WirelessDrivers/rt2500/Module] Error 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i586' > rt2500.ko failed to build! > make: *** [module] Error 1 > [mfraser@rachael Module]$ > > Can some kind person help me figure out where I'm going wrong? > >