Re: Compiling rt2500 drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
> 
> 

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux