<?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>LPC MicrocontrollersのトピックRe: what does this compiler error mean?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/what-does-this-compiler-error-mean/m-p/782868#M31454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That helped a lot, in a weird random sort of way. I started looking at every time I used the word "clock" in the assembly, and found I had used a label called "bcdclock" to point to a few bytes of memory where I store the data&amp;nbsp; from a DS1308 RTC, and&amp;nbsp;later I referred to it as "clock" not "bcdclock", so "clock" was not defined; and that really seemed to upset it.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2018 08:02:20 GMT</pubDate>
    <dc:creator>ianbenton</dc:creator>
    <dc:date>2018-07-26T08:02:20Z</dc:date>
    <item>
      <title>what does this compiler error mean?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/what-does-this-compiler-error-mean/m-p/782864#M31450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does this compiler error message mean?&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Building target: 02-1061-02.axf&lt;BR /&gt;Invoking: MCU Linker&lt;BR /&gt;arm-none-eabi-gcc -nostdlib -Xlinker -Map="02-1061-02.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -mcpu=cortex-m3 -mthumb -T "02-1061-02_Debug.ld" -o "02-1061-02.axf" ./src/02-1061-01.o &lt;BR /&gt;Memory region Used Size Region Size %age Used&lt;BR /&gt; MFlash64: 23472 B 64 KB 35.82%&lt;BR /&gt; Ram0_4: 1932 B 4 KB 47.17%&lt;BR /&gt; Ram1_4: 0 GB 4 KB 0.00%&lt;BR /&gt; Ram2_4: 0 GB 4 KB 0.00%&lt;BR /&gt;c:/nxp/mcuxpressoide_10.1.1_606/ide/tools/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m\libcr_c.a(cr_clock.o): In function `clock':&lt;BR /&gt;cr_clock.c:(.text.clock+0x0): undefined reference to `__sys_clock'&lt;BR /&gt;collect2.exe: error: ld returned 1 exit status&lt;BR /&gt;make: *** [02-1061-02.axf] Error 1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;MCUXPresso has recently started including these files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;c:/nxp/mcuxpressoide_10.1.1_606/ide/tools/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;in every new project, and now everything fails to compile with the error above. What has changed? (presumably accidentally changed)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 12:59:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/what-does-this-compiler-error-mean/m-p/782864#M31450</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2018-07-25T12:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: what does this compiler error mean?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/what-does-this-compiler-error-mean/m-p/782865#M31451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It means that in cour cr_clock.c you are using __sys_clock, and this object is not found by the linker.&lt;/P&gt;&lt;P&gt;It sounds like you are using a system clock function, but your project does not provide/include that clock function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 14:54:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/what-does-this-compiler-error-mean/m-p/782865#M31451</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-07-25T14:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: what does this compiler error mean?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/what-does-this-compiler-error-mean/m-p/782866#M31452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought it must mean something like that, but I'm not using a system clock function. In fact I'm not using any C functions at all because the project is entirely in assembler.&lt;/P&gt;&lt;P&gt;Some settings have clearly changed, because MCUXpresso created this project differently from all my previous ones:&lt;/P&gt;&lt;P&gt;It added an "includes" directory containing:&lt;/P&gt;&lt;P&gt;MCUXpressoIDE_10.1.1_606/ide/tools/features/include&amp;nbsp; &amp;nbsp;and&lt;/P&gt;&lt;P&gt;MCUXpressoIDE_10.1.1._606/ide/tools/redlib/include&amp;nbsp; &amp;nbsp;which was not there in previous projects&lt;/P&gt;&lt;P&gt;It uses a different filename for the .axf file (now prefixed with "lib")&lt;/P&gt;&lt;P&gt;The icon for the .axf file has changed from a purple beetle to a purple amoeba&lt;/P&gt;&lt;P&gt;The project icon (an open folder with a superscript "c") now has a subscript "i".&lt;/P&gt;&lt;P&gt;There's about 500 bytes of RAM used at 0x02000000 which I didn't use in the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues as to what got changed, because otherwise I'll&amp;nbsp;take aeons to&amp;nbsp;find it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 15:25:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/what-does-this-compiler-error-mean/m-p/782866#M31452</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2018-07-25T15:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: what does this compiler error mean?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/what-does-this-compiler-error-mean/m-p/782867#M31453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would make it link first and then check the .map file produce by the linker to see what gets added.&lt;/P&gt;&lt;P&gt;For this, add something dummy like this:&lt;/P&gt;&lt;P&gt;int __sys_clock(void) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;and then check the map file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 17:04:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/what-does-this-compiler-error-mean/m-p/782867#M31453</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-07-25T17:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: what does this compiler error mean?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/what-does-this-compiler-error-mean/m-p/782868#M31454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That helped a lot, in a weird random sort of way. I started looking at every time I used the word "clock" in the assembly, and found I had used a label called "bcdclock" to point to a few bytes of memory where I store the data&amp;nbsp; from a DS1308 RTC, and&amp;nbsp;later I referred to it as "clock" not "bcdclock", so "clock" was not defined; and that really seemed to upset it.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 08:02:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/what-does-this-compiler-error-mean/m-p/782868#M31454</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2018-07-26T08:02:20Z</dc:date>
    </item>
  </channel>
</rss>

