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