<?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 compiler build error - stdio.h: No such file or directory in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-build-error-stdio-h-No-such-file-or-directory/m-p/1771166#M217067</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Sanket Parekh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;First of all, let you know my test environments.&lt;/P&gt;&lt;P&gt;- H/W board : imx8qmmek, Murata 9098 Wi-Fi module&lt;/P&gt;&lt;P&gt;- BSP :&amp;nbsp;imx-5.4.70-2.3.0&lt;/P&gt;&lt;P&gt;- Wi-Fi driver :&amp;nbsp;PCIE-WLAN-UART-BT-9098-U16-X86-17.68.1.p136.19-17.26.1.p136.19-MXM5X17366_P7_V0V1-MGPL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can find out stdio.h in the folder - "/opt/fsl-imx-wayland/5.4-zeus/sysroots/aarch64-poky-linux/usr/include/stdio.h" but the error occures. I am not sure if I use wrong Wi-Fi driver.&lt;/P&gt;&lt;P&gt;Even though the error occures, mlan.ko and moal.ko modules are createdd successfully in bin_wlan folder. So, I has verified Wi-Fi is working. If needed to additional question, let me update here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your supports.&lt;/P&gt;&lt;P&gt;Liam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2023 01:23:07 GMT</pubDate>
    <dc:creator>WPG_Liam</dc:creator>
    <dc:date>2023-12-08T01:23:07Z</dc:date>
    <item>
      <title>Cross compiler build error - stdio.h: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-build-error-stdio-h-No-such-file-or-directory/m-p/1766312#M216619</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;I have tried to build Wi-Fi driver using cross_compiler but have faced build error issue like as follows. I am using "imx-5.15.5-1.0.0" for BSP version. Could you help to resolve the issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;In file included from mlanconfig.c:29:&lt;BR /&gt;mlanconfig.h:30:10: fatal error: stdio.h: No such file or directory&lt;BR /&gt;30 | #include &amp;lt;stdio.h&amp;gt;&lt;BR /&gt;| ^~~~~~~~~&lt;BR /&gt;compilation terminated.&lt;BR /&gt;&amp;lt;builtin&amp;gt;: recipe for target 'mlanconfig.o' failed&lt;BR /&gt;make[1]: *** [mlanconfig.o] Error 1&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Liam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 08:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-build-error-stdio-h-No-such-file-or-directory/m-p/1766312#M216619</guid>
      <dc:creator>WPG_Liam</dc:creator>
      <dc:date>2023-11-30T08:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiler build error - stdio.h: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-build-error-stdio-h-No-such-file-or-directory/m-p/1766918#M216674</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210655"&gt;@WPG_Liam&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;It appears that the error is indicating that the compiler is unable to find the "stdio.h" header file. This file is a standard C library header, and its absence typically indicates a problem with the development environment or the included paths.&lt;/P&gt;
&lt;P&gt;Please ensure that you have a complete and correctly configured cross-compilation environment for your target platform. This includes the necessary toolchain, libraries, and headers. Make sure that the toolchain is in your system's PATH.&lt;/P&gt;
&lt;P&gt;One can add include paths using the -I option in the Makefile.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;make&lt;BR /&gt;Copy code&lt;BR /&gt;CFLAGS += -I/path/to/your/include/directory&lt;BR /&gt;Check Toolchain Compatibility:&lt;BR /&gt;Ensure that the cross-compiler you are using is compatible with the target platform and the BSP version. The toolchain should match the architecture and system libraries of your target platform.&lt;/P&gt;
&lt;P&gt;Please confirm that the necessary header files, including "stdio.h," are present in the toolchain's include directory. If they are missing, you may need to install the corresponding development package for the toolchain.&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sanket Parekh&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 04:35:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-build-error-stdio-h-No-such-file-or-directory/m-p/1766918#M216674</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-12-01T04:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiler build error - stdio.h: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-build-error-stdio-h-No-such-file-or-directory/m-p/1771166#M217067</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Sanket Parekh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;First of all, let you know my test environments.&lt;/P&gt;&lt;P&gt;- H/W board : imx8qmmek, Murata 9098 Wi-Fi module&lt;/P&gt;&lt;P&gt;- BSP :&amp;nbsp;imx-5.4.70-2.3.0&lt;/P&gt;&lt;P&gt;- Wi-Fi driver :&amp;nbsp;PCIE-WLAN-UART-BT-9098-U16-X86-17.68.1.p136.19-17.26.1.p136.19-MXM5X17366_P7_V0V1-MGPL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can find out stdio.h in the folder - "/opt/fsl-imx-wayland/5.4-zeus/sysroots/aarch64-poky-linux/usr/include/stdio.h" but the error occures. I am not sure if I use wrong Wi-Fi driver.&lt;/P&gt;&lt;P&gt;Even though the error occures, mlan.ko and moal.ko modules are createdd successfully in bin_wlan folder. So, I has verified Wi-Fi is working. If needed to additional question, let me update here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your supports.&lt;/P&gt;&lt;P&gt;Liam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 01:23:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-build-error-stdio-h-No-such-file-or-directory/m-p/1771166#M217067</guid>
      <dc:creator>WPG_Liam</dc:creator>
      <dc:date>2023-12-08T01:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cross compiler build error - stdio.h: No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-build-error-stdio-h-No-such-file-or-directory/m-p/1771471#M217096</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210655"&gt;@WPG_Liam&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;Please make sure that the user running the make build command has the necessary permissions to access the kernel modules and the destination directory (../bin_wlan). You might want to check and adjust file permissions if needed.&lt;BR /&gt;Please check running the make command with sudo.&lt;/P&gt;
&lt;P&gt;Please confirm that the kernel version you are building the modules against (5.15.5+gitAUTOINC+c1084c2773-r0) matches the running kernel version on your target system.&lt;BR /&gt;For that one can examine the README, README_MLAN, and README_RBC files.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sanket Parekh&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 09:25:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cross-compiler-build-error-stdio-h-No-such-file-or-directory/m-p/1771471#M217096</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-12-08T09:25:02Z</dc:date>
    </item>
  </channel>
</rss>

