<div dir="ltr">I forgot to precise, compiling, doesn't work on the host system, it cannot compile a simple .c file, not finding "stdio.h".</div><br><div class="gmail_quote"><div dir="ltr">On Sun, 23 Apr 2017 at 10:40 David Bensoussan <<a href="mailto:dbensoussan@synapticon.com">dbensoussan@synapticon.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I managed to track down how to create the SDK. Sorry for the long answer but it might help people googling it.<br><div><br></div><div>DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}" in <b>meta-poky/conf/distro/poky.conf</b></div><div>DISTRO_FEATURES_LIBC is defined as DISTRO_FEATURES_LIBC_DEFAULT in <b>meta/conf/distro/include/default-distrovars.inc</b><br></div><div><div>DISTRO_FEATURES_LIBC_DEFAULT ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">                                 </span>libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">                                    </span>libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">                                        </span>libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">                                  </span>libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">                                  </span>libc-posix-wchar-io" i<b>n the same file</b></div></div><div><b><br></b></div><div>And finally:</div><div><br></div><div><div>LIBC_DEPENDENCIES = "libsegfault \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">            </span>     glibc \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">                </span>     glibc-dbg \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">            </span>     glibc-dev \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">            </span>     glibc-utils \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">          </span>     glibc-thread-db \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">              </span>     ${@get_libc_locales_dependencies(d)}"</div><div><br></div><div>LIBC_LOCALE_DEPENDENCIES = "\</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">   </span>glibc-localedata-i18n \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">       </span>glibc-gconv-ibm850 \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">  </span>glibc-gconv-cp1252 \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">  </span>glibc-gconv-iso8859-1 \</div><div><span class="m_4609314871860484Apple-tab-span" style="white-space:pre-wrap">       </span>glibc-gconv-iso8859-15"</div><div><br></div><div>def get_libc_locales_dependencies(d):</div><div>    if 'libc-locales' in (d.getVar('DISTRO_FEATURES', True) or '').split() :</div><div>        return d.getVar('LIBC_LOCALE_DEPENDENCIES', True) or ''</div><div>    else:</div><div>        return ''</div><div style="font-weight:bold"><br></div></div><div><b>in ../meta/conf/distro/include/tclibc-glibc.inc<br></b></div><div><b><br></b></div><div>This is how they are enabled. To make it work, I added in my local.conf:<br><div>LIBC_DEPENDENCIES_remove += "glibc-gconv-cp1252 glibc-gconv-ibm850 glibc-gconv-iso8859-1 glibc-gconv-iso8859-15 glibc-localedata-i18n"</div></div><div><br>Now, I simply wonder why is there a "compatibility issue" having them in the DISTRO_FEATURES. </div><br></div><br><div class="gmail_quote"><div dir="ltr">On Sat, 22 Apr 2017 at 09:49 David Bensoussan <<a href="mailto:dbensoussan@synapticon.com" target="_blank">dbensoussan@synapticon.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It was a typo, sorry, I typed it without the "do_"</div><br><div class="gmail_quote"><div dir="ltr">On Fri, 21 Apr 2017 at 20:50 Trevor Woerner <<a href="mailto:twoerner@gmail.com" target="_blank">twoerner@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri 2017-04-21 @ 11:37:44 AM, David Bensoussan wrote:<br>
> I wanted to generate an sdk and met these errors while executing:<br>
> $ bitbake core-image-base -c do_populate_sdk<br>
<br>
Does adding the "do_" work? Is there any difference if you type:<br>
<br>
        $ bitbake core-image-base -c populate_sdk<br>
