Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141631 - madwifi-ng-0.9.1 doesn't build with linux-2.6.18-rc2
Summary: madwifi-ng-0.9.1 doesn't build with linux-2.6.18-rc2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-24 14:39 UTC by Thomas Meyer
Modified: 2006-07-26 11:42 UTC (History)
0 users

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


Attachments
patch to make madwifi compile against >=2.6.18-rc2 (mw-2.6.18-1.diff,1.09 KB, patch)
2006-07-24 15:12 UTC, Thomas Meyer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Meyer 2006-07-24 14:39:41 UTC
build fails with an error message, that i now longer get because i fixed it in this way:

1.) the file kernelversion.c must include "<linux/utsrelease.h>".
2.) the file include/compat.h must not define the "roundup" macro.
3.) the file net80211/ieee80211_linux.c must include "<linux/proc_fs.h>".

After these changes the madwifi-ng driver compiles succesfully against linux-2.6.18-rc2.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-24 14:42:27 UTC
can you please give us a patch for the source and verify that it works with older kernels, too?

you get a patch that way:

cp madwifi madwifie.orig -R
cd madwifi
(make your changes)
cd ..
diff -Nurp madwifi.orig madwifi > patch
Comment 2 Thomas Meyer 2006-07-24 15:12:20 UTC
Created attachment 92649 [details, diff]
patch to make madwifi compile against >=2.6.18-rc2

i'm sure: this patch won't work for older kernels. some ifdef magic is required.
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-26 11:42:53 UTC
I have added the rc for 0.9.2 and it builds with 2.6.18.

Currently p.masked but the final 0.9.2 will not be p.masked.