[linux-sh:03239] Toolchain for 2.6 kernel

"Mark Feller" <[email protected]> Wed, 26 May 2004 10:05:49 -0500
Newsgroups gmane.linux.ports.sh.general
Message-ID <[email protected]>
What toolchain is required for the 2.6 kernel?  I have been using the
pre-compiled tool chains from sh-linux.org, and am not able to compile the
2.6 kernel with either the gcc-3.2.3 or gcc-3.0.4 toolsets there.

Thanks.

--Mark


% make ARCH=sh zImage
  Making asm-sh/cpu -> asm-sh/cpu-sh4 link
  Making asm-sh/mach -> asm-sh/unknown link
make[1]: `include/asm-sh/machtypes.h' is up to date.
  CHK     include/linux/compile.h
  CC      init/do_mounts_initrd.o
In file included from include/linux/unistd.h:9,
                 from init/do_mounts_initrd.c:2:
include/asm/unistd.h:441: syntax error before "long"
include/asm/unistd.h:445: syntax error before "int"
include/asm/unistd.h:448: syntax error before "int"
include/asm/unistd.h:452: syntax error before "int"
include/asm/unistd.h:455: syntax error before "int"
include/asm/unistd.h:458: syntax error before "int"
include/asm/unistd.h:461: syntax error before "int"
include/asm/unistd.h:462: syntax error before "ssize_t"
include/asm/unistd.h:464: syntax error before "ssize_t"
include/asm/unistd.h:467: syntax error before "long"
make[1]: *** [init/do_mounts_initrd.o] Error 1
make: *** [init] Error 2
%