<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: zlib missing on target in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/zlib-missing-on-target/m-p/261150#M26170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added &lt;STRONG&gt;staticdev-pkgs &lt;/STRONG&gt;to the&lt;STRONG&gt; IMAGE_FEATURES&lt;/STRONG&gt; variable like this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IMAGE_FEATURES += "staticdev-pkgs"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to only add staticdev packages for zlib?&lt;/P&gt;&lt;P&gt;My image is now 200MB larger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Feb 2014 09:55:13 GMT</pubDate>
    <dc:creator>johanw</dc:creator>
    <dc:date>2014-02-28T09:55:13Z</dc:date>
    <item>
      <title>zlib missing on target</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zlib-missing-on-target/m-p/261148#M26168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a wandboard-quad and try to build CPAN modules for logitech media server on target.&lt;/P&gt;&lt;P&gt;The BSP I used is the fsl-community-bsp-platform (dora branch).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From my local.conf:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IMAGE_INSTALL_append = " bash rsync nano zlib packegroup-core-buildessential test squeeze perl alsa-lib libmad libvorbis faad2 mpg123"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I bitbake the image "core-image-base".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a "&lt;STRONG&gt;buildme.sh&lt;/STRONG&gt;" script to build the CPAN modules(&lt;STRONG&gt;&lt;A class="jive-link-external-small" href="https://github.com/Logitech/slimserver-vendor/tree/public/7.7/CPAN"&gt;https://github.com/Logitech/slimserver-vendor/tree/public/7.7/CPAN&lt;/A&gt;&lt;/STRONG&gt;) on target.&lt;/P&gt;&lt;P&gt;The compilation fails on &lt;STRONG&gt;libpng-1.4.3&lt;/STRONG&gt; complaining about missing zlib:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;configure:11370: checking for libVersion in -lz&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;configure:11395: gcc -o conftest -fPIC -O3 -fPIC -O3 conftest.c -lz -lm &amp;gt;&amp;amp;5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/usr/lib/gcc/arm-poky-linux-gnueabi/4.8.1/../../../../arm-poky-linux-gnueabi/bin/ld: cannot find -lz&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;collect2: error: Id returned 1 exit status&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like the zlib-devel is missing. I have tried to find a devel package with bitbake -s but the only packages related to zlib are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;zlib&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nativesdk-zlib (what is this?)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;zlib-native (what is this?)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how to add nativesdk-zlib and zlib-native to my local.conf. Is this required?&lt;/P&gt;&lt;P&gt;I hope someone can help a beginner on Linux and Yocto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 11:56:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zlib-missing-on-target/m-p/261148#M26168</guid>
      <dc:creator>johanw</dc:creator>
      <dc:date>2014-02-26T11:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: zlib missing on target</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zlib-missing-on-target/m-p/261149#M26169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I make the question more simple.&lt;/P&gt;&lt;P&gt;Why can't I find &lt;STRONG&gt;libz.a&lt;/STRONG&gt; on target even if zlib is added to the "&lt;STRONG&gt;IMAGE_INSTALL_append&lt;/STRONG&gt;" variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:10:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zlib-missing-on-target/m-p/261149#M26169</guid>
      <dc:creator>johanw</dc:creator>
      <dc:date>2014-02-28T09:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: zlib missing on target</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zlib-missing-on-target/m-p/261150#M26170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added &lt;STRONG&gt;staticdev-pkgs &lt;/STRONG&gt;to the&lt;STRONG&gt; IMAGE_FEATURES&lt;/STRONG&gt; variable like this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IMAGE_FEATURES += "staticdev-pkgs"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to only add staticdev packages for zlib?&lt;/P&gt;&lt;P&gt;My image is now 200MB larger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:55:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zlib-missing-on-target/m-p/261150#M26170</guid>
      <dc:creator>johanw</dc:creator>
      <dc:date>2014-02-28T09:55:13Z</dc:date>
    </item>
  </channel>
</rss>

