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" <[EMAIL PROTECTED]>
"Iring, Peter"
Enviado por:
[EMAIL PROTECTED]
17/01/2008 11:37
Para: <[email protected]>
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:
[EMAIL PROTECTED]:~/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
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded