[Top] [All Lists]

Re: kernel compilation error on indy with r4600

To: Arthur Petitpierre <>
Subject: Re: kernel compilation error on indy with r4600
From: Zhang Fuxin <>
Date: Sun, 16 Mar 2003 14:22:56 -0500
Original-recipient: rfc822;
References: <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809

Arthur Petitpierre wrote:


I've got an Indy whith a r46000 cpu and a Debian installed on it, and when I 
try to compile a new kernel (with gcc-2.95),
I do 'make menuconfig', 'make dep' without any problem and when I try 'make 
vmlinux', I got error as following :

gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.19/include -Wall -Wstrict-prototypes -Wno-trigraphs
^^^^^^Are you sure you are using mips gcc? If you are cross-compiling,it should normally be mips(el)-linux-gcc here

-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I 
/usr/src/kernel-source-2.4.19/include/asm/gcc -G 0 -mno-abicalls -fno-pic -pipe 
-mcpu=r4600 -mips2 -Wa,--trap   -DKBUILD_BASENAME=main -c -o init/main.o 
as: unrecognized option `-mcpu=r4600'
init/main.c: In function `calibrate_delay':
init/main.c:199: Internal compiler error:
init/main.c:199: output pipe has been closed
make: *** [init/main.o] Error 1

Any solution to fix it. Thanks,

<Prev in Thread] Current Thread [Next in Thread>