Recipe for setting up OpenEmbedded environment on wiki
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.
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.
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
$ 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-184.108.40.206.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
Only clue I found with googling is:
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
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
More information about the openmoko-devel