<?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のトピック fatal error: 'sys/io.h' file not found</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/fatal-error-sys-io-h-file-not-found/m-p/1087388#M159379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;I am play imx8qm iwave board.&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;when I use the clang toolchain, I tried to build with code as the below line in makefile:&lt;BR /&gt;aarch64-poky-linux-clang -O2 makeBmp.c process01.c -o makeBmp --sysroot=/opt/fsl-imx-xwayland/L4.14.98-2.0.0_GA/sysroots/aarch64-poky-linux -lm -Wall -ffunction-sections -Wl,-gc-sections&lt;/P&gt;&lt;H2 style="color: #24292e; background-color: #ffffff; border-bottom: 1px solid #eaecef; font-weight: 600; font-size: 1.5em; margin-top: 24px; margin-bottom: 16px; padding-bottom: 0.3em;"&gt;but error:&lt;BR /&gt;./common01.h:9:10: fatal error: 'sys/io.h' file not found&lt;BR /&gt;#include &amp;lt;sys/io.h&amp;gt;&lt;BR /&gt;^~~~~~~~~~&lt;BR /&gt;1 error generated.&lt;BR /&gt;In file included from process01.c:8:&lt;/H2&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;what components I missed in the toolchains? I searched online but no solutions.&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;when I build my clang toolchains I only add:&lt;BR /&gt;TOOLCHAIN ?= "clang". in my local file&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 0px !important;"&gt;any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2020 19:24:39 GMT</pubDate>
    <dc:creator>gonewithwind-peter</dc:creator>
    <dc:date>2020-08-12T19:24:39Z</dc:date>
    <item>
      <title>fatal error: 'sys/io.h' file not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/fatal-error-sys-io-h-file-not-found/m-p/1087388#M159379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;I am play imx8qm iwave board.&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;when I use the clang toolchain, I tried to build with code as the below line in makefile:&lt;BR /&gt;aarch64-poky-linux-clang -O2 makeBmp.c process01.c -o makeBmp --sysroot=/opt/fsl-imx-xwayland/L4.14.98-2.0.0_GA/sysroots/aarch64-poky-linux -lm -Wall -ffunction-sections -Wl,-gc-sections&lt;/P&gt;&lt;H2 style="color: #24292e; background-color: #ffffff; border-bottom: 1px solid #eaecef; font-weight: 600; font-size: 1.5em; margin-top: 24px; margin-bottom: 16px; padding-bottom: 0.3em;"&gt;but error:&lt;BR /&gt;./common01.h:9:10: fatal error: 'sys/io.h' file not found&lt;BR /&gt;#include &amp;lt;sys/io.h&amp;gt;&lt;BR /&gt;^~~~~~~~~~&lt;BR /&gt;1 error generated.&lt;BR /&gt;In file included from process01.c:8:&lt;/H2&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;what components I missed in the toolchains? I searched online but no solutions.&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 16px;"&gt;when I build my clang toolchains I only add:&lt;BR /&gt;TOOLCHAIN ?= "clang". in my local file&lt;/P&gt;&lt;P style="color: #24292e; background-color: #ffffff; margin-bottom: 0px !important;"&gt;any suggestion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 19:24:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/fatal-error-sys-io-h-file-not-found/m-p/1087388#M159379</guid>
      <dc:creator>gonewithwind-peter</dc:creator>
      <dc:date>2020-08-12T19:24:39Z</dc:date>
    </item>
    <item>
      <title>Re:  fatal error: 'sys/io.h' file not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/fatal-error-sys-io-h-file-not-found/m-p/1087389#M159380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iwave boards are supported by iwavesystems directly and&lt;/P&gt;&lt;P&gt;issue may be posted on &lt;A class="link-titled" href="https://www.iwavesystems.com/support.html" title="https://www.iwavesystems.com/support.html"&gt;Support | iWave Systems&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively one can try nxp linux from source.codeaurora.org/external/imx/linux-imx&amp;nbsp; repository&lt;BR /&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.3_2.0.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.3_2.0.0"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-343178"&gt;i.MX8 Boot process and creating a bootable image&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" title="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab"&gt;Embedded Linux for i.MX Applications Processors | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2020 23:34:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/fatal-error-sys-io-h-file-not-found/m-p/1087389#M159380</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-08-12T23:34:31Z</dc:date>
    </item>
    <item>
      <title>Re:  fatal error: 'sys/io.h' file not found</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/fatal-error-sys-io-h-file-not-found/m-p/1201177#M166653</link>
      <description>&lt;P&gt;instead of&amp;nbsp;&lt;SPAN&gt;'sys/io.h' use&amp;nbsp;'sys/uio.h' in your code for imx8qm iwave board.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 10:22:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/fatal-error-sys-io-h-file-not-found/m-p/1201177#M166653</guid>
      <dc:creator>ApaulSoft</dc:creator>
      <dc:date>2020-12-17T10:22:34Z</dc:date>
    </item>
  </channel>
</rss>

