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@xxxxxxxxxxxx> 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