Get a gcc compile failure trying to emerge madwifi-driver-0.1_pre20040726. Emerges fine in gentoo-dev-sources-2.6.7-r14. Error is: from /var/tmp/portage/madwifi-driver-0.1_pre20040726/work/driver/if_ath.c:47: include/linux/kernel.h:57:1: warning: this is the location of the previous definition /var/tmp/portage/madwifi-driver-0.1_pre20040726/work/driver/if_ath.c: In function `ath_sysctl_handler': /var/tmp/portage/madwifi-driver-0.1_pre20040726/work/driver/if_ath.c:3389: error: too few arguments to function `proc_dointvec' then a bunch of "initialization from incompatible pointer type" warnings for lines 3417, 3420, 3422, 3424, 3426, 3428, 3430, 3432, 3434 (all in if_ath.c). Reproducible: Always Steps to Reproduce: 1. Emerge gentoo-dev-sources-2.6.8 (is on thinkpad T42) 2. (re) Emerge madwifi-driver 3. Actual Results: The gcc error listed in the details Expected Results: Compiled ;)
I found a patch here: https://sourceforge.net/tracker/index.php?func=detail&aid=1008185 One hunk fails for me but it compiles. I'm going to restart and test it out.
Yes the patch works good so far. On it right now.
Previous URL to patch was incorrect. Correct URL is: https://sourceforge.net/tracker/download.php?group_id=82936&atid=567755&file_id=97472&aid=1008185
Just emerged madwifi-driver-0.1_pre20040824 and compile failed (at a different location). gcc error is: /var/tmp/portage/madwifi-driver-0.1_pre20040824/work/net80211/ieee80211_linux.c: in function `ieee80211_sysctl_debug': ... 369: error: too few arguments to function `proc_dointvec' ... 374: error: too few arguments to function `proc_dointvec' Also (same source file) two warnings (line 386, 391): warning: initialization from incompatible pointer type
Should have said: I'm compiling under installed kernel of 2.6.8-r1 and, as far as I can tell, linux-headers-2.4.21-r1 (emerge lists those as the only kernel headers installed).
This seems to be a dupe of bug #60424.
*** This bug has been marked as a duplicate of 60424 ***