<?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: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278631#M31640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to reboot the machine to enable the changes. And then it should work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2013 19:42:24 GMT</pubDate>
    <dc:creator>makislivadas</dc:creator>
    <dc:date>2013-10-21T19:42:24Z</dc:date>
    <item>
      <title>LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278625#M31634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Decided to give the latest BSP a go and build it from fresh, remove /opt/freescale directory and installed new LTIB direcrory, from sources.&lt;/P&gt;&lt;P&gt;My Ubuntu 13.10 system already has a build version of the Linux BSP so it has all the necessary packages required to build it.&lt;/P&gt;&lt;P&gt;However when I try to rebuild from fresh it fails straight away when it tries to build rpm-fs package.&lt;/P&gt;&lt;P&gt;I believe the problem is the new version of Ubuntu 13.10. Usually a bit of trial and error fixes the problem and I can build the BSP, but in this case the problem appears a bit more stubborn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a trace with the failure I am getting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Making all in tools&lt;BR /&gt;make[2]: Entering directory `/tmp/rpm-makis/BUILD/rpm-4.0.4/tools'&lt;BR /&gt;/bin/sh ../libtool --mode=link gcc&amp;nbsp; -g -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts&amp;nbsp; -o dump&amp;nbsp; dump.o ../build/librpmbuild.la ../lib/librpm.la ../rpmdb/librpmdb.la ../rpmio/librpmio.la ../popt/libpopt.la&lt;BR /&gt;gcc -g -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o .libs/dump dump.o&amp;nbsp; ../build/.libs/librpmbuild.so ../lib/.libs/librpm.so ../rpmdb/.libs/librpmdb.so ../rpmio/.libs/librpmio.so -lz -lbz2 -lrt -lpthread ../popt/.libs/libpopt.so -Wl,--rpath -Wl,/opt/freescale/ltib/usr/lib&lt;BR /&gt;../rpmio/.libs/librpmio.so: undefined reference to `aio_suspend'&lt;BR /&gt;../rpmdb/.libs/librpmdb.so: undefined reference to `pthread_condattr_setpshared'&lt;BR /&gt;../rpmdb/.libs/librpmdb.so: undefined reference to `pthread_mutexattr_setpshared'&lt;BR /&gt;../rpmio/.libs/librpmio.so: undefined reference to `aio_return'&lt;BR /&gt;../rpmdb/.libs/librpmdb.so: undefined reference to `pthread_mutex_trylock'&lt;BR /&gt;../rpmio/.libs/librpmio.so: undefined reference to `aio_read'&lt;BR /&gt;../rpmdb/.libs/librpmdb.so: undefined reference to `pthread_mutexattr_init'&lt;BR /&gt;../rpmio/.libs/librpmio.so: undefined reference to `aio_error'&lt;BR /&gt;../rpmdb/.libs/librpmdb.so: undefined reference to `pthread_mutexattr_destroy'&lt;BR /&gt;../rpmio/.libs/librpmio.so: undefined reference to `aio_cancel'&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;BR /&gt;make[2]: *** [dump] Error 1&lt;BR /&gt;make[2]: Leaving directory `/tmp/rpm-makis/BUILD/rpm-4.0.4/tools'&lt;BR /&gt;make[1]: *** [all-recursive] Error 1&lt;BR /&gt;make[1]: Leaving directory `/tmp/rpm-makis/BUILD/rpm-4.0.4'&lt;BR /&gt;make: *** [all-recursive-am] Error 2&lt;BR /&gt;error: Bad exit status from /home/makis/imx6/ltib/tmp/rpm-tmp.cnutYF (%build)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;RPM build errors:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bad exit status from /home/makis/imx6/ltib/tmp/rpm-tmp.cnutYF (%build)&lt;BR /&gt;Build time for rpm-fs: 17 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed building rpm-fs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 00:05:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278625#M31634</guid>
      <dc:creator>makislivadas</dc:creator>
      <dc:date>2013-10-15T00:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278626#M31635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Makis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From your debug log the problem is that, the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;rpm-fs package&lt;/SPAN&gt; can't able to link with lrt and lpthread libraries so better do distclean and then start your build again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; ./ltib -m distclean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Raybiztech.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 18:01:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278626#M31635</guid>
      <dc:creator>Raybiztech</dc:creator>
      <dc:date>2013-10-15T18:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278627#M31636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks,&lt;/P&gt;&lt;P&gt;I did this and did not fix the issue. However, I see that this is a problem related to Ubuntu 13.10 64bit, on another Ubuntu 13.10 32bit machine there seems to be no issue building rpm-fs package.&lt;/P&gt;&lt;P&gt;Makis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 22:45:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278627#M31636</guid>
      <dc:creator>makislivadas</dc:creator>
      <dc:date>2013-10-15T22:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278628#M31637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears that on the new Ubuntu 13.10 64bit version the rpm-fs package configuration is not finding the libraries needed for the build. So when is trying to complete the final link phase it fails. The libraries he is looking are stored into the 64 bit lib area but the rpm-fs build is not seeing them (and yes ./ltib -m distclean is not fixing this). I manage to get over this issue by doing a symbolic link of the libraries he is looking for into the usual lib directory /ust/lib. This Is not a great fix but is letting me build the image with LTIB on the 64bit system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 19:25:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278628#M31637</guid>
      <dc:creator>makislivadas</dc:creator>
      <dc:date>2013-10-16T19:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278629#M31638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Makis, you are leading this Ubuntu 13.10 exploration with LTIB :smileyhappy: Good that you found and shared the link. In the other hand, you may know that Freescale will move to Yocto next year (there are two alphas but the beta release is expected next year), so I wonder if you have consider moving your development into this framework.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 20:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278629#M31638</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-10-16T20:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278630#M31639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Makis,&lt;/P&gt;&lt;P&gt;I tried your suggestion with the sym links, however the problem remained.&amp;nbsp; I am new to LTIB and perhaps am not targeting the correct lib directories.&amp;nbsp; Would you be able to provide the specific links that you added?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;david&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 05:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278630#M31639</guid>
      <dc:creator>davidfeeney</dc:creator>
      <dc:date>2013-10-21T05:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278631#M31640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to reboot the machine to enable the changes. And then it should work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 19:42:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278631#M31640</guid>
      <dc:creator>makislivadas</dc:creator>
      <dc:date>2013-10-21T19:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278632#M31641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wanted to say "Thanks" Makis!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for the record, the specific solution is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;sudo ln -s /usr/lib/x86_64-linux-gnu/librt.so /usr/lib/librt.so&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Reboot&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 02:09:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278632#M31641</guid>
      <dc:creator>davidfeeney</dc:creator>
      <dc:date>2013-10-25T02:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278633#M31642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think something is broken on 13.10 64 bit WRT to multilib support. Trying to compile&lt;/P&gt;&lt;P&gt;a normal C application that uses pthread functions I get the same sort of link errors.&lt;/P&gt;&lt;P&gt;Interestingly if I look at the symbols I am trying to resolve from my shared library I&lt;/P&gt;&lt;P&gt;see stuff like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; U pthread_create&lt;/P&gt;&lt;P&gt; U pthread_attr_init@@GLIBC_2.2.5&lt;/P&gt;&lt;P&gt; U pthread_mutex_destroy@@GLIBC_2.2.5&lt;/P&gt;&lt;P&gt; U pthread_mutex_init@@GLIBC_2.2.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The @@ symbols all resolve but the non scoped ones like "pthread_create" don't.&lt;/P&gt;&lt;P&gt;Not really sure why this is happening ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 10:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278633#M31642</guid>
      <dc:creator>steveosselton</dc:creator>
      <dc:date>2013-10-25T10:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278634#M31643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is good news :smileyhappy: Have been using Yocto for some of the QorIQ systems and seems much more&lt;/P&gt;&lt;P&gt;robust and flexible than LTIB. Am keen to give the beta a try whenever ready.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 12:39:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278634#M31643</guid>
      <dc:creator>steveosselton</dc:creator>
      <dc:date>2013-10-25T12:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278635#M31644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yocto is more stable and portable than LTIB. Give it try and do not give up in the first try!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 15:14:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278635#M31644</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-10-25T15:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: LTIB - Strange problem building IMX6 Linux BSP from fresh on Ubuntu 13.10</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278636#M31645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can compile with &lt;EM&gt;-pthread&lt;/EM&gt; and these errors should go away.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 22:56:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LTIB-Strange-problem-building-IMX6-Linux-BSP-from-fresh-on/m-p/278636#M31645</guid>
      <dc:creator>billpringlemeir</dc:creator>
      <dc:date>2013-11-22T22:56:47Z</dc:date>
    </item>
  </channel>
</rss>

