<?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: Make: .axf Error 1 in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584950#M26510</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by frame on Sat Dec 08 06:13:51 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be helpful to post the whole build command line that threw this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the commands involved doesn't like a '-T' option.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 01:21:01 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T01:21:01Z</dc:date>
    <item>
      <title>Make: .axf Error 1</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584949#M26509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bitcast on Fri Dec 07 05:53:00 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a project working fine, then I tried to create another one, following same steps on creation to test ADC functions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On "Build" I get this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [adc_lcd.axf] Error 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unrecognized option '-T'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell me whats wrong? In fact it only works on 1 project, all other I tried to create after that are showing this error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584949#M26509</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Make: .axf Error 1</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584950#M26510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by frame on Sat Dec 08 06:13:51 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be helpful to post the whole build command line that threw this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the commands involved doesn't like a '-T' option.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:21:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584950#M26510</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Make: .axf Error 1</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584951#M26511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bitcast on Mon Dec 10 06:23:58 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../TextLCD/TextLCD.cpp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C++ Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-c++ -D__NEWLIB__ -DTOOLCHAIN_GCC_CR -DTARGET_LPC1768 -D__CODE_RED -DCPP_USE_HEAP -I"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3" -I"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3\mbed\LPC1768\GCC_CR" -I"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\CMSISv1p30_LPC17xx" -I"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3\mbed\LPC1768" -I"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3\mbed" -I"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3\TextLCD" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fno-exceptions -mcpu=cortex-m3 -mthumb -MMD -MP -MF"TextLCD/TextLCD.d" -MT"TextLCD/TextLCD.d" -o"TextLCD/TextLCD.o" "../TextLCD/TextLCD.cpp"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:/nxp/lpcxpresso_4.2.2_275/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: unrecognized option '-T'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finished building: ../TextLCD/TextLCD.cpp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:/nxp/lpcxpresso_4.2.2_275/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: use the --help option for usage information&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;collect2: ld returned 1 exit status&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building target: lcd3.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [lcd3.axf] Error 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C++ Linker&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-c++ -nostdlib -L"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3" -L"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3\mbed" -L"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3\TextLCD" -Xlinker -Map="lcd3.map" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "" -o"lcd3.axf"&amp;nbsp; ./main.o&amp;nbsp; ./TextLCD/TextLCD.o&amp;nbsp;&amp;nbsp; -lmbed -lcapi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:21:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584951#M26511</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Make: .axf Error 1</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584952#M26512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Mon Dec 10 06:29:43 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like you have switched off the "manage linker script" option in the Linker 'Target' settings&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:21:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584952#M26512</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Make: .axf Error 1</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584953#M26513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bitcast on Mon Dec 10 07:01:07 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Turned "manager liker scritp" on and the problem changed to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Building target: lcd3.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C++ Linker&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-c++ -nostdlib -L"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3" -L"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3\mbed" -L"C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3\TextLCD" -Xlinker -Map="lcd3.map" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "C:\Users\Vitor\Documents\LPCXpresso_4.2.2_275\workspace\lcd3\mbed\LPC1768\GCC_CR\LPC1768.ld" -o"lcd3.axf"&amp;nbsp; ./main.o&amp;nbsp; ./TextLCD/TextLCD.o&amp;nbsp;&amp;nbsp; -lmbed -lcapi&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:/nxp/lpcxpresso_4.2.2_275/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: [COLOR=red]cannot find -lmbed[/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:/nxp/lpcxpresso_4.2.2_275/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: [COLOR=red]cannot find -lcapi[/COLOR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;collect2: ld returned 1 exit status&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[COLOR=Red]make: *** [lcd3.axf] Error 1[/COLOR]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:21:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584953#M26513</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Make: .axf Error 1</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584954#M26514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Tue Dec 11 03:17:45 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It wants to link with the mbed library and 'capi' (whatever that is). Suggest you ask on the mbed forum where to get these libraries from,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 01:21:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584954#M26514</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T01:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Make: .axf Error 1</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584955#M26515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The empty string in&amp;nbsp;&lt;CODE&gt;-T "" means that the linker script file location setting has something in it, but cannot be computed. &amp;nbsp;When I exported a project from mbed to lpcxpresso, I found "${workspace_loc:/${ProjName}/None}" in managed linker settings, which points to nothing, and causes the error.&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;My export also did not have the toolchain object and linker files when exporting my project. &amp;nbsp;I still haven't figure out where proper library files are and how to link them manually. &amp;nbsp;I created a duplicate project that used the mbed_src library. &amp;nbsp;So when I exported I have the entire source code and it compiled completely first try.&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 01:51:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Make-axf-Error-1/m-p/584955#M26515</guid>
      <dc:creator>ptpaterson</dc:creator>
      <dc:date>2016-10-13T01:51:00Z</dc:date>
    </item>
  </channel>
</rss>

