rt2x00 won't compile on 2.6.24

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


04-01-2008 15:37:09

When I try to install rt2x00 from CVS, it fails to compile. I am running 2.6.24-rc6 on amd64 and the in-kernel rt2x00/rt73 drivers work great.

First warning
mac80211.h2681 warning "IEEE80211_TXCTL_LONG_RETRY_LIMIT" redefined

First error
rt2x00.h400 error field `conf' has incomplete type

Please let me know if you need more info.


04-01-2008 19:05:18

CVS is a bit unreliable for compiling against vanilla kernels. This is because it is a direct copy of the rt2x00 version in git which is based on the latest wireless-dev mac80211 version. (Which means it is based on a far more recent mac80211 version than the one inside the vanilla kernels)


04-01-2008 19:16:46

I see. I'd like to be able to track a reliable version of rt2x00 that is more up-to-date than what will be included in gentoo-sources (like I do with alsa-driver). Is CVS the only rt2x00 version available?


04-01-2008 19:24:28

rt2x00.git is the most recent version but is a complete snapshot of the latest development kernel version.

You can check the wiki on our website for the git instructions.


04-01-2008 19:26:51

Thanks for your help.


04-01-2008 21:34:31

I use git-sources on Gentoo and that is also failing with the same errors. At least, it did as of earlier this week. Haven't tried in a few days. The ebuild I used was for 2.6.24-rc6-git8.


04-01-2008 22:03:15

Yes but that is the linux-2.6 git tree and not the wireless-2.6 git tree, the mac80211 version is different between those 2 versions.