rt2x00 compiling for rt2500pci problems

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4370

oliazk

21-10-2007 05:13:48

Ok I need help I do not know whats going on I am getting errors when compiling with the rt2x00 for the rt2500 module here is what is outputed from the make command
[code1xu34dp9]
michael@M645:~/rt2x00-cvs-2007102023$ make
CC [M] /home/michael/rt2x00-cvs-2007102023/eeprom_93cx6/eeprom_93cx6.o
CC [M] /home/michael/rt2x00-cvs-2007102023/rt2x00dev.o
/home/michael/rt2x00-cvs-2007102023/rt2x00dev.c: In function ‘rt2x00lib_stop_link_tuner’:
/home/michael/rt2x00-cvs-2007102023/rt2x00dev.c:97: warning: implicit declaration of function ‘cancel_delayed_work_sync’
/home/michael/rt2x00-cvs-2007102023/rt2x00dev.c: In function ‘rt2x00lib_packetfilter_scheduled’:
/home/michael/rt2x00-cvs-2007102023/rt2x00dev.c:434: error: ‘const struct ieee80211_ops’ has no member named ‘configure_filter’
/home/michael/rt2x00-cvs-2007102023/rt2x00dev.c: In function ‘rt2x00lib_configuration_scheduled’:
/home/michael/rt2x00-cvs-2007102023/rt2x00dev.c:445: error: ‘IEEE80211_ERP_CHANGE_PREAMBLE’ undeclared (first use in this function)
/home/michael/rt2x00-cvs-2007102023/rt2x00dev.c:445: error: (Each undeclared identifier is reported only once
/home/michael/rt2x00-cvs-2007102023/rt2x00dev.c:445: error: for each function it appears in.)
/home/michael/rt2x00-cvs-2007102023/rt2x00dev.c: In function ‘rt2x00lib_probe_dev’:
/home/michael/rt2x00-cvs-2007102023/rt2x00dev.c:1158: error: ‘IEEE80211_IF_TYPE_INVALID’ undeclared (first use in this function)
make[2]: *** [/home/michael/rt2x00-cvs-2007102023/rt2x00dev.o] Error 1
make[1]: *** [_module_/home/michael/rt2x00-cvs-2007102023] Error 2
make: *** [default] Error 2
[/code1xu34dp9]

I am currently running
Ubuntu 7.10
2.6.22-14-generic
rt2x00-cvs-2007102023

I do not know if I missing anything that is needed for compile or what. I am just hoping this works better than the rt2500(legacy) because I was loosing packets badly with it.
I have looked around for others with the same problem I have not found anything.If there is something simular with a fix pleas let me know.

Thanks

Spy84464

21-10-2007 09:30:31

Requirements have increased, rt2x00 CVS is not currently usable on any released kernel. You have to download one from the wireless-dev git. The good new is that rt2x00 has been merged into the main branch, so it will come with future kernels (starting from 2.6.24).