<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE id=owaParaStyle type=text/css>P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>

<META content="MSHTML 6.00.2900.6049" name=GENERATOR></HEAD>
<BODY fpstyle="1" ocsi="0">
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=458363314-13012011>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=458363314-13012011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=458363314-13012011>I did 
exactly what you want with this documentation:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=458363314-13012011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><A 
href="http://docs.openembedded.org/usermanual/usermanual.html#commonuse_qte_sdk">http://docs.openembedded.org/usermanual/usermanual.html#commonuse_qte_sdk</A></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=458363314-13012011><FONT face=Arial color=#0000ff size=2>Kind 
regards,</FONT></SPAN></DIV>
<DIV><SPAN class=458363314-13012011><FONT face=Arial color=#0000ff 
size=2>Fabrice </FONT></SPAN></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>Von:</B> openembedded-users-bounces@linuxtogo.org 
  [mailto:openembedded-users-bounces@linuxtogo.org] <B>Im Auftrag von </B>Mats 
  Kärrman<BR><B>Gesendet:</B> Donnerstag, 13. Januar 2011 15:10<BR><B>An:</B> 
  openembedded-users@linuxtogo.org<BR><B>Betreff:</B> [Openembedded-users] SDK 
  building problem<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV 
  style="FONT-SIZE: 10pt; COLOR: #000000; DIRECTION: ltr; FONT-FAMILY: Tahoma">Hi 
  openembedded users!<BR><BR>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.<BR><BR>I'm already successfully building working FS images for my 
  project.<BR>Based on the OE user manual I created recipes for building an SDK 
  - this also builds fine.<BR>However when trying to compile code using GCC 
  there is some missing dependencies, 
  e.g.:<BR><BR>/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<BR><BR>$ ldd 
  /usr/local/tp/powerpc/libexec/gcc/powerpc-tp-linux/4.3.3/cc1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  linux-vdso.so.1 =&gt;&nbsp; 
  (0x00007fffee171000)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  libmpfr.so.4 =&gt; not found<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  libgmp.so.10 =&gt; not found<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  libc.so.6 =&gt; /lib/libc.so.6 
  (0x00007f402c71b000)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  /lib64/ld-linux-x86-64.so.2 (0x00007f402cabe000)<BR><BR>I'm running Ubuntu 
  10.4 and the missing libraries are there but in older versions.<BR><BR>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/.<BR><BR>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.<BR><BR>(Sorry for the long 
  introduction, here comes the actual question)<BR><BR>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?<BR><BR>(Currently using Bitbake-1.8.18 and OE 
  release-2010.12)<BR><BR>Best 
regards,<BR>Mats<BR><BR></DIV></BLOCKQUOTE></BODY></HTML>