<?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>MCUXpresso SDKのトピックRe: Compile Error with SDK Example Code</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/Compile-Error-with-SDK-Example-Code/m-p/1774115#M4559</link>
    <description>&lt;P&gt;Following your instructions the hello_world demo program built successfully:&lt;/P&gt;&lt;P&gt;[ 92%] Building C object CMakeFiles/hello_world.elf.dir/home/dlewis/nxp-projects/SDK_2_9_0_MEK-MIMX8QX/devices/MIMX8QX6/drivers/fsl_gpio.c.obj&lt;BR /&gt;[ 96%] Building C object CMakeFiles/hello_world.elf.dir/home/dlewis/nxp-projects/SDK_2_9_0_MEK-MIMX8QX/devices/MIMX8QX6/utilities/fsl_sbrk.c.obj&lt;BR /&gt;[100%] Linking C executable release/hello_world.elf&lt;BR /&gt;[100%] Built target hello_world.elf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 17:15:20 GMT</pubDate>
    <dc:creator>duglew60</dc:creator>
    <dc:date>2023-12-13T17:15:20Z</dc:date>
    <item>
      <title>Compile Error with SDK Example Code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Compile-Error-with-SDK-Example-Code/m-p/1773977#M4557</link>
      <description>&lt;P&gt;I'm using the gnu toolchain,&amp;nbsp;arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi, on WSL2 Ubuntu to compile the example code that is with the&amp;nbsp;SDK_2_9_0_MEK-MIMX8QX.&amp;nbsp; The specific code I'm trying to build is&amp;nbsp;rpmsg_lite_str_echo_rtos and I've also tried the hello world example.&amp;nbsp; I'm using the build_debug.sh script.&amp;nbsp; I'm getting the following error:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;MIMX8QX6/utilities/fsl_sbrk.c:22:1: error: unknown type name 'caddr_t'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;From the research I've done this is related to BSD-ism in older code.&amp;nbsp; Is there an environment variable I can set to correct this error?&amp;nbsp; My research is saying I need to modify the code but I would figure NXP would make code available that does build without basic code modifications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 13:41:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Compile-Error-with-SDK-Example-Code/m-p/1773977#M4557</guid>
      <dc:creator>duglew60</dc:creator>
      <dc:date>2023-12-13T13:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Error with SDK Example Code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Compile-Error-with-SDK-Example-Code/m-p/1774084#M4558</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226793"&gt;@duglew60&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;Could you please try:&lt;/P&gt;
&lt;P&gt;Download&amp;nbsp;gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 from&amp;nbsp;&lt;A href="https://developer.arm.com/downloads/-/gnu-rm" target="_blank"&gt;https://developer.arm.com/downloads/-/gnu-rm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Then:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ tar -xf gcc-arm-none-eabi-10.3-2021.10-x86_64-linux.tar.bz2 
$ export ARMGCC_DIR=~/gcc-arm-none-eabi-10.3-2021.10
$ export PATH=$PATH:~/gcc-arm-none-eabi-10.3-2021.10&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Go to SDK example directory (In my case):&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$cd ~/SDK_2_9_0_MEK-MIMX8QX.tar/SDK_2_9_0_MEK-MIMX8QX/boards/mekmimx8qx/demo_apps/hello_world/armgcc&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And please run the build_release.sh&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$./build_release.sh&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know how it was.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 16:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Compile-Error-with-SDK-Example-Code/m-p/1774084#M4558</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2023-12-13T16:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Error with SDK Example Code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Compile-Error-with-SDK-Example-Code/m-p/1774115#M4559</link>
      <description>&lt;P&gt;Following your instructions the hello_world demo program built successfully:&lt;/P&gt;&lt;P&gt;[ 92%] Building C object CMakeFiles/hello_world.elf.dir/home/dlewis/nxp-projects/SDK_2_9_0_MEK-MIMX8QX/devices/MIMX8QX6/drivers/fsl_gpio.c.obj&lt;BR /&gt;[ 96%] Building C object CMakeFiles/hello_world.elf.dir/home/dlewis/nxp-projects/SDK_2_9_0_MEK-MIMX8QX/devices/MIMX8QX6/utilities/fsl_sbrk.c.obj&lt;BR /&gt;[100%] Linking C executable release/hello_world.elf&lt;BR /&gt;[100%] Built target hello_world.elf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 17:15:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Compile-Error-with-SDK-Example-Code/m-p/1774115#M4559</guid>
      <dc:creator>duglew60</dc:creator>
      <dc:date>2023-12-13T17:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Error with SDK Example Code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/Compile-Error-with-SDK-Example-Code/m-p/1774842#M4561</link>
      <description>&lt;P&gt;Thank you for your help Alejandro.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 13:41:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/Compile-Error-with-SDK-Example-Code/m-p/1774842#M4561</guid>
      <dc:creator>duglew60</dc:creator>
      <dc:date>2023-12-14T13:41:37Z</dc:date>
    </item>
  </channel>
</rss>

