TQM860L cross compilation problem
raul.moreno at telvent.abengoa.com
raul.moreno at telvent.abengoa.com
Thu Jan 17 22:49:47 EST 2008
It seems you are compiling for a m86k processor. It should be asm-ppc for
the TQL.860. Have a look at CROSS-COMPILE and ARCH variables in the
Makefile.
Raúl Moreno
"Iring, Peter" <peter.iring at siemens.com>
"Iring, Peter"
Enviado por:
linuxppc-embedded-bounces+raul.moreno=telvent.abengoa.com at ozlabs.org
17/01/2008 11:37
Para: <linuxppc-embedded at ozlabs.org>
cc:
Asunto: TQM860L cross compilation problem
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_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded at ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
More information about the Linuxppc-embedded
mailing list