<?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: &amp;quot;Getting fatal error: stdio.h: No such file or directory and  fatal error: stdlib.h: No suc in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/quot-Getting-fatal-error-stdio-h-No-such-file-or-directory-and/m-p/1885934#M224862</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761"&gt;@Chavira&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;For your additional information, I want to inform you that&lt;BR /&gt;I found out stdio.h and stdlib.h path and added in the CFLAGS&lt;BR /&gt;Example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CFLAGS += -I~/imx-yocto-bsp/build/tmp/work/cortexa7t2hf-neon-poky-linux-gnueabi/util-linux/2.37.4-r0/recipe-sysroot/usr/include/&lt;/STRONG&gt;&lt;BR /&gt;but after that if I start compilation again I a getting the another error:&amp;nbsp; &lt;STRONG&gt;fatal error: gnu/stubs-soft.h: No such file or directory&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2024 07:59:31 GMT</pubDate>
    <dc:creator>ParnaSankar</dc:creator>
    <dc:date>2024-06-12T07:59:31Z</dc:date>
    <item>
      <title>"Getting fatal error: stdio.h: No such file or directory and  fatal error: stdlib.h: No such file"</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/quot-Getting-fatal-error-stdio-h-No-such-file-or-directory-and/m-p/1885177#M224792</link>
      <description>&lt;P&gt;I am trying to compile .c application using cross-compilation with IMX6 ULL yocto build using :&lt;BR /&gt;&lt;SPAN&gt;repo init -u&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-imx/imx-manifest" target="_blank" rel="nofollow noopener"&gt;https://github.com/nxp-imx/imx-manifest&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;-b imx-linux-kirkstone -m imx-5.15.71-2.2.0.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and getting errors like stdlib.h and stdio.h is missing(No such file or directory).&lt;BR /&gt;Can you let me know how to resolve this error?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 12:12:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/quot-Getting-fatal-error-stdio-h-No-such-file-or-directory-and/m-p/1885177#M224792</guid>
      <dc:creator>ParnaSankar</dc:creator>
      <dc:date>2024-06-11T12:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: "Getting fatal error: stdio.h: No such file or directory and  fatal error: stdlib.h: No suc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/quot-Getting-fatal-error-stdio-h-No-such-file-or-directory-and/m-p/1885303#M224806</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234846"&gt;@ParnaSankar&lt;/a&gt;!&lt;BR /&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;Can you attach the log of the error?&lt;/P&gt;
&lt;P&gt;I recommend trying to update your packages with "sudo apt update" and "sudo apt upgrade" and install all the required packages for that version are the next:&lt;/P&gt;
&lt;P&gt;$ sudo apt-get install gawk wget git-core diffstat unzip \&lt;BR /&gt;texinfo gcc-multilib \&lt;BR /&gt;build-essential chrpath socat cpio python python3 python3-pip \&lt;BR /&gt;python3-pexpect \&lt;BR /&gt;xz-utils debianutils iputils-ping python3-git python3-jinja2 \&lt;BR /&gt;libegl1-mesa libsdl1.2-dev \&lt;BR /&gt;pylint3 xterm rsync curl zstd pzstd lz4c lz4 libssl-dev &lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards!&lt;BR /&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 15:24:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/quot-Getting-fatal-error-stdio-h-No-such-file-or-directory-and/m-p/1885303#M224806</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-06-11T15:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: "Getting fatal error: stdio.h: No such file or directory and  fatal error: stdlib.h: No suc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/quot-Getting-fatal-error-stdio-h-No-such-file-or-directory-and/m-p/1885833#M224856</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761"&gt;@Chavira&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thanks for your response.&lt;BR /&gt;We are facing the below issue while cross compiling .c applications for imx6 ULL arm platform on x86 linux host machine.&lt;BR /&gt;Please find the below error logs :&lt;BR /&gt;&lt;STRONG&gt;per_receive.c:6:10: fatal error: stdio.h: No such file or directory&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;#include &amp;lt;stdio.h&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;compilation terminated.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;per_sock.c:6:10: fatal error: stdlib.h: No such file or directory&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#include &amp;lt;stdlib.h&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;compilation terminated.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;I tried to install the dependencies and packages using the command shared by you&lt;BR /&gt;"&lt;/P&gt;&lt;P&gt;$ sudo apt-get install gawk wget git-core diffstat unzip \&lt;BR /&gt;texinfo gcc-multilib \&lt;BR /&gt;build-essential chrpath socat cpio python python3 python3-pip \&lt;BR /&gt;python3-pexpect \&lt;BR /&gt;xz-utils debianutils iputils-ping python3-git python3-jinja2 \&lt;BR /&gt;libegl1-mesa libsdl1.2-dev \&lt;BR /&gt;pylint3 xterm rsync curl zstd pzstd lz4c lz4 libssl-dev "&lt;/P&gt;&lt;P&gt;but we are getting the below prints as well :&lt;BR /&gt;&lt;STRONG&gt;Reading package lists... Done&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Building dependency tree&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Reading state information... Done&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Note, selecting 'git' instead of 'git-core'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Note, selecting 'python-is-python2' instead of 'python'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Note, selecting 'pylint' instead of 'pylint3'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;E: Unable to locate package pzstd&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;E: Unable to locate package lz4c&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 06:45:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/quot-Getting-fatal-error-stdio-h-No-such-file-or-directory-and/m-p/1885833#M224856</guid>
      <dc:creator>ParnaSankar</dc:creator>
      <dc:date>2024-06-12T06:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: "Getting fatal error: stdio.h: No such file or directory and  fatal error: stdlib.h: No suc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/quot-Getting-fatal-error-stdio-h-No-such-file-or-directory-and/m-p/1885934#M224862</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/206761"&gt;@Chavira&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;For your additional information, I want to inform you that&lt;BR /&gt;I found out stdio.h and stdlib.h path and added in the CFLAGS&lt;BR /&gt;Example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CFLAGS += -I~/imx-yocto-bsp/build/tmp/work/cortexa7t2hf-neon-poky-linux-gnueabi/util-linux/2.37.4-r0/recipe-sysroot/usr/include/&lt;/STRONG&gt;&lt;BR /&gt;but after that if I start compilation again I a getting the another error:&amp;nbsp; &lt;STRONG&gt;fatal error: gnu/stubs-soft.h: No such file or directory&lt;/STRONG&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 07:59:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/quot-Getting-fatal-error-stdio-h-No-such-file-or-directory-and/m-p/1885934#M224862</guid>
      <dc:creator>ParnaSankar</dc:creator>
      <dc:date>2024-06-12T07:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: "Getting fatal error: stdio.h: No such file or directory and  fatal error: stdlib.h: No suc</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/quot-Getting-fatal-error-stdio-h-No-such-file-or-directory-and/m-p/1886314#M224880</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234846"&gt;@ParnaSankar&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;I understand better the problem now.&lt;/P&gt;
&lt;P&gt;For this case, I recommend compiling the SDK in yocto to avoid this problem.&lt;/P&gt;
&lt;P&gt;You can refer to the next community posts.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Yocto-Project-Freescale-Yocto-Project-Tutorial/ta-p/1128133" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Yocto-Project-Freescale-Yocto-Project-Tutorial/ta-p/1128133&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/How-to-build-the-yocto-SDK/m-p/465026" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/How-to-build-the-yocto-SDK/m-p/465026&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards!&lt;BR /&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 17:09:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/quot-Getting-fatal-error-stdio-h-No-such-file-or-directory-and/m-p/1886314#M224880</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-06-12T17:09:38Z</dc:date>
    </item>
  </channel>
</rss>

