With gcc-3.4.2, madwifi-driver fails to build. It builds fine when using a kernel that has been compiled with gcc-3.3.x. I get the following error: CC [M] /var/tmp/portage/madwifi-driver-0.1_pre20041019/work/net80211/ieee80211_wireless.o /var/tmp/portage/madwifi-driver-0.1_pre20041019/work/net80211/ieee80211_wireless.c: In function `ieee80211_ioctl_iwsetup': /var/tmp/portage/madwifi-driver-0.1_pre20041019/work/net80211/ieee80211_wireless.c:2182: error: assignment of read-only member `num_private_args' make[3]: *** [/var/tmp/portage/madwifi-driver-0.1_pre20041019/work/net80211/ieee80211_wireless.o] Error 1 make[2]: *** [_module_/var/tmp/portage/madwifi-driver-0.1_pre20041019/work/net80211] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.9-rc2-mm1' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/madwifi-driver-0.1_pre20041019/work/net80211' make: *** [all] Error 1
Added solar and horton to CC:
We don't support -mm Please close as INVALID
Closing as INVALID.
I'm sorry - but we don't have the time to patch all portage ebuilds to work with the rapid changes of the -mm tree. When the change appears in a vanilla kernel or a gentoo kernel, the ebuilds will of course be fixed if needed.
For those of you that insist on using -mm this patch may do the trick for you. http://users.informatik.haw-hamburg.de/~gropp_v/madwifi-2.6.8-mm_and_later-040927.patch.bz2