<?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>S32 SDKのトピックundefined reference to `fopen'</title>
    <link>https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/m-p/721349#M235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, dears:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I use S32DS to open an file, but when compile it shows:"undefined reference to `fopen'".&lt;/P&gt;&lt;P&gt;&amp;nbsp;My GCC is: S32K144 RTM SDK for GCC.&lt;/P&gt;&lt;P&gt;C project. No OS. And use S32DS "project -&amp;gt;build all" to build.&lt;/P&gt;&lt;P&gt;What should I do to fix this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;fp = fopen("BAP3_PATCH_SC58579_ROM_7_2.bin","rb");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Dec 2017 08:47:25 GMT</pubDate>
    <dc:creator>jeffqin</dc:creator>
    <dc:date>2017-12-14T08:47:25Z</dc:date>
    <item>
      <title>undefined reference to `fopen'</title>
      <link>https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/m-p/721349#M235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, dears:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I use S32DS to open an file, but when compile it shows:"undefined reference to `fopen'".&lt;/P&gt;&lt;P&gt;&amp;nbsp;My GCC is: S32K144 RTM SDK for GCC.&lt;/P&gt;&lt;P&gt;C project. No OS. And use S32DS "project -&amp;gt;build all" to build.&lt;/P&gt;&lt;P&gt;What should I do to fix this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;fp = fopen("BAP3_PATCH_SC58579_ROM_7_2.bin","rb");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 08:47:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/m-p/721349#M235</guid>
      <dc:creator>jeffqin</dc:creator>
      <dc:date>2017-12-14T08:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to `fopen'</title>
      <link>https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/m-p/721350#M236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the fopen function is not implemented. S32K144 is small device and normally doesn't use file system. If you implemented file system - you also need implement fopen and other file I/O functions.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway - what are trying to do with fopen in your project?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 14:24:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/m-p/721350#M236</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-12-14T14:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to `fopen'</title>
      <link>https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/m-p/721351#M237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thanks, then does it mean it is difficult or lots of work needed to be done? If so, I can use other method to do this work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my project, there is another chip: TDF8534, we need to update TDF8534 with patch file named:"*.bin", this file will be different when a new version release. So if I can use file system, there will be less risk to&amp;nbsp;replace this file only, more risk to copy the data using other editor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 01:14:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/m-p/721351#M237</guid>
      <dc:creator>jeffqin</dc:creator>
      <dc:date>2017-12-15T01:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to `fopen'</title>
      <link>https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/m-p/721352#M238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know your design - in case that you have connected some SD card or any other memory/drive to S32K144, implementing file system is good idea. If there is no external memory/drive - easier way is transfer .bin file from PC by UART or by any other communication channel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 07:02:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/m-p/721352#M238</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-12-15T07:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: undefined reference to `fopen'</title>
      <link>https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/m-p/721353#M239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 07:11:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/undefined-reference-to-fopen/m-p/721353#M239</guid>
      <dc:creator>jeffqin</dc:creator>
      <dc:date>2017-12-15T07:11:39Z</dc:date>
    </item>
  </channel>
</rss>

