<?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 IDEのトピックRe: Linking issues</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linking-issues/m-p/831569#M3170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have selected newlib(host) library.looks like its resolved now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2018 11:30:48 GMT</pubDate>
    <dc:creator>jagadeeshkumar</dc:creator>
    <dc:date>2018-07-20T11:30:48Z</dc:date>
    <item>
      <title>Linking issues</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linking-issues/m-p/831566#M3167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I porting my old project which is implemented using atollic to latest version of MCUXpresso.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have ported successfully but because of the following issue I am not able to build the binary.Any one have any Idea about this issue.Fast help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;c:/nxp/mcuxpressoide_10.2.0_759/ide/tools/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/lib/thumb/v6-m\libcr_c.a(alloc.o): In function `malloc':&lt;BR /&gt;alloc.c:(.text.malloc+0x0): multiple definition of `malloc'&lt;BR /&gt;c:/nxp/mcuxpressoide_10.2.0_759/ide/tools/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/lib/thumb/v6-m\libc.a(lib_a-malloc.o):malloc.c:(.text.malloc+0x0): first defined here&lt;BR /&gt;c:/nxp/mcuxpressoide_10.2.0_759/ide/tools/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/lib/thumb/v6-m\libcr_c.a(alloc.o): In function `free':&lt;BR /&gt;alloc.c:(.text.free+0x0): multiple definition of `free'&lt;BR /&gt;c:/nxp/mcuxpressoide_10.2.0_759/ide/tools/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/lib/thumb/v6-m\libc.a(lib_a-malloc.o):malloc.c:(.text.free+0x0): first defined here&lt;BR /&gt;collect2.exe: error: ld returned 1 exit status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used my own linker file and attached here.Let me know if more information is needed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 14:03:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linking-issues/m-p/831566#M3167</guid>
      <dc:creator>jagadeeshkumar</dc:creator>
      <dc:date>2018-07-19T14:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Linking issues</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linking-issues/m-p/831567#M3168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the error message snippet you have provided, you appear to be trying to link against both the Redlib and Newlib C libraries. Don't !&amp;nbsp;Double check the contents of your file&amp;nbsp;"testbox_plus_Debug_library.ld" and compare it against the recommendations in section&amp;nbsp;15.7, "Libraries and linker scripts" of the MCUXpresso IDE v10.2 User Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that normally you would use the IDE's managed linker script mechanism to autogenerate appropriate linker scripts - &amp;nbsp;which generally avoids this sort of problem. Please read chapter 16,&amp;nbsp;&amp;nbsp;"Memory Configuration and Linker Scripts" of the IDE User Guide for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 15:23:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linking-issues/m-p/831567#M3168</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-07-19T15:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Linking issues</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linking-issues/m-p/831568#M3169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Thank you for immediate response.&lt;/P&gt;&lt;P&gt;I have configured redlib(auto) in my compiler configurations.and in my liker script i have included&amp;nbsp;smartbox_plus_Debug_library.ld file while contains the following information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;GROUP (&lt;BR /&gt; "libcr_semihost_nf.a"&lt;BR /&gt; "libcr_c.a"&lt;BR /&gt; "libcr_eabihelpers.a"&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I remove any one .a file from&amp;nbsp;&lt;SPAN&gt;smartbox_plus_Debug_library.ld I am getting two many errors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;section&amp;nbsp;15.7, "Libraries and linker scripts" I haven't seen any thing related to redlib(auto).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;The linker script what I am using is from my old project.I want to use the same linker to avoid further issues.If its not at all possible then I will try to create from IDE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;Jagadeesh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 16:10:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linking-issues/m-p/831568#M3169</guid>
      <dc:creator>jagadeeshkumar</dc:creator>
      <dc:date>2018-07-19T16:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linking issues</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linking-issues/m-p/831569#M3170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have selected newlib(host) library.looks like its resolved now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 11:30:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linking-issues/m-p/831569#M3170</guid>
      <dc:creator>jagadeeshkumar</dc:creator>
      <dc:date>2018-07-20T11:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Linking issues</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Linking-issues/m-p/831570#M3171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am glad to hear that you now have things working. I would still recommend that you take a look at the information on linker scripts in the IDE User Guide though - as I suspect that given the way you have ported your project across, you may not have things set up optimally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 08:54:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Linking-issues/m-p/831570#M3171</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-07-23T08:54:02Z</dc:date>
    </item>
  </channel>
</rss>

