I tried to build orinoco-usb for use with suspend2-sources-2.6.21-r7, but received many compiler errors about missing asm headers, such as "asm/posix_types.h". My source and build output dirs are separate, and the link "/lib/modules/2.6.21-r7/build" points to the correct place, "$KBUILD_OUTPUT". Obviously, the build output dir has the generated headers, not the stock headers included in the source. Inside "$KBUILD_OUTPUT/include", the "./asm" softlink points to "./asm-i386" as it should. The orinoco-usb build seems to find the generic stock headers like "linux/posix_types.h" just fine, but not the asm stock headers. As a hack to complete the build, in "$KBUILD_OUTPUT/include/asm-i386" I created softlinks to all the stock headers in "/usr/src/linux/include/asm-i386".
Please provide build log with emerge --info output.
Actually, this bug is invalid -- I screwed up. This problem was created because there was a difference in the ebuild release between the installed sources and the kernel I was running. The orinoco-usb Makefile uses 'uname -r' to find the kernel build directory. Closing; sorry for the inconvenience.
INVALID then. ;)