<?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>i.MX Processors中的主题 compilation error while compile external application code with yocto 2.0 for imx6sl</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/compilation-error-while-compile-external-application-code-with/m-p/482683#M76959</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 am using yocto 2.0 (jethro) and it s fully compiled. nw i have to use a external application code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is using the toolchain of yocto for its compilation now i am getting many errors related to linking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have also compile this code with yocto 1.6which is using gcc-4.8 and it is successfully compiled but when i am compiling it with yocto 2.0 (gcc 5.2.0) code it is giving error one after another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so is there any change in the toolchain which is causing me this issue or there is some other problem. i have updated&amp;nbsp; the toolchain path in the application code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all i have get the below error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sem_util.c:17:23: fatal error: sys/types.h: No such file or directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after giving some parameters in the makefile i have able to solve this issue after that issue related to stubs/soft.h which i have solved now i am getting following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/home/shubham/project/tixu_pmic/svn/src/build/tmp/sysroots/i686-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/ld: cannot find crti.o: No such file or directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/home/shubham/project/tixu_pmic/svn/src/build/tmp/sysroots/i686-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/ld: cannot find crtbeginS.o: No such file or directory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 10:37:30 GMT</pubDate>
    <dc:creator>goldys</dc:creator>
    <dc:date>2016-04-27T10:37:30Z</dc:date>
    <item>
      <title>compilation error while compile external application code with yocto 2.0 for imx6sl</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/compilation-error-while-compile-external-application-code-with/m-p/482683#M76959</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 am using yocto 2.0 (jethro) and it s fully compiled. nw i have to use a external application code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is using the toolchain of yocto for its compilation now i am getting many errors related to linking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have also compile this code with yocto 1.6which is using gcc-4.8 and it is successfully compiled but when i am compiling it with yocto 2.0 (gcc 5.2.0) code it is giving error one after another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so is there any change in the toolchain which is causing me this issue or there is some other problem. i have updated&amp;nbsp; the toolchain path in the application code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all i have get the below error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sem_util.c:17:23: fatal error: sys/types.h: No such file or directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after giving some parameters in the makefile i have able to solve this issue after that issue related to stubs/soft.h which i have solved now i am getting following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/home/shubham/project/tixu_pmic/svn/src/build/tmp/sysroots/i686-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/ld: cannot find crti.o: No such file or directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/home/shubham/project/tixu_pmic/svn/src/build/tmp/sysroots/i686-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/ld: cannot find crtbeginS.o: No such file or directory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 10:37:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/compilation-error-while-compile-external-application-code-with/m-p/482683#M76959</guid>
      <dc:creator>goldys</dc:creator>
      <dc:date>2016-04-27T10:37:30Z</dc:date>
    </item>
  </channel>
</rss>

