Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152595 - net-wireless/madwifi-ng-0.9.2 fails to compile with 2.6.19-rc kernels
Summary: net-wireless/madwifi-ng-0.9.2 fails to compile with 2.6.19-rc kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Steev Klimaszewski (RETIRED)
URL: http://www.madwifi.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-23 13:41 UTC by Horst Schirmeier
Modified: 2006-11-17 10:36 UTC (History)
1 user (show)

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


Attachments
madwifi-ng-0.9.2-config.h.diff (madwifi-ng-0.9.2-config.h.diff,11.54 KB, patch)
2006-10-23 13:44 UTC, Horst Schirmeier
Details | Diff
madwifi-ng-0.9.2-crypto_cipher_encrypt_one.diff (madwifi-ng-0.9.2-crypto_cipher_encrypt_one.diff,653 bytes, patch)
2006-10-23 13:44 UTC, Horst Schirmeier
Details | Diff
madwifi-ng-0.9.2-ath_intr.diff (madwifi-ng-0.9.2-ath_intr.diff,1020 bytes, patch)
2006-10-23 13:45 UTC, Horst Schirmeier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Horst Schirmeier 2006-10-23 13:41:37 UTC
Due to recent changes in the kernel build system, the crypto API and the interrupt handling interface, madwifi-ng-0.9.2 does not build with 2.6.19-rc1 and -rc2 kernels.

 * Preparing ath_hal module
make -C /usr/src/linux M=/var/tmp/portage/net-wireless/madwifi-ng-0.9.2/work/madwifi-0.9.2/ath modules
make[1]: Entering directory `/usr/src/linux-git'
  CC [M]  /var/tmp/portage/net-wireless/madwifi-ng-0.9.2/work/madwifi-0.9.2/ath/ah_osdep.o
  HOSTCC  /var/tmp/portage/net-wireless/madwifi-ng-0.9.2/work/madwifi-0.9.2/ath/uudecode.o
In file included from /var/tmp/portage/net-wireless/madwifi-ng-0.9.2/work/madwifi-0.9.2/ath/ah_osdep.c:2:
/var/tmp/portage/net-wireless/madwifi-ng-0.9.2/work/madwifi-0.9.2/ath/../hal/linux/ah_osdep.c:44:26: error: linux/config.h: No such file or directory
  CC [M]  /var/tmp/portage/net-wireless/madwifi-ng-0.9.2/work/madwifi-0.9.2/ath/if_ath.o
/var/tmp/portage/net-wireless/madwifi-ng-0.9.2/work/madwifi-0.9.2/ath/if_ath.c:47:26: error: linux/config.h: No such file or directory
make[2]: *** [/var/tmp/portage/net-wireless/madwifi-ng-0.9.2/work/madwifi-0.9.2/ath/ah_osdep.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/var/tmp/portage/net-wireless/madwifi-ng-0.9.2/work/madwifi-0.9.2/ath/if_ath.o] Error 1
make[1]: *** [_module_/var/tmp/portage/net-wireless/madwifi-ng-0.9.2/work/madwifi-0.9.2/ath] Error 2
make[1]: Leaving directory `/usr/src/linux-git'
make: *** [all] Error 2

The attached patches are taken from the madwifi SVN repository (changesets 1721, 1745 and 1752) and fix three different issues with the 2.6.19 release candidates. They're quite trivial and obviously won't interfere with the build process of older kernels, although I did not test that. Build process and loading/associating works fine with 2.6.19-rc2-g5cfc35cf.

(Note that bug #149307 holds another, non madwifi specific and yet unresolved 2.6.19-rc problem.)
Comment 1 Horst Schirmeier 2006-10-23 13:44:00 UTC
Created attachment 100318 [details, diff]
madwifi-ng-0.9.2-config.h.diff

http://madwifi.org/changeset/1721
Comment 2 Horst Schirmeier 2006-10-23 13:44:56 UTC
Created attachment 100319 [details, diff]
madwifi-ng-0.9.2-crypto_cipher_encrypt_one.diff

http://madwifi.org/changeset/1745
Comment 3 Horst Schirmeier 2006-10-23 13:45:26 UTC
Created attachment 100320 [details, diff]
madwifi-ng-0.9.2-ath_intr.diff

http://madwifi.org/changeset/1752
Comment 4 Martin Heimburger 2006-10-23 14:05:58 UTC
Tested for backward comaptibilty using 2.6.18-rc4, works fine here.
Comment 5 Steev Klimaszewski (RETIRED) gentoo-dev 2006-10-27 11:19:52 UTC
Thanks for the report, and the email, I will get to this soon(tm) - I don't actually own a madwifi card - but I can borrow one from a friend, my issue though was stemming from other modules not building against 2.6.19, but now that I should have them set, I can take a look into this.
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-11-17 10:36:21 UTC
thanks, I committed the patches to cvs!