[Top] [All Lists]

Re: Compilation problem with kernel 2.4.16

Subject: Re: Compilation problem with kernel 2.4.16
From: Ralf Baechle <>
Date: Fri, 24 Mar 2006 11:35:26 +0000
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mutt/
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
> 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.


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