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.)
Created attachment 100318 [details, diff] madwifi-ng-0.9.2-config.h.diff http://madwifi.org/changeset/1721
Created attachment 100319 [details, diff] madwifi-ng-0.9.2-crypto_cipher_encrypt_one.diff http://madwifi.org/changeset/1745
Created attachment 100320 [details, diff] madwifi-ng-0.9.2-ath_intr.diff http://madwifi.org/changeset/1752
Tested for backward comaptibilty using 2.6.18-rc4, works fine here.
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.
thanks, I committed the patches to cvs!