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 2.6.11.7 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 2.6.11.7 from kernel.org and applied tosatti.patch on
it and config-2.6.11.7-TQM860L.
I am using ELDK 4.1 for cross compilation.
 
But if I want to cross compile it, procedure stops with following
result:
 
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
type
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

Does anybody know what is going on?
 
Thanks in advance
Peter
-------------- 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