List Info

Thread: Re: Recipe for setting up OpenEmbedded environment on wiki




Re: Recipe for setting up OpenEmbedded environment on wiki
country flaguser name
United States
2007-02-10 22:50:16
On Thu, 2007-02-08 at 09:10 -0800, michaelmichaelshiloh.com wrote:
> 
> 
> On Thu, 8 Feb 2007, Christopher Heiny wrote:
> 
> > That's a timely post!  My main system barfed
Tuesday afternoon, and I've
> > been bringing up a backup.  Here's some diffs to
your procedure for
> > Fedora Core 6...
> >
> > Under 1.1, I did
> >   yum install ccache diffstate monotone
> > since perl and python were already on the system
> >
> > Under 1.3, I had to sudo the chmod.
> 
> Thanks for the addition and correction. I will add
both.
> 
> >
> > Other that that, everything proceeded pretty much
according to the
> > recipe.  I haven't tried the build yet - I'm only
running on a Celeron
> > M and need to head for work later this morning.
> 
> Thanks for testing and providing feedback. I look
forward to hearing how the
> build process went.
> 
> Michael

Me too.  Went through the process on FC6 and replicated
exactly the same
fatal error I got on CentOS4.4.

$ time bitbake nano
NOTE: Using cache in
'/usr/local/openembedded/build/tmp/cache/ep93xx'
NOTE: Handling BitBake files: / (4169/4169) [100 %]
NOTE: Parsing finished. 294 cached, 3688 parsed, 187
skipped, 0 masked.

<snip>
NOTE: package glibc-intermediate-2.5-r4: task do_configure:
started
ERROR: function do_configure failed
ERROR: see log in
/usr/local/openembedded/build/tmp/work/armv4t-linux/glibc-in
termediate-2.5-r4/temp/log.do_configure.31473
NOTE: Task failed:
/usr/local/openembedded/build/tmp/work/armv4t-linux/glibc-in
termediate-2.5-r4/temp/log.do_configure.31473
NOTE: package glibc-intermediate-2.5-r4: task do_configure:
failed
ERROR: TaskFailed event exception, aborting
NOTE: package glibc-intermediate-2.5: failed
ERROR: Build of nano failed

real    25m23.987s
user    16m22.065s
sys     3m29.809s

and...

$ tail -17
/usr/local/openembedded/build/tmp/work/armv4t-linux/glibc-in
termediate-2.5-r4/temp/log.do_configure.31473
checking for assembler .type directive prefix... %
checking for .symver assembler directive... yes
checking for ld --version-script... no
*** WARNING: You should not compile GNU libc without
versioning. Not using
*** versioning will introduce incompatibilities so that old
binaries
*** will not run anymore.
*** For versioning you need recent binutils
(binutils-2.8.1.0.23 or newer).
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive...
yes
checking whether __attribute__((visibility())) is
supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section...
no
checking for arm-linux-readelf... arm-linux-readelf
checking for .preinit_array/.init_array/.fini_array
support... no
configure: error: Need linker with .init_array/.fini_array
support.
FATAL: oe_runconf failed

I seem to have the required packages per the Recipe and
OpenEmbedded
Wiki RequiredSoftware page:

# rpm -q python patch m4 make ccache perl diffstat
boost-devel monotone
texi2html git xmlto lynx python-psyco monotone bitbake
python-2.4.4-1.fc6
patch-2.5.4-29.2.2
m4-1.4.5-4
make-3.81-1.1
ccache-2.4-7.fc6
perl-5.8.8-10
diffstat-1.43-1.fc6
boost-devel-1.33.1-11.fc6
monotone-0.32-1
texi2html-1.76-4.fc6
git-1.4.4.2-2.fc6
xmlto-0.0.18-13.1
lynx-2.8.5-28.1
python-psyco-1.5.1-4.fc6
monotone-0.32-1
bitbake-1.6.2-1

Only clue I found with googling is:
http://lists.linuxtogo.org/pipe
rmail/openembedded-issues/2007-January/001113.html

However, unsetting MACHINE and just counting on the
definition
in /usr/local/openembedded/build/conf/local.conf generates
complaints
about it not being set.

$ cat /usr/local/openembedded/build/conf/local.conf
MACHINE="ep93xx"
DISTRO="generic"
BBFILES="/usr/local/openembedded/org.openembedded.dev/p
ackages/*/*.bb"

I must be missing something.  Perhaps it is installing
bitbake from an
RPM and not under the /usr/local/openembedded/ tree, but
seems it would
not work at all if the paths were not set correctly.

Has anyone succeeded in building openembedded apps on a Red
Hat derived
distro?  What are the recommended working environments in
addition to
Ubuntu 6.10 (Currently downloading Edgy Eft - but not my
preferred
distro)?

Phil




Re: Recipe for setting up OpenEmbedded environment on wiki
country flaguser name
Australia
2007-02-10 23:18:06
Phil Schaffner wrote:
> Has anyone succeeded in building openembedded apps on a
Red Hat derived
> distro?  What are the recommended working environments
in addition to
> Ubuntu 6.10 (Currently downloading Edgy Eft - but not
my preferred
> distro)?

I build nslu2-linux firmware distributions (e.g.
DISTRO=openslug,
MACHINE=nslu2) regularly on CentOS 4.4 - in fact, I just
built four of
them from scratch today.  Have been doing so for some time. 
I also
build on Debian Etch.

Catch me ('rwhitby') on #openmoko or #nslu2-linux and we can
compare setups.

-- Rod


Re: Recipe for setting up OpenEmbedded environment on wiki
country flaguser name
United Kingdom
2007-02-11 09:58:48
Phil Schaffner wrote:
> I must be missing something.  Perhaps it is installing
bitbake from an
> RPM and not under the /usr/local/openembedded/ tree,
but seems it would
> not work at all if the paths were not set correctly.
> 
> Has anyone succeeded in building openembedded apps on a
Red Hat derived
> distro?

Yes. I have in FC6 (well, BLAG60000 actually). I did custom
builds (for myself 
only) of monotone and bitbake, everything else is stock
FC6+updates. I was able 
to `bitbake nano` and `bitbake bootstrap-image` though gpe-
& opie-image failed 
somewhere down the path.

Here's some info about my setup:

python-2.4.4-1.fc6
patch-2.5.4-29.2.2
m4-1.4.5-3
make-3.81-1.1
ccache-2.4-7.fc6
perl-5.8.8-10
diffstat-1.41-1.2.2
package boost-devel is not installed
monotone-0.32-0blag.fc6
texi2html-1.76-4.fc6
package git is not installed
package xmlto is not installed
package lynx is not installed
python-psyco-1.5.1-4.fc6
monotone-0.32-0blag.fc6
bitbake-1.6.2-0blag.fc6

MACHINE = "ep93xx"
DISTRO = "generic"


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )