linux-mips
[Top] [All Lists]

Re: HELP: opcode not supported on this processor

To: David Lee <receive4me@gmail.com>
Subject: Re: HELP: opcode not supported on this processor
From: Thiemo Seufer <ths@networkno.de>
Date: Fri, 29 Sep 2006 12:08:49 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <5ee285ba0609290235v7b518495u2dccb1ef82b117d0@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <5ee285ba0609290235v7b518495u2dccb1ef82b117d0@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.13 (2006-08-11)
David Lee wrote:
> Hi,
> 
> I am trying to port some code over to MIPSEL from i386. However, I got the
> following error:
> 
> gcc -I/usr/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB
> -I/usr/src/linux/drivers/net -Wal
> l -I. -Wstrict-prototypes -fomit-frame-pointer
> -I/usr/src/linux/drivers/net/wan -I /usr/src/li
> nux/include -I/usr/src/linux/include/net -DMODVERSIONS -include
> /usr/src/linux-2.4/include/lin
> ux/modversions.h  zip.c

You need to use the exactly same compilation options as used for the
kernel. This will fix the problem you see, plus many others you haven't
seen yet.


Thiemo

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