linux-mips
[Top] [All Lists]

Re: Compilation problem with kernel 2.4.16

To: dhunjukrishna@gmail.com
Subject: Re: Compilation problem with kernel 2.4.16
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 24 Mar 2006 11:35:26 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <20060324094916.96936.qmail@web53503.mail.yahoo.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060324083141.GB3170@linux-mips.org> <20060324094916.96936.qmail@web53503.mail.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
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

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