TQM860L cross compilation problem

Iring, Peter peter.iring at siemens.com
Thu Jan 17 21:37:09 EST 2008

Hello to all,
I would like to crosscompile linux kernel for TQM860L.
I have found on http://www.denx.de/wiki/Know/Linux24vs26 page that some
tests were done on this board.
I have used kernel from kernel.org and applied tosatti.patch on
it and config-
I am using ELDK 4.1 for cross compilation.
But if I want to cross compile it, procedure stops with following
testnet at SK16085C:~/eldk_uclibc/ppc_8xx/usr/src/linux$ make ARCH=ppc
  CHK     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      arch/ppc/kernel/asm-offsets.s
  CHK     include/asm-ppc/offsets.h
  CC      init/main.o
In file included from include/asm/setup.h:8,
                 from include/asm/machdep.h:8,
                 from include/asm/irq.h:6,
                 from include/asm/hardirq.h:8,
                 from include/linux/hardirq.h:6,
                 from include/asm-generic/local.h:6,
                 from include/asm/local.h:4,
                 from include/linux/module.h:21,
                 from init/main.c:16:
include/asm-m68k/setup.h:365: error: array type has incomplete element
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

Does anybody know what is going on?
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080117/7a278ee0/attachment.htm 

More information about the Linuxppc-embedded mailing list