Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68400 - madwifi-driver fails to build with gcc-3.4
Summary: madwifi-driver fails to build with gcc-3.4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-21 07:37 UTC by David Brigada
Modified: 2004-10-22 12:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Brigada 2004-10-21 07:37:42 UTC
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
Comment 1 Henrik Brix Andersen 2004-10-22 11:55:20 UTC
Added solar and horton to CC:
Comment 2 solar (RETIRED) gentoo-dev 2004-10-22 12:09:44 UTC
We don't support -mm

Please close as INVALID
Comment 3 Henrik Brix Andersen 2004-10-22 12:13:26 UTC
Closing as INVALID.
Comment 4 Henrik Brix Andersen 2004-10-22 12:13:57 UTC
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.
Comment 5 solar (RETIRED) gentoo-dev 2004-10-22 12:42:53 UTC
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