linux-mips
[Top] [All Lists]

Re: Compilation problem with kernel 2.4.16

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: Compilation problem with kernel 2.4.16
From: Krishna <dhunjukrishna@yahoo.com>
Date: Fri, 24 Mar 2006 05:29:54 -0800 (PST)
Cc: linux-mips@linux-mips.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ac54qI2Z+MNXAJwBWEiimKjNV57De3szFhgpci8sIVhnN0lW59u8c1+oKpcVK1fU6EMXxhsohXonVTAF2yX+sRKbrtbkAd/hoSRlzJitDXqdH+xAA9PlcKPXoF8ZD5i+ZZjZKMF43dMRTN8GX0384RbfOauiiCvIN9s9jX+cELk= ;
In-reply-to: <20060324113525.GA3250@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: dhunjukrishna@gmail.com
Sender: linux-mips-bounce@linux-mips.org
then will u please suggest me which compiler to use to compile kernel 2.6.14 for BCM1480 or else where i get the proper compiler.

Ralf Baechle <ralf@linux-mips.org> wrote:
On Fri, Mar 24, 2006 at 01:49:16AM -0800, Krishna wrote:

> Sorry I mentioned version incorrectly. It is 2.6.14. The compiler i m using
> is sb1-elf-gcc (which i downloaded from
> www.broadcom.com/products/sibyte_downloads.php#toolchain). Her is the error description:

The *-elf gcc configuration will not work for compiling Linux/MIPS or
applications; you need a mips-linux target.

> **********************************************
> Makefile:489: .config: No such file or directory
> scripts/basic/fixdep.c: In function `parse_config_file':
> scripts/basic/fixdep.c:228: warning: implicit declaration of function `ntohl'
> scripts/basic/fixdep.c: In function `print_deps':
> scripts/basic/fixdep.c:336: warning: unused variable `map'
> /home1/guest/vikram/COMPILER/specifix/broadcom_2004e_341/i686-pc-linux-gnu/bin/../lib/gcc/sb1-elf/3.4.1/../../../../sb1-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000400040
> /tmp/ccb1vCvc.o(.text+0x4): In function `usage':
> : undefined reference to `_impure_ptr'
> /tmp/ccb1vCvc.o(.text+0x4): In function `usage':
> : relocation truncated to fit: R_MIPS_GPREL16 _impure_ptr

These messages seem to indicate you did something bad to the makefiles.
The crosscompiler is being invoked where the target compiler should be.

Ralf




*Krishna*


Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
<Prev in Thread] Current Thread [Next in Thread>