<?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>topic Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260) in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1715279#M53980</link>
    <description>&lt;P&gt;Finally the issue is resolved by setting a linker flag to allow multiple definitions (-z muldefs), I believe something might have changed in the recent IDE releases w.r.t linking, older MCUXpresso IDE used to work and build the code successfully. What I noticed was the build is getting PASS without setting the above mentioned linker parameter till this release&amp;nbsp;11.3.1_5262, it started failing from&amp;nbsp;11.4.1_6260 onwards.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 17:21:43 GMT</pubDate>
    <dc:creator>sushmasan</dc:creator>
    <dc:date>2023-08-31T17:21:43Z</dc:date>
    <item>
      <title>Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1700384#M53763</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I am seeing multiple definition error when I tried to build the code using 11.4.1_6260, where as the same source code works perfectly fine using 11.3.0_5222 IDE.&lt;BR /&gt;I have compared the build configurations between those two versions and everything is similar. I am wondering what is the cause of this build failure.&lt;BR /&gt;Can someone please help, if there is a known issue?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 18:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1700384#M53763</guid>
      <dc:creator>sushmasan</dc:creator>
      <dc:date>2023-08-07T18:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1700499#M53766</link>
      <description>&lt;P&gt;Hello, my name is Pavel, and I will be supporting your case, could you elaborate further about your issue? I do not get a clue about your issue. could you upload some images?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 22:10:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1700499#M53766</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2023-08-07T22:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1700681#M53772</link>
      <description>&lt;P&gt;There could be multiple reasons for this: did you perform a 'clean' on your project already? Best if you do a clean-clean (removing the debug/release output folder(s)).&lt;/P&gt;&lt;P&gt;Next: what is (are) the symbols reported with multiple definitions? Because the IDE change means different standard libraries, maybe you&amp;nbsp; have a symbol defined in your code which now is part of the standard library? Or maybe you are using your custom library with that duplicated symbol in it?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 04:46:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1700681#M53772</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-08-08T04:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1701128#M53782</link>
      <description>&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I tried all possibilities (created a new project, did a clean build), but still saw the issue.&lt;/P&gt;&lt;P&gt;Below is one of error snipper for your reference.&lt;/P&gt;&lt;P&gt;c:/nxp/mcuxpressoide_11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld.exe: ./main_src/&lt;STRONG&gt;FILE1.o&lt;/STRONG&gt;:&amp;lt;PATH_To_The_workspace&amp;gt;\&amp;lt;HEADERFILE1.h&amp;gt;:204: multiple definition of `VARIABLE'; ./main_src/&lt;STRONG&gt;FILE2.o&lt;/STRONG&gt;:&amp;lt;PATH_To_The_workspace&amp;gt;\&amp;lt;HEADERFILE1.h&amp;gt;:204: first defined here&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 13:05:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1701128#M53782</guid>
      <dc:creator>sushmasan</dc:creator>
      <dc:date>2023-08-08T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1701129#M53783</link>
      <description>&lt;P&gt;Hello Pavel,&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I tried all possibilities (created a new project, did a clean build), but still saw the issue.&lt;/P&gt;&lt;P&gt;Below is one of error snippet for your reference.&lt;/P&gt;&lt;P&gt;c:/nxp/mcuxpressoide_11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld.exe: ./main_src/&lt;STRONG&gt;FILE1.o&lt;/STRONG&gt;:&amp;lt;PATH_To_The_workspace&amp;gt;\&amp;lt;HEADERFILE1.h&amp;gt;:204: multiple definition of `VARIABLE'; ./main_src/&lt;STRONG&gt;FILE2.o&lt;/STRONG&gt;:&amp;lt;PATH_To_The_workspace&amp;gt;\&amp;lt;HEADERFILE1.h&amp;gt;:204: first defined here&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 13:06:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1701129#M53783</guid>
      <dc:creator>sushmasan</dc:creator>
      <dc:date>2023-08-08T13:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1701150#M53784</link>
      <description>&lt;P&gt;are you sure that you only have declarations and no definition there in your header file? Can you check this?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 13:40:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1701150#M53784</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-08-08T13:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1703148#M53828</link>
      <description>&lt;P&gt;Yes I cross verified and made sure that the variable is only declared and not defined in the header file.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 16:52:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1703148#M53828</guid>
      <dc:creator>sushmasan</dc:creator>
      <dc:date>2023-08-10T16:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1703175#M53830</link>
      <description>&lt;P&gt;Can you produce a preprocessor listing (e.g. see &lt;A href="https://mcuoneclipse.com/2015/11/23/preprocessor-listing-for-gnu-gcc-with-gnu-arm-eclipse-plugins/" target="_blank"&gt;https://mcuoneclipse.com/2015/11/23/preprocessor-listing-for-gnu-gcc-with-gnu-arm-eclipse-plugins/&lt;/A&gt; ) and check it?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 18:08:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1703175#M53830</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-08-10T18:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1706988#M53874</link>
      <description>&lt;P&gt;I did check the preprocessor listing, but I didn't see any multiple definitions. As an example, I just compared few files for which I am seeing the issue, but I don't see any multiple definitions.&lt;/P&gt;&lt;P&gt;I believe that's what you suggested me to check.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 19:56:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1706988#M53874</guid>
      <dc:creator>sushmasan</dc:creator>
      <dc:date>2023-08-17T19:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1707204#M53878</link>
      <description>&lt;P&gt;Yes, this is what I asked to check.&lt;/P&gt;&lt;P&gt;I think without further information, it is really hard for me to know what the problem is.&lt;/P&gt;&lt;P&gt;Can you share a project/source files to reproduce it?&lt;/P&gt;&lt;P&gt;Could you share from the prepropocessor listing all the line occurences of your variable in question?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 04:24:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1707204#M53878</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-08-18T04:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1715279#M53980</link>
      <description>&lt;P&gt;Finally the issue is resolved by setting a linker flag to allow multiple definitions (-z muldefs), I believe something might have changed in the recent IDE releases w.r.t linking, older MCUXpresso IDE used to work and build the code successfully. What I noticed was the build is getting PASS without setting the above mentioned linker parameter till this release&amp;nbsp;11.3.1_5262, it started failing from&amp;nbsp;11.4.1_6260 onwards.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 17:21:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1715279#M53980</guid>
      <dc:creator>sushmasan</dc:creator>
      <dc:date>2023-08-31T17:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1843170#M55832</link>
      <description>Had the same issue, adding the flag (-z muldefs) solved the problem.</description>
      <pubDate>Tue, 09 Apr 2024 12:04:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1843170#M55832</guid>
      <dc:creator>Sinai</dc:creator>
      <dc:date>2024-04-09T12:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Definition error (MCU Xpresso IDE 11.4.1_6260)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1843261#M55836</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232027"&gt;@Sinai&lt;/a&gt;&amp;nbsp;Oh good to know. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 15:33:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Multiple-Definition-error-MCU-Xpresso-IDE-11-4-1-6260/m-p/1843261#M55836</guid>
      <dc:creator>sushmasan</dc:creator>
      <dc:date>2024-04-09T15:33:21Z</dc:date>
    </item>
  </channel>
</rss>

