[Top] [All Lists]

2.4.22 Kernel Build Error

Subject: 2.4.22 Kernel Build Error
From: Shireesh Annam <>
Date: Thu, 15 Dec 2005 18:19:44 +0530
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=DI/HhQXri/5Zq02txvTyUvVTq2IMWsgZ18rR5RB3iXWHMJk5NPdSuhBqDrwyh4rjMMRrXvYvMg3q1uxL8xECpp6uIOdlFTe0XIwBaEF9QrLLwWrRkQBmoH2LxXBsyANoSjBlFNF4Xm95Ogyto+aZ9vePVwk7FDB9mo/5u5zm/Oo=
Original-recipient: rfc822;

I have an new AMD (Au1500) Bosporous Board and I intend to install
MIPS Kernel 2.4.22 (linux-14oct2003.tar.gz) provided on the AMD CD
provided along with the kit. I have been through the website.

I have installed the Linux/386 cross for big-endian target i.e. MIPS
SDE 6.02.03 from on a Red Hat host.

After that when I try to build the kernel using the following command:
$make ARCH=mips CROSS_COMPILE=mips-linux- zImage

I get the following error.

mips-linux-gcc -D__KERNEL__ -I/root/MipsLinux/oct2003/linux/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -I
/root/MipsLinux/oct2003/linux/include/asm/gcc -G 0 -mno-abicalls
-fno-pic -pipe  -mabi=32 -mcpu=r4600 -mips2 -Wa,--trap  
-DKBUILD_BASENAME=main -c -o init/main.o init/main.c
cc1: error: invalid option `-mcpu=r4600'
make: *** [init/main.o] Error 1

I have selected MIPS32 for the CPU Architecture and the toolchain
doesn't seem to recognize the r4600 option.

Could someone throw any light on this? I'm not able to move ahead
since I'm not able to build the kernel itself. Could someone help me
in recommending the right toolchain for this build?


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