Recipe for setting up OpenEmbedded environment on wiki

Phil Schaffner P.R.Schaffner at IEEE.org
Sun Feb 11 05:50:16 CET 2007


On Thu, 2007-02-08 at 09:10 -0800, michael at michaelshiloh.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-intermediate-2.5-r4/temp/log.do_configure.31473
NOTE: Task failed: /usr/local/openembedded/build/tmp/work/armv4t-linux/glibc-intermediate-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-intermediate-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/pipermail/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/packages/*/*.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






More information about the openmoko-devel mailing list