<?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: Linker error. CodeWarrior for MCU Version: 10.6.4 Build Id:150416, Kinetis MK701NM0, MQX 5.1 in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-error-CodeWarrior-for-MCU-Version-10-6-4-Build-Id-150416/m-p/722895#M14253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I and a colleague have found the problem. Some when I must have ticked the "Customize linker input order" check box in Project Settings - C/C++ Build - Settings - Arm Ltd Windows GCC C++ Linker - Link Order. Checking and unchecking this box consistently makes it fail or link even though I made no other changes on this tab.&lt;/P&gt;&lt;P&gt;Having found this a search shows another forum query similar from &lt;SPAN&gt;Giovanni Casoli&lt;/SPAN&gt; about a null pointer error which we also occasionally see on this tab with the box checked.&lt;/P&gt;&lt;P&gt;The error with linking also appears to be reported in the document CW_MCU_v10_6_UP_2_0_0_RN.pdf CodeWarrior Development Studio for Microcontrollers, v10.6 Update 2.0.0 - page 8 ENGR00319187.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;Description&lt;/STRONG&gt;: When “Customize linker input order” option is enabled the project &lt;BR /&gt;build might finish with exception. &lt;BR /&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;: Disable “Customize linker input order” in Linker settings .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Along with many other settings I can find little description of the purpose and use of this. The Freescale document merely says it can be used to change the link order which I worked out from its name anyway.&lt;/P&gt;&lt;P&gt;Can someone recommend a good source of information about eclipse settings and how Freescale CodeWarrior uses it - for example why Freescale CodeWarrior MQX hides the debugger .launch files in the workspace metadata?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2018 15:54:27 GMT</pubDate>
    <dc:creator>williambracey</dc:creator>
    <dc:date>2018-05-09T15:54:27Z</dc:date>
    <item>
      <title>Linker error. CodeWarrior for MCU Version: 10.6.4 Build Id:150416, Kinetis MK701NM0, MQX 5.1</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-error-CodeWarrior-for-MCU-Version-10-6-4-Build-Id-150416/m-p/722892#M14250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Linker error. CodeWarrior for MCU Version: 10.6.4 Build Id:150416, Kinetis MK701NM0, MQX 5.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions for correcting the following errors from the linker -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm-none-eabi-g++: error: $(MCUToolsBaseDirEnv)/ARM_GCC_Support/ewl/lib/armv7e-m/softfp/__arm_end.o: No such file or directory&lt;BR /&gt;arm-none-eabi-g++: error: $(MCUToolsBaseDirEnv)/ARM_GCC_Support/ewl/lib/armv7e-m/softfp/__arm_start.o: No such file or directory&lt;BR /&gt;arm-none-eabi-g++: error: $(PSP)/psp.a: No such file or directory&lt;BR /&gt;arm-none-eabi-g++: error: $(BSP)/bsp.a: No such file or directory&lt;BR /&gt;arm-none-eabi-g++: error: $(MFS)/mfs.a: No such file or directory&lt;BR /&gt;arm-none-eabi-g++: error: $(SHELL1)/shell.a: No such file or directory&lt;BR /&gt;mingw32-make: *** [ED_S3_EtherCAT.elf] Error 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a new project where I am adapting the board support for new hardware from a previous project and moving it to use MQX 5.1 from MQX4.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Libraries build with no errors and the above mentioned .a files are present. Application project compiles with no errors but doesn't link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An alternative project based on MQX5.1 builds successfully on my PC. This project fails with the same errors on a colleagues PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The paths to MQX5.1 folders and CW MCU v10.6.4 folders in the Project Settings look good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The $() variables in the errors above appear to be defined in makefile.local and used by makefile both of which are auto-generated in the project output folder. The paths defined in makefile.local look good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have obviously failed to set something up correctly in the project.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 08:59:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-error-CodeWarrior-for-MCU-Version-10-6-4-Build-Id-150416/m-p/722892#M14250</guid>
      <dc:creator>williambracey</dc:creator>
      <dc:date>2018-05-03T08:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Linker error. CodeWarrior for MCU Version: 10.6.4 Build Id:150416, Kinetis MK701NM0, MQX 5.1</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-error-CodeWarrior-for-MCU-Version-10-6-4-Build-Id-150416/m-p/722893#M14251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi William:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you double check the real value of $(PSP) , $(BSP)... by displaying&amp;nbsp; the env variables in windows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 14:37:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-error-CodeWarrior-for-MCU-Version-10-6-4-Build-Id-150416/m-p/722893#M14251</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-05-04T14:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Linker error. CodeWarrior for MCU Version: 10.6.4 Build Id:150416, Kinetis MK701NM0, MQX 5.1</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-error-CodeWarrior-for-MCU-Version-10-6-4-Build-Id-150416/m-p/722894#M14252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel&lt;/P&gt;&lt;P&gt;Thanks for the reply. Where would I find those "env variables in windows"?&lt;/P&gt;&lt;P&gt;I've tried "DOS window/set" command and also "Start/Control Panel\All Control Panel Items\System/advanced system settings - Advanced TAB/Environment Variables button" and the Windows Environment Variables do not contain any User or System Variable names like these or any other from CodeWarrior even when I have just done a build in CodeWarrior. I am using Win 7 pro.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2018 11:06:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-error-CodeWarrior-for-MCU-Version-10-6-4-Build-Id-150416/m-p/722894#M14252</guid>
      <dc:creator>williambracey</dc:creator>
      <dc:date>2018-05-08T11:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Linker error. CodeWarrior for MCU Version: 10.6.4 Build Id:150416, Kinetis MK701NM0, MQX 5.1</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-error-CodeWarrior-for-MCU-Version-10-6-4-Build-Id-150416/m-p/722895#M14253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I and a colleague have found the problem. Some when I must have ticked the "Customize linker input order" check box in Project Settings - C/C++ Build - Settings - Arm Ltd Windows GCC C++ Linker - Link Order. Checking and unchecking this box consistently makes it fail or link even though I made no other changes on this tab.&lt;/P&gt;&lt;P&gt;Having found this a search shows another forum query similar from &lt;SPAN&gt;Giovanni Casoli&lt;/SPAN&gt; about a null pointer error which we also occasionally see on this tab with the box checked.&lt;/P&gt;&lt;P&gt;The error with linking also appears to be reported in the document CW_MCU_v10_6_UP_2_0_0_RN.pdf CodeWarrior Development Studio for Microcontrollers, v10.6 Update 2.0.0 - page 8 ENGR00319187.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;Description&lt;/STRONG&gt;: When “Customize linker input order” option is enabled the project &lt;BR /&gt;build might finish with exception. &lt;BR /&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;: Disable “Customize linker input order” in Linker settings .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Along with many other settings I can find little description of the purpose and use of this. The Freescale document merely says it can be used to change the link order which I worked out from its name anyway.&lt;/P&gt;&lt;P&gt;Can someone recommend a good source of information about eclipse settings and how Freescale CodeWarrior uses it - for example why Freescale CodeWarrior MQX hides the debugger .launch files in the workspace metadata?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 15:54:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Linker-error-CodeWarrior-for-MCU-Version-10-6-4-Build-Id-150416/m-p/722895#M14253</guid>
      <dc:creator>williambracey</dc:creator>
      <dc:date>2018-05-09T15:54:27Z</dc:date>
    </item>
  </channel>
</rss>