<br>
?<br>
</blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p id="m_4609314871860484m_1602349764644549906inbox-inbox-person-name" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(0,0,0);padding:0px;margin:1em 0px"><strong style="box-sizing:border-box">David bensoussan</strong><br style="box-sizing:border-box">Roboticist / Embedded Software Engineer</p><hr style="box-sizing:border-box;margin:0px;padding:0px;height:1px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(229,27,65);border:none;color:rgb(17,17,17);font-family:arial,helvetica,sans-serif;font-size:13.3333px"><p id="m_4609314871860484m_1602349764644549906inbox-inbox-tag-line" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);padding:0px;margin:1em 0px"><strong style="box-sizing:border-box">Synapticon</strong><span class="m_4609314871860484m_1602349764644549906inbox-inbox-Apple-converted-space"> </span>| Robotic Control Systems</p><table cellpadding="0" cellspacing="0" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(17,17,17);padding:0px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px">Mobile:</td><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px">015779804515</td></tr><tr style="box-sizing:border-box"><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px">Fax:</td><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px"><a href="tel:+49%207031%203047899" value="+4970313047899" target="_blank">+49 7031 / 30 478 -99</a></td></tr></tbody></table><p style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(0,0,0);padding:0px;margin:1em 0px"><a href="https://www.synapticon.com/" style="box-sizing:border-box;color:rgb(1,81,154)" target="_blank"><strong style="box-sizing:border-box">synapticon.com</strong></a><span class="m_4609314871860484m_1602349764644549906inbox-inbox-Apple-converted-space"> </span>|<span class="m_4609314871860484m_1602349764644549906inbox-inbox-Apple-converted-space"> </span><a href="https://twitter.com/#!/synapticon_co" style="box-sizing:border-box;color:rgb(1,81,154)" target="_blank">Twitter</a><span class="m_4609314871860484m_1602349764644549906inbox-inbox-Apple-converted-space"> </span>|<span class="m_4609314871860484m_1602349764644549906inbox-inbox-Apple-converted-space"> </span><a href="https://fb.com/Synapticon" style="box-sizing:border-box;color:rgb(1,81,154)" target="_blank">Facebook</a></p><p id="m_4609314871860484m_1602349764644549906inbox-inbox-address" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(153,153,153);padding:0px;margin:1em 0px">Synapticon GmbH | Daimlerstraße 26 | 71101 Schönaich, Germany<span class="m_4609314871860484m_1602349764644549906inbox-inbox-Apple-converted-space"> </span><br style="box-sizing:border-box">Secretary +49 7031 / 30 478 -0 | Managing Director: Nikolai Ensslen<span class="m_4609314871860484m_1602349764644549906inbox-inbox-Apple-converted-space"> </span><br style="box-sizing:border-box">Amtsgericht Stuttgart HRB 756076 | USt-ID DE271647127<span class="m_4609314871860484m_1602349764644549906inbox-inbox-Apple-converted-space"> </span><br style="box-sizing:border-box"></p><p style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(0,0,0);padding:0px;margin:1em 0px"></p><p id="m_4609314871860484m_1602349764644549906inbox-inbox-confidentiality" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:7.5pt;color:rgb(153,153,153);padding:0px;margin:1em 0px;width:450px">This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately if you have received this e-mail by mistake and delete it from your system.</p></div></div></blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p id="m_4609314871860484inbox-inbox-person-name" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(0,0,0);padding:0px;margin:1em 0px"><strong style="box-sizing:border-box">David bensoussan</strong><br style="box-sizing:border-box">Roboticist / Embedded Software Engineer</p><hr style="box-sizing:border-box;margin:0px;padding:0px;height:1px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(229,27,65);border:none;color:rgb(17,17,17);font-family:arial,helvetica,sans-serif;font-size:13.3333px"><p id="m_4609314871860484inbox-inbox-tag-line" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);padding:0px;margin:1em 0px"><strong style="box-sizing:border-box">Synapticon</strong><span class="m_4609314871860484inbox-inbox-Apple-converted-space"> </span>| Robotic Control Systems</p><table cellpadding="0" cellspacing="0" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(17,17,17);padding:0px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px">Mobile:</td><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px">015779804515</td></tr><tr style="box-sizing:border-box"><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px">Fax:</td><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px"><a href="tel:+49%207031%203047899" value="+4970313047899" target="_blank">+49 7031 / 30 478 -99</a></td></tr></tbody></table><p style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(0,0,0);padding:0px;margin:1em 0px"><a href="https://www.synapticon.com/" style="box-sizing:border-box;color:rgb(1,81,154)" target="_blank"><strong style="box-sizing:border-box">synapticon.com</strong></a><span class="m_4609314871860484inbox-inbox-Apple-converted-space"> </span>|<span class="m_4609314871860484inbox-inbox-Apple-converted-space"> </span><a href="https://twitter.com/#!/synapticon_co" style="box-sizing:border-box;color:rgb(1,81,154)" target="_blank">Twitter</a><span class="m_4609314871860484inbox-inbox-Apple-converted-space"> </span>|<span class="m_4609314871860484inbox-inbox-Apple-converted-space"> </span><a href="https://fb.com/Synapticon" style="box-sizing:border-box;color:rgb(1,81,154)" target="_blank">Facebook</a></p><p id="m_4609314871860484inbox-inbox-address" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(153,153,153);padding:0px;margin:1em 0px">Synapticon GmbH | Daimlerstraße 26 | 71101 Schönaich, Germany<span class="m_4609314871860484inbox-inbox-Apple-converted-space"> </span><br style="box-sizing:border-box">Secretary +49 7031 / 30 478 -0 | Managing Director: Nikolai Ensslen<span class="m_4609314871860484inbox-inbox-Apple-converted-space"> </span><br style="box-sizing:border-box">Amtsgericht Stuttgart HRB 756076 | USt-ID DE271647127<span class="m_4609314871860484inbox-inbox-Apple-converted-space"> </span><br style="box-sizing:border-box"></p><p style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(0,0,0);padding:0px;margin:1em 0px"></p><p id="m_4609314871860484inbox-inbox-confidentiality" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:7.5pt;color:rgb(153,153,153);padding:0px;margin:1em 0px;width:450px">This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately if you have received this e-mail by mistake and delete it from your system.</p></div></div></blockquote></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p id="inbox-inbox-person-name" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(0,0,0);padding:0px;margin:1em 0px"><strong style="box-sizing:border-box">David bensoussan</strong><br style="box-sizing:border-box">Roboticist / Embedded Software Engineer</p><hr style="box-sizing:border-box;margin:0px;padding:0px;height:1px;background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;background-color:rgb(229,27,65);border:none;color:rgb(17,17,17);font-family:arial,helvetica,sans-serif;font-size:13.3333px"><p id="inbox-inbox-tag-line" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0);padding:0px;margin:1em 0px"><strong style="box-sizing:border-box">Synapticon</strong><span class="inbox-inbox-Apple-converted-space"> </span>| Robotic Control Systems</p><table cellpadding="0" cellspacing="0" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(17,17,17);padding:0px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px">Mobile:</td><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px">015779804515</td></tr><tr style="box-sizing:border-box"><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px">Fax:</td><td style="box-sizing:border-box;color:rgb(0,0,0);padding:0px 15px 3px 0px">+49 7031 / 30 478 -99</td></tr></tbody></table><p style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(0,0,0);padding:0px;margin:1em 0px"><a href="https://www.synapticon.com/" style="box-sizing:border-box;color:rgb(1,81,154)"><strong style="box-sizing:border-box">synapticon.com</strong></a><span class="inbox-inbox-Apple-converted-space"> </span>|<span class="inbox-inbox-Apple-converted-space"> </span><a href="https://twitter.com/#!/synapticon_co" style="box-sizing:border-box;color:rgb(1,81,154)">Twitter</a><span class="inbox-inbox-Apple-converted-space"> </span>|<span class="inbox-inbox-Apple-converted-space"> </span><a href="https://fb.com/Synapticon" style="box-sizing:border-box;color:rgb(1,81,154)">Facebook</a></p><p id="inbox-inbox-address" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(153,153,153);padding:0px;margin:1em 0px">Synapticon GmbH | Daimlerstraße 26 | 71101 Schönaich, Germany<span class="inbox-inbox-Apple-converted-space"> </span><br style="box-sizing:border-box">Secretary +49 7031 / 30 478 -0 | Managing Director: Nikolai Ensslen<span class="inbox-inbox-Apple-converted-space"> </span><br style="box-sizing:border-box">Amtsgericht Stuttgart HRB 756076 | USt-ID DE271647127<span class="inbox-inbox-Apple-converted-space"> </span><br style="box-sizing:border-box"></p><p style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:13.3333px;color:rgb(0,0,0);padding:0px;margin:1em 0px"></p><p id="inbox-inbox-confidentiality" style="box-sizing:border-box;font-family:arial,helvetica,sans-serif;font-size:7.5pt;color:rgb(153,153,153);padding:0px;margin:1em 0px;width:450px">This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately if you have received this e-mail by mistake and delete it from your system.</p></div></div>