* kernel compilation error on indy with r4600
@ 2003-03-16 0:16 Arthur Petitpierre
2003-03-16 19:22 ` Zhang Fuxin
0 siblings, 1 reply; 2+ messages in thread
From: Arthur Petitpierre @ 2003-03-16 0:16 UTC (permalink / raw)
To: linux-mips
Hi,
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 -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 init/main.c
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,
Arthur
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: kernel compilation error on indy with r4600
2003-03-16 0:16 kernel compilation error on indy with r4600 Arthur Petitpierre
@ 2003-03-16 19:22 ` Zhang Fuxin
0 siblings, 0 replies; 2+ messages in thread
From: Zhang Fuxin @ 2003-03-16 19:22 UTC (permalink / raw)
To: Arthur Petitpierre; +Cc: linux-mips
Arthur Petitpierre wrote:
> Hi,
>
>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 init/main.c
>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,
> Arthur
>
>
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-16 6:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-16 0:16 kernel compilation error on indy with r4600 Arthur Petitpierre
2003-03-16 19:22 ` Zhang Fuxin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox