compiling a current kernel with gcc-4.1 generates a warning: include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]' when emerging madwifi-driver-0.1401.20060117, a -Werror flag in the Makefile causes this warning to kill the build. while gcc-4.1 fixes aren't high priority, it might be a good idea to remove the possibility of someone running into this elsewhere.
Created attachment 77688 [details, diff] madwifi-Wno-error.patch
Better to get the warning fixed, instead of the symptoms. -Werror is there for a reason. Please report this compile warning upstream to get a proper fix. Once it is in upstream SVN, I will make a new snapshot for Portage.
the warning is external to the madwifi codebase, but i get your drift.