<?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 ... pls help in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/link-error-pls-help/m-p/180177#M4091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It means that the linker can't find a function named main() in your program. "Startup" is the CW default code that gets executed after MCU reset, and it calls main().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jan 2011 17:28:39 GMT</pubDate>
    <dc:creator>Lundin</dc:creator>
    <dc:date>2011-01-31T17:28:39Z</dc:date>
    <item>
      <title>link error ... pls help</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/link-error-pls-help/m-p/180176#M4090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody,&lt;/P&gt;&lt;P&gt;I'm new to codewarrior and I'm working on energy meter project. I got a reference code for this project and when I compile it I get the following error msg.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link Error&amp;nbsp;&amp;nbsp; : Undefined : "main"&lt;BR /&gt;Referenced from "_startup" in&lt;/P&gt;&lt;P&gt;Link failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does this error msg mean and how do I solve it?&lt;/P&gt;&lt;P&gt;I'm using the codewarrior version 6.3. But the actual project was done in an older version. Could that be the reason for the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 17:24:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/link-error-pls-help/m-p/180176#M4090</guid>
      <dc:creator>bingo23</dc:creator>
      <dc:date>2011-01-31T17:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: link error ... pls help</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/link-error-pls-help/m-p/180177#M4091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It means that the linker can't find a function named main() in your program. "Startup" is the CW default code that gets executed after MCU reset, and it calls main().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 17:28:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/link-error-pls-help/m-p/180177#M4091</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2011-01-31T17:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: link error ... pls help</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/link-error-pls-help/m-p/180178#M4092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply.&lt;/P&gt;&lt;P&gt;Ive checked the code and the main() fn is defined. Then why is this error still occurring?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 17:33:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/link-error-pls-help/m-p/180178#M4092</guid>
      <dc:creator>bingo23</dc:creator>
      <dc:date>2011-01-31T17:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: link error ... pls help</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/link-error-pls-help/m-p/180179#M4093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh sorry ... you were right. It was because the startup was calling Main() and the ref code was using main().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 17:36:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/link-error-pls-help/m-p/180179#M4093</guid>
      <dc:creator>bingo23</dc:creator>
      <dc:date>2011-01-31T17:36:49Z</dc:date>
    </item>
  </channel>
</rss>

