[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: problems building a kernel for cris

> hi, we are new to this platform and trying to build the 
> kernel. i followed the
> procedure as in the instructions, having gcc and cris-dist, 
> and i'm having
> problems doing "make kernel". it stops somewhere and gives 
> the following error:
> scripts/split-include include/linux/autoconf.h include/config
> /usr/local/cris/lib/gcc-lib/cris/2.96/gcc -D__KERNEL__
> -I/home/eyal/projects/consultronix/reflash/axis/devboard_bt/os
> /linux/include
> -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe  -march=i686   -c -o 
> init/main.o init/
> main.c
> cc1: Unknown CRIS version specification in -march= or -mcpu= : i686
> gcc: Internal compiler error: program cpp got fatal signal 13

It looks like you haven't applied the "cris-patch". If you are using
Linux 2.4.14 the install script in the devboard_lx-R2_1_0 tarball
should patch it for you. If you are using Linux 2.4.19 you must follow
the instructions in

Best regards