<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">W dniu 2016-12-22 o 09:16, Mateusz
      Orzoł pisze:<br>
    </div>
    <blockquote
      cite="mid:f8e70915-43bf-5edb-4163-70ba032c6171@3cityelectronics.com"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <p><br>
      </p>
      <br>
      <div class="moz-cite-prefix">W dniu 2016-12-21 o 18:21, Khem Raj
        pisze:<br>
      </div>
      <blockquote
cite="mid:CAMKF1spFedNKS=jWSa7=EK49gxVJ5Z1fXGXgmpb10N8714_f4g@mail.gmail.com"
        type="cite">
        <pre wrap="">On Tue, Dec 20, 2016 at 10:54 PM, Mateusz Orzoł
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:mateusz.orzol@3cityelectronics.com"><mateusz.orzol@3cityelectronics.com></a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">
W dniu 2016-12-20 o 10:46, Mateusz Orzoł pisze:



W dniu 2016-12-20 o 00:43, Khem Raj pisze:



On Mon, Dec 19, 2016 at 1:46 PM, Mateusz Orzoł
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:mateusz.orzol@3cityelectronics.com"><mateusz.orzol@3cityelectronics.com></a> wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">Hi everyone,

I am migrating my old Yocto image from kernel 3.8 to 4.1 on the Intel
Quark based platform. After dealing with some SPI driver issues now I've
encountered some strange bitbake behaviour. My web application requires
UltraJson , LMDB and Netifaces modules. After running bitbake  I am getting
a lot of undefined reference errors. In all three cases pretty similar.
Exemplary log for python-ujson is here: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://pastebin.com/8ms9PgnY">http://pastebin.com/8ms9PgnY</a> . It
seems like the python environment wasn't linked properly but many other
python recipes have no problem with compiling.

The python-ujson recipe comes from here
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://layers.openembedded.org/layerindex/recipe/49510/">https://layers.openembedded.org/layerindex/recipe/49510/</a>. In  previous
distribution with kernel 3.8 it was working without any problem.

Have you got any idea what could be wrong or what should I check first?
</pre>
          </blockquote>
          <pre wrap="">
The error seems to have nothing to do with kernel version. Are you upgrading
the whole of yocto framework from one release to another ? and if yes from
which version to which new version.



I am upgrading from 1.4.2 Dylan version to Krogoth. Firstly I've prepared
clean Krogoth image which worked fine. Now I am adding necessary recipes and
packages one by one and currently the only problem I've encountered is the
mentioned one.

Hi,
W have found found quick fix for this.  The errors disappeared when all the
build flags were cleared in mentioned python modules recipes. It means
TARGET_CFLAGS = "" LDFLAGS = "" CFLAGS = "" in module .bb file. It was
checked on the device that modules are visible in python and they work. I
don't know why this helped and also what was causing the issue. Do you have
any clues what was wrong and how to fix it in proper way?
</pre>
        </blockquote>
        <pre wrap="">Can you post the exact change ? perhaps there is issue in Makefile
environment that
bitbake is handing off to the makefiles of this component. There
change in this area
in OE recently.</pre>
      </blockquote>
      Hi,<br>
      the exact change in the python-ujson_1.35.bb  file: <a
        moz-do-not-send="true" class="moz-txt-link-freetext"
        href="http://pastebin.com/L2JQvQD0">http://pastebin.com/L2JQvQD0</a>. 
      The change in other python modules bitbake files is identical. <br>
    </blockquote>
    Sorry the link is broken because of the dot <a
      moz-do-not-send="true" class="moz-txt-link-freetext"
      href="http://pastebin.com/L2JQvQD0">http://pastebin.com/L2JQvQD0</a>
    <blockquote
      cite="mid:f8e70915-43bf-5edb-4163-70ba032c6171@3cityelectronics.com"
      type="cite">
      <blockquote
cite="mid:CAMKF1spFedNKS=jWSa7=EK49gxVJ5Z1fXGXgmpb10N8714_f4g@mail.gmail.com"
        type="cite">
        <pre wrap="">
</pre>
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">Thank you for your help in advance,

Mateusz


--


--
_______________________________________________
yocto mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.yoctoproject.org/listinfo/yocto">https://lists.yoctoproject.org/listinfo/yocto</a>

</pre>
          </blockquote>
          <pre wrap="">
--



--

</pre>
        </blockquote>
      </blockquote>
      <br>
      <div class="moz-signature">-- <br>
        <meta http-equiv="content-type" content="text/html;
          charset=utf-8">
        <title></title>
        <map name="mapa1">
          <area shape="rect" coords="36,110,173,119"
            href="http://www.3CityElectronics.com/">
          <area shape="circle" coords="45,145,10"
            href="https://www.facebook.com/3CTE.POLAND/?fref=nf">
          <area shape="circle" coords="72,145,10"
href="https://www.linkedin.com/company/3city-electronics-sp-z-o-o-?trk=company_logo">
          <area shape="rect" coords="435,34,613,52"
            href="http://www.3CityElectronics.com/">
           </map>
      </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <title></title>
      <map name="mapa1">
        <area shape="rect" coords="36,110,173,119"
          href="http://www.3CityElectronics.com/">
        <area shape="circle" coords="45,145,10"
          href="https://www.facebook.com/3CTE.POLAND/?fref=nf">
        <area shape="circle" coords="72,145,10"
href="https://www.linkedin.com/company/3city-electronics-sp-z-o-o-?trk=company_logo">
        <area shape="rect" coords="435,34,613,52"
          href="http://www.3CityElectronics.com/">
         </map>
    </div>
  </body>
</html>