crossdev for sh4-gentoo-linux-uclibc does not compile linux-headers-2.6.17 due to 2 bugs: -m4-nofpu is not understood by gcc (4.1.1) as there's no multilib support for non-FPU systems compiled, and a header file defines something which is not used with something which is not defined. The fix is simple if you always have an FPU (I do): arch/sh/Makefile: harald@play1$ diff Makefile.orig Makefile 42c42 < $(call cc-option,-mno-implicit-fp,-m4-nofpu) --- > $(call cc-option,-mno-implicit-fp) and include/asm-sh/page.h: change FPN_START to PFN_START as this: #define ARCH_PFN_OFFSET (FPN_START) is likely a typo in the kernel headers. Then it's a problem of linux-2.6.17 and should be fixed there. I'm using crossdev-0.9.16, gcc-4.1.1, uclibc-0.9.28.
*** This bug has been marked as a duplicate of 140205 ***