<?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>S32Kのトピックalloc.c undefined reference to `_end'</title>
    <link>https://community.nxp.com/t5/S32K/alloc-c-undefined-reference-to-end/m-p/653909#M526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-weight: bold; font-size: 18px;"&gt;I&amp;nbsp;&lt;SPAN&gt;want to use the malloc function&lt;/SPAN&gt;in S32k144 broad，when I &amp;nbsp;#include "stdlib.h"，&amp;nbsp;&lt;SPAN&gt;There is an error&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-weight: bold; font-size: 18px;"&gt;&lt;SPAN&gt;“&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-weight: bold; font-size: 18px;"&gt;Description Resource Path Location Type&amp;nbsp;S32DS/arm_ewl/EWL_C/src/stdlib/alloc.c undefined reference to `_end' T-BOX-S32k line 294 C/C++ Problem”&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-weight: bold; font-size: 18px;"&gt;&lt;SPAN&gt;How do I use right&amp;nbsp;he malloc function&lt;SPAN style="background-color: #f8f8f8;"&gt;in？&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2017 06:37:12 GMT</pubDate>
    <dc:creator>tangbing</dc:creator>
    <dc:date>2017-04-06T06:37:12Z</dc:date>
    <item>
      <title>alloc.c undefined reference to `_end'</title>
      <link>https://community.nxp.com/t5/S32K/alloc-c-undefined-reference-to-end/m-p/653909#M526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-weight: bold; font-size: 18px;"&gt;I&amp;nbsp;&lt;SPAN&gt;want to use the malloc function&lt;/SPAN&gt;in S32k144 broad，when I &amp;nbsp;#include "stdlib.h"，&amp;nbsp;&lt;SPAN&gt;There is an error&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-weight: bold; font-size: 18px;"&gt;&lt;SPAN&gt;“&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-weight: bold; font-size: 18px;"&gt;Description Resource Path Location Type&amp;nbsp;S32DS/arm_ewl/EWL_C/src/stdlib/alloc.c undefined reference to `_end' T-BOX-S32k line 294 C/C++ Problem”&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2b2b; background-color: #f8f8f8; font-weight: bold; font-size: 18px;"&gt;&lt;SPAN&gt;How do I use right&amp;nbsp;he malloc function&lt;SPAN style="background-color: #f8f8f8;"&gt;in？&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 06:37:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/alloc-c-undefined-reference-to-end/m-p/653909#M526</guid>
      <dc:creator>tangbing</dc:creator>
      <dc:date>2017-04-06T06:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: alloc.c undefined reference to `_end'</title>
      <link>https://community.nxp.com/t5/S32K/alloc-c-undefined-reference-to-end/m-p/653910#M527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which version of S32 Design Studio you use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested malloc function in S32 Design Studio v1.3 and it works correct. Also in version 1.2 I am able to compile following code while I am using EWL library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int *p;&lt;/P&gt;&lt;P&gt;p = (int *)malloc(10*sizeof(int));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 11:16:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/alloc-c-undefined-reference-to-end/m-p/653910#M527</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-04-06T11:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: alloc.c undefined reference to `_end'</title>
      <link>https://community.nxp.com/t5/S32K/alloc-c-undefined-reference-to-end/m-p/653911#M528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #2b2b2b; font-size: 18px; background-color: #f8f8f8;"&gt;I built a new project &lt;SPAN style="color: #51626f; font-size: 15px; background-color: #ffffff;"&gt;in S32 Design Studio v1.2&lt;/SPAN&gt;, the use of malloc function&lt;SPAN style="border: 0px;"&gt;in&lt;/SPAN&gt;, to quote the following wrong me.&lt;SPAN style="color: #51626f; background-color: #ffffff; font-size: 15px;"&gt; I am using EWL library&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pro.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17715i3C07EF1B82E2E57E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pro.png" alt="pro.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 01:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/alloc-c-undefined-reference-to-end/m-p/653911#M528</guid>
      <dc:creator>tangbing</dc:creator>
      <dc:date>2017-04-07T01:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: alloc.c undefined reference to `_end'</title>
      <link>https://community.nxp.com/t5/S32K/alloc-c-undefined-reference-to-end/m-p/653912#M529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found en error in linker file, which is provided to project with SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the figure below and add the marked symbol to your linker file&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18823i9AA9AAEC81670699/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2017 09:08:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/alloc-c-undefined-reference-to-end/m-p/653912#M529</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-04-07T09:08:50Z</dc:date>
    </item>
  </channel>
</rss>

