Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: dhunjukrishna@gmail.com
Cc: linux-mips@linux-mips.org
Subject: Re: Compilation problem with kernel 2.4.16
Date: Fri, 24 Mar 2006 11:35:26 +0000	[thread overview]
Message-ID: <20060324113525.GA3250@linux-mips.org> (raw)
In-Reply-To: <20060324094916.96936.qmail@web53503.mail.yahoo.com>

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

  parent reply	other threads:[~2006-03-24 11:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-24  7:45 Compilation problem with kernel 2.4.16 Krishna
2006-03-24  8:09 ` Gowri Satish Adimulam
2006-03-24  8:28   ` Krishna
2006-03-24  8:45     ` Gowri Satish Adimulam
2006-03-24 21:35     ` James E Wilson
2006-03-24 22:40       ` Ralf Baechle
2006-03-28 10:35         ` building cross compiler for compiling kernel 2.6.14 for BCM1480 Krishna
2006-03-28 10:57           ` Atsushi Nemoto
2006-03-24  8:31 ` Compilation problem with kernel 2.4.16 Ralf Baechle
     [not found]   ` <20060324094916.96936.qmail@web53503.mail.yahoo.com>
2006-03-24 11:35     ` Ralf Baechle [this message]
2006-03-24 13:29       ` Krishna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060324113525.GA3250@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=dhunjukrishna@gmail.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox