* [Buildroot] Yaboot doesn't build
@ 2009-08-10 16:44 Steve Bennett
2009-08-10 17:59 ` Daniele Salvatore Albano
2009-09-11 15:17 ` Bernhard Reutner-Fischer
0 siblings, 2 replies; 3+ messages in thread
From: Steve Bennett @ 2009-08-10 16:44 UTC (permalink / raw)
To: buildroot
Hi all!
Am trying to build a PowerPC boot CD with buildroot, and YABOOT
doesn't seem to build in the latest buildroot. I get the following
error:
lib/strstr.c: In function 'strstr':
lib/strstr.c:79: error: label at end of compound statement
After some research, I discovered that problem had been corrected
quite a long time ago in the next version (1.3.14 - the current
stable version) of YABOOT. There appear to be a number of other
important changes and fixes in 1.3.14, so I went into the package
folder and changed the make file to pull in version 1.3.14 instead.
This time, it compiled, but then couldn't link because 1.3.14 no
longer builds it's own personal copy of libext2fs - it's expecting to
link to it from the local system. (link parameter is -lext2fs)
This library is part of the e2fsprogs package, so I tried adding
that, but it's added to the target, not to the toolchain, and it
appears yaboot is looking for it in the toolchain, so that continues
to fail. I'm not exactly sure how to add it to the toolchain -- it
doesn't appear to be quite as straightforward as adding a package to
the target.
Is that the right approach here, or am I missing something? Anyone
care to nudge me in the right direction as to how to accomplish this?
Thanks,
-->Steve Bennett
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Yaboot doesn't build
2009-08-10 16:44 [Buildroot] Yaboot doesn't build Steve Bennett
@ 2009-08-10 17:59 ` Daniele Salvatore Albano
2009-09-11 15:17 ` Bernhard Reutner-Fischer
1 sibling, 0 replies; 3+ messages in thread
From: Daniele Salvatore Albano @ 2009-08-10 17:59 UTC (permalink / raw)
To: buildroot
Actually, ext2fs doesn't copy headers to staging dir so yaboot,
probably, can't find the necessary header.
If you are missing a .h file you can try to apply this patch
https://bugs.uclibc.org/show_bug.cgi?id=531
that add support to export e2fsprogs headers to staging dir
Otherwise, if ld reports about missing lext2fs try to add
$(TARGET_LDFLAGS) to the make file of yaboot and/or add related paths
2009/8/10 Steve Bennett <sablists@earthlink.net>:
> Hi all!
>
> Am trying to build a PowerPC boot CD with buildroot, and YABOOT doesn't seem
> to build in the latest buildroot. ?I get the following error:
>
> lib/strstr.c: In function 'strstr':
> lib/strstr.c:79: error: label at end of compound statement
>
> After some research, I discovered that problem had been corrected quite a
> long time ago in the next version (1.3.14 - the current stable version) of
> YABOOT. ? There appear to be a number of other important changes and fixes
> in 1.3.14, so I went into the package folder and changed the make file to
> pull in version 1.3.14 instead.
>
> This time, it compiled, but then couldn't link because 1.3.14 no longer
> builds it's own personal copy of libext2fs - it's expecting to link to it
> from the local system. ? (link parameter is -lext2fs) ? This library is part
> of the e2fsprogs package, so I tried adding that, but it's added to the
> target, not to the toolchain, and it appears yaboot is looking for it in the
> toolchain, so that continues to fail. ?I'm not exactly sure how to add it to
> the toolchain -- it doesn't appear to be quite as straightforward as adding
> a package to the target.
>
> Is that the right approach here, or am I missing something? ? Anyone care to
> nudge me in the right direction as to how to accomplish this?
>
> Thanks,
> -->Steve Bennett
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
--
Daniele Salvatore Albano
Consulente Informatico
http://www.phpsoft.it
http://www.dacci.it
Servizi:
- Sviluppo in C# e PHP
- Installazione e Amministrazione sistemi Ubuntu, CentOS e Fedora
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Yaboot doesn't build
2009-08-10 16:44 [Buildroot] Yaboot doesn't build Steve Bennett
2009-08-10 17:59 ` Daniele Salvatore Albano
@ 2009-09-11 15:17 ` Bernhard Reutner-Fischer
1 sibling, 0 replies; 3+ messages in thread
From: Bernhard Reutner-Fischer @ 2009-09-11 15:17 UTC (permalink / raw)
To: buildroot
On Mon, Aug 10, 2009 at 12:44:50PM -0400, Steve Bennett wrote:
>Hi all!
>
>Am trying to build a PowerPC boot CD with buildroot, and YABOOT
>doesn't seem to build in the latest buildroot. I get the following
>error:
I suggest you get the 1.3.13 version from
http://repo.or.cz/w/buildroot.git?a=tree;f=target/powerpc/yaboot;hb=HEAD
and look at
http://repo.or.cz/w/buildroot.git?a=tree;f=package/e2fsprogs;hb=HEAD
and submit it to Peter for inclusion.
>Is that the right approach here, or am I missing something? Anyone
>care to nudge me in the right direction as to how to accomplish this?
HTH,
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-11 15:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10 16:44 [Buildroot] Yaboot doesn't build Steve Bennett
2009-08-10 17:59 ` Daniele Salvatore Albano
2009-09-11 15:17 ` Bernhard Reutner-Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox