<?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: Link Error in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC12-Link-Error/m-p/129315#M880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The derivative independent ansibi.lib cannot contain SCI code as&lt;BR /&gt;this has to be adapted the your actual speeds and SCI port number.&lt;BR /&gt;Therefore your have to provide you own TERMIO_Putchar and TERMIO_Init functions.&lt;BR /&gt;Have a look at the code in&lt;BR /&gt;lib\hc12c\src\termio.c&lt;BR /&gt;Adapt TERMIO_Init and call it before using printf.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2006 20:13:58 GMT</pubDate>
    <dc:creator>CompilerGuru</dc:creator>
    <dc:date>2006-09-07T20:13:58Z</dc:date>
    <item>
      <title>HC12: Link Error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC12-Link-Error/m-p/129312#M877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;When I make the program " Helloworld". It always shows linked failed:&lt;/DIV&gt;&lt;DIV&gt;C:\.....HC12C\lib\ansibi.lib is undefined.&lt;/DIV&gt;&lt;DIV&gt;Why?&lt;/DIV&gt;&lt;DIV&gt;I remove lib\ansibi.lib then add it. It still has this problem.&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Message Edited by CrasyCat on &lt;SPAN class="date_text"&gt;2007-04-13&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;02:26 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 09:14:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC12-Link-Error/m-p/129312#M877</guid>
      <dc:creator>quassia</dc:creator>
      <dc:date>2006-09-06T09:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC12-Link-Error/m-p/129313#M878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Can you copy the exact error message you get?&lt;BR /&gt;(Ctrl-C in the message window does work)&lt;BR /&gt;The term "undefined" sounds more like it would not find something inside of the ansi lib than it would not find it.&lt;BR /&gt;Does it behave the same when you pick another lib?&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 15:03:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC12-Link-Error/m-p/129313#M878</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2006-09-06T15:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC12-Link-Error/m-p/129314#M879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;My program is:&lt;/DIV&gt;&lt;DIV&gt;#include &amp;lt;hidef.h&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* common defines and macros */&lt;BR /&gt;#include &amp;lt;mc9s12a512.h&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* derivative information */&lt;BR /&gt;#include &amp;lt;stdio.h&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;#pragma LINK_INFO DERIVATIVE "SampleS12"&lt;/DIV&gt;&lt;DIV&gt;void main(void) {&amp;nbsp;&lt;BR /&gt;&amp;nbsp; printf("Hello World");&lt;BR /&gt;}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I complile it shows&amp;nbsp;1 warnings:&lt;/DIV&gt;&lt;DIV&gt;Warning: c1420: Result of function-call is ignored main.c line 11&lt;/DIV&gt;&lt;DIV&gt;When I make it shows&lt;/DIV&gt;&lt;DIV&gt;Link Error: L1822: Symbol TERMIO_PutChar in file C:\Program Files\Metrowerks\..\HC12c\lib\ansibi.lib&lt;/DIV&gt;&lt;DIV&gt;is undefined&lt;/DIV&gt;&lt;DIV&gt;Link Error:Link failed&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2006 20:47:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC12-Link-Error/m-p/129314#M879</guid>
      <dc:creator>quassia</dc:creator>
      <dc:date>2006-09-06T20:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC12-Link-Error/m-p/129315#M880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The derivative independent ansibi.lib cannot contain SCI code as&lt;BR /&gt;this has to be adapted the your actual speeds and SCI port number.&lt;BR /&gt;Therefore your have to provide you own TERMIO_Putchar and TERMIO_Init functions.&lt;BR /&gt;Have a look at the code in&lt;BR /&gt;lib\hc12c\src\termio.c&lt;BR /&gt;Adapt TERMIO_Init and call it before using printf.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2006 20:13:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC12-Link-Error/m-p/129315#M880</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2006-09-07T20:13:58Z</dc:date>
    </item>
  </channel>
</rss>

