TQM860L cross compilation problem

2 messages, 2 authors, 2008-01-17 · open the first message on its own page

TQM860L cross compilation problem

From: Iring, Peter <hidden>
Date: 2008-01-17 11:34:48

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@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

Re: TQM860L cross compilation problem

From: <hidden>
Date: 2008-01-17 11:48:28

It seems you are compiling for a m86k processor. It should be asm-ppc f=
or
the TQL.860. Have a look at  CROSS-COMPILE and ARCH variables in the
Makefile.

Ra=FAl Moreno



"Iring, Peter" [off-list ref]
"Iring, Peter"
Enviado por:
linuxppc-embedded-bounces+raul.moreno=3Dtelvent.abengoa.com@ozlabs.org
17/01/2008 11:37
                                                                       =
                                                
 Para:   [off-list ref]                                =
                                                
                                                                       =
                                                
 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 o=
n 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 resul=
t:

testnet@SK16085C:~/eldk_uclibc/ppc_8xx/usr/src/linux$ make ARCH=3Dppc
  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@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help