<?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>LPCXpresso IDEのトピックRe: Linker problem LPCxpresso</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555854#M13876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;This is what is stated in the Linker properties tab.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Martin Bal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2016 07:58:25 GMT</pubDate>
    <dc:creator>martinbal</dc:creator>
    <dc:date>2016-08-25T07:58:25Z</dc:date>
    <item>
      <title>Linker problem LPCxpresso</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555852#M13874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two similar projects. One is targeted for an LPC11U37 consisting of a main program and 5 libraries, the other is aimed aut LPC11U67 with the software but two extra libs.&lt;/P&gt;&lt;P&gt;The first one compiles and links, the second one give an link error.&lt;/P&gt;&lt;P&gt;The difference is in the objects.mk file.&lt;/P&gt;&lt;P&gt;The first one is like:&lt;/P&gt;&lt;P&gt;USER_OBJS :=&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBS := -lDSSS_ARM0_lib -lGeneral_ARM0_lib -lI2C_ARM0_lib -lVORN_lib -lCMSIS_CORE_LPC11Exx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the second one is like:&lt;/P&gt;&lt;P&gt;USER_OBJS :=&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBS := -l"" -l"" -l"" -l"" -l"" -l"" -l""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resulting in this error:&lt;/P&gt;&lt;P&gt;Invoking: MCU Linker arm-none-eabi-gcc -nostdlib -static -L"W:\PROJECTEN\LPC11XX\Zorghorloge\USB11U6x_lib\Release" -L"W:\PROJECTEN\LPC11XX\Zorghorloge\CMSISv2p00_LPC11Uxx\Release" -L"W:\PROJECTEN\LPC11XX\Zorghorloge\VORN_lib\Release" -L"W:\PROJECTEN\LPC11XX\Zorghorloge\I2C_ARM0_lib\Release" -L"W:\PROJECTEN\LPC11XX\Zorghorloge\General_ARM0_lib\Release" -L"W:\PROJECTEN\LPC11XX\Zorghorloge\FAT_fs\Release" -L"W:\PROJECTEN\LPC11XX\Zorghorloge\DSSS_ARM0_lib\Release" -Xlinker -Map="Zorghorloge.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "Zorghorloge_Release.ld" -o "Zorghorloge.axf"&amp;nbsp; ./src/NTM_kernel/Associatie.o ./src/NTM_kernel/Functie.o ./src/NTM_kernel/Init_I2C.o ./src/NTM_kernel/NTM_OS.o ./src/NTM_kernel/NTM_init.o ./src/NTM_kernel/NTM_main.o ./src/NTM_kernel/Parsing.o ./src/NTM_kernel/Slapen.o ./src/NTM_kernel/TR_service.o ./src/NTM_kernel/Timing68.o ./src/NTM_kernel/Transceive.o ./src/NTM_kernel/Uitvoer.o ./src/NTM_kernel/aeabi_romdiv_patch.o ./src/NTM_kernel/cr_startup_lpc11u6x.o ./src/NTM_kernel/crp.o&amp;nbsp; ./src/API_support/Buzzer.o ./src/API_support/DMA.o ./src/API_support/Events.o ./src/API_support/Hartrate.o ./src/API_support/LCD_routines.o ./src/API_support/RTC68.o ./src/API_support/Temperature.o ./src/API_support/Upload.o ./src/API_support/shock.o&amp;nbsp; ./src/API/API_service.o ./src/API/Boggle_init0.o ./src/API/SAPI_service.o ./src/API/VORN_service2.o&amp;nbsp;&amp;nbsp; -l"" -l"" -l"" -l"" -l"" -l"" -l""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm-none-eabi-gcc.exe: error: missing argument to '-l' make: *** [Zorghorloge.axf] Error 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot find the reason why, so we are stuck right before production.&lt;/P&gt;&lt;P&gt;Please help. Martin Bal, Ninthway CV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 06:53:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555852#M13874</guid>
      <dc:creator>martinbal</dc:creator>
      <dc:date>2016-08-25T06:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Linker problem LPCxpresso</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555853#M13875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what is shown in the pages of the Linker settings in Project Properties? Are all your libraries listed correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In particular check that both "Library search path (-L)" and "Libraries (-l)" are specified appropriately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also some background information that may be of use at:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/388991"&gt;Creating and Linking to Library Projects&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;LPCXpresso Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 07:25:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555853#M13875</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2016-08-25T07:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Linker problem LPCxpresso</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555854#M13876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;This is what is stated in the Linker properties tab.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Martin Bal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 07:58:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555854#M13876</guid>
      <dc:creator>martinbal</dc:creator>
      <dc:date>2016-08-25T07:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Linker problem LPCxpresso</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555855#M13877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After changing the notation of the libraries  in the style of the smart update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The objects.mk looks like:&lt;/P&gt;&lt;P&gt;################################################################################&lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;Automatically-generated file. Do not edit!&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;################################################################################&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USER_OBJS :=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIBS := -lCMSISv2p00_LPC11Uxx -lI2C_ARM0_lib -lDSSS_ARM0_lib -lFAT_fs -lGeneral_ARM0_lib -lUSB11U6x_lib -lVORN_lib&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And that is the way it should look like I guess.&lt;/P&gt;&lt;P&gt;It does not yet lead to a object file, because of a missing object.&lt;/P&gt;&lt;P&gt;As a matter of fact the other project has the same notation, so it is clear in the libraries field one should strictly use the name of the lib directory and no reference to workspace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose this solves the problem.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin Bal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 08:20:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555855#M13877</guid>
      <dc:creator>martinbal</dc:creator>
      <dc:date>2016-08-25T08:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Linker problem LPCxpresso</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555856#M13878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if the -l section is correct. For all of my projects there is only library name without path. So instead of "${workspace_loc:/Lib_CMSISv1p30_LPC17xx}" just Lib_CMSISv1p30_LPC17xx. And so on. Search paths are specified in -L.&lt;/P&gt;&lt;P&gt;But we are still using LPCXpresso 7.5.0 so I don't know for newer versions.&lt;/P&gt;&lt;P&gt;If the full paths are necessary for some reason then I suppose they are not correct because your workspace_loc already includes the Zorhorloge subfolder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 19:32:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555856#M13878</guid>
      <dc:creator>tomaskrysl</dc:creator>
      <dc:date>2016-08-30T19:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linker problem LPCxpresso</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555857#M13879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed Compiler include (-l) accepts “workspace_loc…”&lt;/P&gt;&lt;P&gt;Linker settings include (-l) only accept library name; library search path requires “workspace_loc…” A bit confusing.&lt;/P&gt;&lt;P&gt;Smart update installs the library names in the proper way.&lt;/P&gt;&lt;P&gt;In that case the makefile contains the names of the libraries instead of empty parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mistake was created by LPCxpresso during an editing of the library name. It suggested the prefix with workspace etc..  It should not have done that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin Bal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you still use version 7.5?&lt;/P&gt;&lt;P&gt;You can simply download the last version. It will not override the old one and at start of the new one you simply fill in the location of your workspace and you have  a version with less bugs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;P&gt;MB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Van: tomaskrysl &lt;/P&gt;&lt;P&gt;Verzonden: dinsdag 30 augustus 2016 21:40&lt;/P&gt;&lt;P&gt;Aan: Martin Bal&lt;/P&gt;&lt;P&gt;Onderwerp: Re:  - Linker problem LPCxpresso&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NXP Community &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linker problem LPCxpresso&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Tomas Krysl&amp;lt;https://community.nxp.com/people/tomaskrysl?et=watches.email.thread&amp;gt; in LPCXpresso IDE - View the full discussion&amp;lt;https://community.nxp.com/message/827206?commentID=827206&amp;amp;et=watches.email.thread#comment-827206&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 07:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555857#M13879</guid>
      <dc:creator>martinbal</dc:creator>
      <dc:date>2016-08-31T07:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linker problem LPCxpresso</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555858#M13880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Why do you still use version 7.5?"&lt;/P&gt;&lt;P&gt;Never touch a running business:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 09:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Linker-problem-LPCxpresso/m-p/555858#M13880</guid>
      <dc:creator>tomaskrysl</dc:creator>
      <dc:date>2016-08-31T09:55:33Z</dc:date>
    </item>
  </channel>
</rss>

