<?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: Cross compile helloworld error. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-helloworld-error/m-p/480039#M76428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/bobking"&gt;bobking&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In your imx6 file system library may be in different locations. so in &lt;STRONG&gt;Qt - sysroot &lt;/STRONG&gt;option you don't mention any location. keep it empty. This problem may solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravinth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2016 05:46:46 GMT</pubDate>
    <dc:creator>aravinthkumarja</dc:creator>
    <dc:date>2016-04-05T05:46:46Z</dc:date>
    <item>
      <title>Cross compile helloworld error.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-helloworld-error/m-p/480038#M76427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am trying to compile helloworld for imx6ulevk,but it give&amp;nbsp; link errors:&lt;/P&gt;&lt;P&gt;/home/whz/key/whz_imx6ul_gui/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -Wall&amp;nbsp; --sysroot=/home/whz/key/whz_imx6ul_gui/tmp/sysroots/x86_64-linux/ -o hello hello.c -L/home/whz/key/whz_imx6ul_gui/tmp/sysroots/x86_64-linux/usr/lib -L/home/whz/key/whz_imx6ul_gui/tmp/sysroots/imx6ulevk/usr/lib/arm-poky-linux-gnueabi/4.9.2 -L/home/whz/key/whz_imx6ul_gui/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/glibc/2.21-r0/sysroot-destdir/usr/lib -L/home/whz/key/whz_imx6ul_gui/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/libgcc/4.9.2-r0/gcc-4.9.2/build.arm-poky-linux-gnueabi.arm-poky-linux-gnueabi/libgcc/ -L/home/whz/key/whz_imx6ul_gui/tmp/sysroots/imx6ulevk-tcbootstrap/usr/lib &lt;/P&gt;&lt;P&gt;/home/whz/key/whz_imx6ul_gui/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find crt1.o: No such file or directory&lt;/P&gt;&lt;P&gt;/home/whz/key/whz_imx6ul_gui/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find crti.o: No such file or directory&lt;/P&gt;&lt;P&gt;/home/whz/key/whz_imx6ul_gui/tmp/sysroots/x86_64-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find crtbegin.o: No such file or directory&lt;/P&gt;&lt;P&gt;collect2: error: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; At the begining,te error is "Cannot find stdio.h",I copy those include file to cross compile's includelib.Then error become many&amp;nbsp; link error,so I use the -L option to tell compile where is those lib.But,even I add another "-L" where have file "crt1.o",it also have this error.What can I do?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 02:25:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-helloworld-error/m-p/480038#M76427</guid>
      <dc:creator>bobking</dc:creator>
      <dc:date>2016-04-05T02:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compile helloworld error.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-helloworld-error/m-p/480039#M76428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/bobking"&gt;bobking&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In your imx6 file system library may be in different locations. so in &lt;STRONG&gt;Qt - sysroot &lt;/STRONG&gt;option you don't mention any location. keep it empty. This problem may solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravinth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 05:46:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-helloworld-error/m-p/480039#M76428</guid>
      <dc:creator>aravinthkumarja</dc:creator>
      <dc:date>2016-04-05T05:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compile helloworld error.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-helloworld-error/m-p/480040#M76429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="253791" data-username="aravinthkumarjayaprakasam" href="https://community.nxp.com/people/aravinthkumarjayaprakasam" style="font-size: 1.286rem; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #017bba; text-decoration: underline;"&gt;aravinthkumar jayaprakasam&lt;/A&gt;：&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I tryed to remove "--sysroot" option,but,it still have this 3 link error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 05:57:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-helloworld-error/m-p/480040#M76429</guid>
      <dc:creator>bobking</dc:creator>
      <dc:date>2016-04-05T05:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compile helloworld error.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-helloworld-error/m-p/480041#M76430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/bobking"&gt;bobking&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;It's a linux library missing issue, refer below link, It may hope full for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/6329887/compiling-problems-cannot-find-crt1-o" title="http://stackoverflow.com/questions/6329887/compiling-problems-cannot-find-crt1-o"&gt;http://stackoverflow.com/questions/6329887/compiling-problems-cannot-find-crt1-o&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravinth &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 06:14:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-helloworld-error/m-p/480041#M76430</guid>
      <dc:creator>aravinthkumarja</dc:creator>
      <dc:date>2016-04-05T06:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compile helloworld error.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-helloworld-error/m-p/480042#M76431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may help you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-95333"&gt;Task #10 - How to create a custom layer&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 06:43:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compile-helloworld-error/m-p/480042#M76431</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2016-04-05T06:43:11Z</dc:date>
    </item>
  </channel>
</rss>

