linux-mips
[Top] [All Lists]

Re: HELP: opcode not supported on this processor

To: "Thiemo Seufer" <ths@networkno.de>
Subject: Re: HELP: opcode not supported on this processor
From: "David Lee" <receive4me@gmail.com>
Date: Fri, 29 Sep 2006 21:32:52 +0800
Cc: linux-mips@linux-mips.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=uYkFcsWwhiVfp07EX5GOGnqsNDddh26fg8mqwXZIfbYA0wAewpcurrx70v45OBIZ6zRkIU+/vBwNUbDK89XQ8xpPwPPFa5kviKtvggoUf7kk/I9oBnFNI2j0IVgNXoglOatpkcmdsf6Z7KIB82ZS5jCwFShfcGA1Ae8hxHuUMkI=
In-reply-to: <20060929110849.GD3868@networkno.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <5ee285ba0609290235v7b518495u2dccb1ef82b117d0@mail.gmail.com> <20060929110849.GD3868@networkno.de>
Sender: linux-mips-bounce@linux-mips.org
I could not figure it out in more than 2 hours. I don't even know what compliantion options used for kernel. I need more instructions and help.
 
Thanks.
David
 
On 9/29/06, Thiemo Seufer <ths@networkno.de> wrote:
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>