* [meta-handheld] Troubles building kernel for h2200
@ 2012-05-05 16:57 Priit Laes
2012-05-05 19:36 ` Khem Raj
0 siblings, 1 reply; 6+ messages in thread
From: Priit Laes @ 2012-05-05 16:57 UTC (permalink / raw)
To: openembedded-devel
Hey!
Has anyone recently tried to build (HP iPAQ) h2200 target?
I'm currently getting following build failure when trying to compile
kernel via `bitbake virtual/kernel`:
[snip]
SYSMAP System.map
SYSMAP .tmp_System.map
MODPOST vmlinux
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head-h2200.o
GZIP arch/arm/boot/compressed/piggy.gz
CC arch/arm/boot/compressed/misc.o
In file included from arch/arm/boot/compressed/misc.c:30:0:
include/asm/arch/uncompress.h:20:20: warning: conflicting types for built-in function 'putc'
AS arch/arm/boot/compressed/head-xscale.o
AS arch/arm/boot/compressed/piggy.o
LD arch/arm/boot/compressed/vmlinux
arch/arm/boot/compressed/head-h2200.o:(.start+0x0): undefined reference to `no symbol'
make[2]: *** [arch/arm/boot/compressed/vmlinux] Error 1
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2
ERROR: oe_runmake failed
[/snip]
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [meta-handheld] Troubles building kernel for h2200 2012-05-05 16:57 [meta-handheld] Troubles building kernel for h2200 Priit Laes @ 2012-05-05 19:36 ` Khem Raj 2012-05-05 20:05 ` Priit Laes 0 siblings, 1 reply; 6+ messages in thread From: Khem Raj @ 2012-05-05 19:36 UTC (permalink / raw) To: openembedded-devel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/05/2012 09:57 AM, Priit Laes wrote: > include/asm/arch/uncompress.h:20:20: warning: conflicting types for > built-in function 'putc' what version of binutils+gcc is in play and which version of kernel is it ? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+lgSgACgkQuwUzVZGdMxRFwACgg6DMdhmtvMgfW6i8hKKEY8eA ZF4AoIsYfuNkJ6yo9Iu7vvkR9jMFpcFv =jkVY -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-handheld] Troubles building kernel for h2200 2012-05-05 19:36 ` Khem Raj @ 2012-05-05 20:05 ` Priit Laes 2012-05-05 23:32 ` Khem Raj 0 siblings, 1 reply; 6+ messages in thread From: Priit Laes @ 2012-05-05 20:05 UTC (permalink / raw) To: openembedded-devel Ühel kenal päeval, L, 05.05.2012 kell 12:36, kirjutas Khem Raj: > On 05/05/2012 09:57 AM, Priit Laes wrote: > > include/asm/arch/uncompress.h:20:20: warning: conflicting types for > > built-in function 'putc' > > what version of binutils+gcc is in play and which version of kernel is > it ? binutils-2.20.1-r9 gcc-4.5-r49+svnr184907 And kernel is linux-handhelds-2.6-2.6.21-hh20-r27 It's quite possible that I'm posting to the wrong place because I've set up the system using Angstrom's setup-scripts ( https://github.com/angstrom-distribution/setup-scripts ) using the following tutorial: http://www.angstrom-distribution.org/building-angstrom Päikest, Priit Laes ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-handheld] Troubles building kernel for h2200 2012-05-05 20:05 ` Priit Laes @ 2012-05-05 23:32 ` Khem Raj 2012-05-06 7:14 ` Priit Laes 0 siblings, 1 reply; 6+ messages in thread From: Khem Raj @ 2012-05-05 23:32 UTC (permalink / raw) To: openembedded-devel On Sat, May 5, 2012 at 1:05 PM, Priit Laes <plaes@plaes.org> wrote: > Ühel kenal päeval, L, 05.05.2012 kell 12:36, kirjutas Khem Raj: >> On 05/05/2012 09:57 AM, Priit Laes wrote: >> > include/asm/arch/uncompress.h:20:20: warning: conflicting types for >> > built-in function 'putc' >> >> what version of binutils+gcc is in play and which version of kernel is >> it ? > binutils-2.20.1-r9 > gcc-4.5-r49+svnr184907 > > And kernel is linux-handhelds-2.6-2.6.21-hh20-r27 > > It's quite possible that I'm posting to the wrong place because I've set > up the system using Angstrom's setup-scripts > ( https://github.com/angstrom-distribution/setup-scripts ) > using the following tutorial: > http://www.angstrom-distribution.org/building-angstrom > > OK what does arch/arm/boot/compressed/head-h2200.s looks like ? it could be a linker problem. If you have option of chosing a different version of binutils then please try that to confirm > Päikest, > Priit Laes > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-handheld] Troubles building kernel for h2200 2012-05-05 23:32 ` Khem Raj @ 2012-05-06 7:14 ` Priit Laes 2012-12-22 18:36 ` Christoph Sobotka 0 siblings, 1 reply; 6+ messages in thread From: Priit Laes @ 2012-05-06 7:14 UTC (permalink / raw) To: openembedded-devel Ühel kenal päeval, L, 05.05.2012 kell 16:32, kirjutas Khem Raj: > On Sat, May 5, 2012 at 1:05 PM, Priit Laes <plaes@plaes.org> wrote: > > Ühel kenal päeval, L, 05.05.2012 kell 12:36, kirjutas Khem Raj: > >> On 05/05/2012 09:57 AM, Priit Laes wrote: > >> > include/asm/arch/uncompress.h:20:20: warning: conflicting types for > >> > built-in function 'putc' > >> > >> what version of binutils+gcc is in play and which version of kernel is > >> it ? > > binutils-2.20.1-r9 > > gcc-4.5-r49+svnr184907 > > > > And kernel is linux-handhelds-2.6-2.6.21-hh20-r27 > > > > It's quite possible that I'm posting to the wrong place because I've set > > up the system using Angstrom's setup-scripts > > ( https://github.com/angstrom-distribution/setup-scripts ) > > using the following tutorial: > > http://www.angstrom-distribution.org/building-angstrom > > > > > > OK what does arch/arm/boot/compressed/head-h2200.s looks like ? > it could be a linker problem. If you have option of chosing a > different version of binutils then please try that to confirm I've yet to figure out the proper steps to change the toolchain (which I assume is the culprit), though head-h2200.s looks like this, after I removed the header comments: [snip] #include <asm/mach-types.h> .section ".start", "ax" b 0x1000 .org 0x40 .ascii "ECEC" .org 0x1000 mov r0, #0 mov r1, #(MACH_TYPE_H2200 & 0xff) orr r1, r1, #(MACH_TYPE_H2200 & 0xff00) mov r2, #0 #include "head.S" [/snip] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-handheld] Troubles building kernel for h2200 2012-05-06 7:14 ` Priit Laes @ 2012-12-22 18:36 ` Christoph Sobotka 0 siblings, 0 replies; 6+ messages in thread From: Christoph Sobotka @ 2012-12-22 18:36 UTC (permalink / raw) To: openembedded-devel I tried building for h2200 and had the same error: arch/arm/boot/compressed/head-h2200.o:(.start+0x0): undefined reference to `no symbol' I ran it on debian squeeze. binutils 2.20.1-16 gcc 4:4.4.5-1 Is there a solution to the problem? ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-12-22 18:54 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-05-05 16:57 [meta-handheld] Troubles building kernel for h2200 Priit Laes 2012-05-05 19:36 ` Khem Raj 2012-05-05 20:05 ` Priit Laes 2012-05-05 23:32 ` Khem Raj 2012-05-06 7:14 ` Priit Laes 2012-12-22 18:36 ` Christoph Sobotka
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox