[Openembedded-users] SDK building problem

Mats Kärrman Mats.Karrman at tritech.se
Thu Jan 13 14:09:58 UTC 2011


Hi openembedded users!

I'm new to OE and the list. I hope this question is appropriate for this forum and that someone can spare some time to help.

I'm already successfully building working FS images for my project.
Based on the OE user manual I created recipes for building an SDK - this also builds fine.
However when trying to compile code using GCC there is some missing dependencies, e.g.:

/usr/local/tp/powerpc/libexec/gcc/powerpc-tp-linux/4.3.3/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory

$ ldd /usr/local/tp/powerpc/libexec/gcc/powerpc-tp-linux/4.3.3/cc1
        linux-vdso.so.1 =>  (0x00007fffee171000)
        libmpfr.so.4 => not found
        libgmp.so.10 => not found
        libc.so.6 => /lib/libc.so.6 (0x00007f402c71b000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f402cabe000)

I'm running Ubuntu 10.4 and the missing libraries are there but in older versions.

The generated SDK contains the libraries in the correct versions but for the target architecture under /usr/local/tp/powerpc/powerpc-tp-linux/usr/lib/.

If I dig into the OE build directories I find the files I need under .../build/tmp-tp/sysroots/x86_64-linux/usr/lib/. If I copy these to the proper location, the build works as it should.

(Sorry for the long introduction, here comes the actual question)

I like to make OE include these libraries in the generated SDK but I'm sort of clue-less. Could anyone please point me off in the right direction on how to make this happen?

(Currently using Bitbake-1.8.18 and OE release-2010.12)

Best regards,
Mats

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20110113/937ee5d4/attachment-0002.html>


More information about the Openembedded-users mailing list