Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60626 - madwifi-driver fails to compile under gentoo-dev-sources-2.6.8
Summary: madwifi-driver fails to compile under gentoo-dev-sources-2.6.8
Status: RESOLVED DUPLICATE of bug 60424
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-16 19:14 UTC by reillyp
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 reillyp 2004-08-16 19:14:12 UTC
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 ;)
Comment 1 Omer Hasan 2004-08-17 21:30:56 UTC
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.
Comment 2 Omer Hasan 2004-08-17 21:37:41 UTC
Yes the patch works good so far. On it right now.
Comment 3 ChazeFroy 2004-08-22 20:01:25 UTC
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
Comment 4 reillyp 2004-08-25 17:58:21 UTC
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
Comment 5 reillyp 2004-08-25 18:05:48 UTC
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). 
Comment 6 Per Cederberg 2004-08-26 00:47:58 UTC
This seems to be a dupe of bug #60424.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2004-08-26 01:21:15 UTC

*** This bug has been marked as a duplicate of 60424 ***