Fwd: "unrecognised emulation mode: elf_i386" while build Linux kernel

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Fwd: "unrecognised emulation mode: elf_i386" while build Linux kernel

by Khaled Fayed Ghaleb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

From: Khaled Fayed Ghaleb <khaled.f.gh@...>
Date: Thu, Nov 5, 2009 at 4:47 PM
Subject: "unrecognised emulation mode: elf_i386" while build Linux kernel
To: binutils@...


Dear All,

while I try to Build Linux kernel this error message  happened:

-------------------------------------------------------------
Why:/usr/src/linux # make all
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CALL    scripts/checksyscalls.sh
  CC      init/main.o
ld: unrecognised emulation mode: elf_i386
Supported emulations: elf32ebmip
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
--------------------------------------------------------------

I try to rebuild binutils with newer version () but some error message appeared.

I try now to rebuild gcc.

But is there is any other meaning for this error.

Thanks,

Khaled Fayed Ghaleb

Re: Fwd: "unrecognised emulation mode: elf_i386" while build Linux kernel

by Nick Clifton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Khaled,

> ld: unrecognised emulation mode: elf_i386
> Supported emulations: elf32ebmip

You are trying to build an x86 kernel with a toolchain targeted at the
MIPS processor...

Cheers
   Nick