In case you didn't get it,
repo is being sarcastic.
I'm not aware of any "kernel bug" effecting the Atheros device driver, although the newer kernels
have changed the
wireless.h kernel headers because changes were made to the kernel software.
Which
madwifi "tar ball" are you using? (Is it from the 0.9 series or the 0.10 series?) If it's from the development trunk (0.10), have you downloaded the most recent "stable"
snapshot?
If you use the
-s option in you
make command, you will minimize the output you need to look at in order to see the error messages.
In any case though, you need source code that uses the newer header files since the older source code is written according to the standards used by the older kernels which are, of course, not correct for the newer ones.