<?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>CodeWarrior for MCUのトピックRe: Link error L1822 + uCOS-II</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-error-L1822-uCOS-II/m-p/126088#M298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Salut Nico,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Here are my two pence worth.&lt;/DIV&gt;&lt;DIV&gt;Your LINKER error means that you have included the new&amp;nbsp;C-file properly in your test.c.&lt;/DIV&gt;&lt;DIV&gt;However, a symbol (= variable, array, constant... whatever) from uCOS is declared in its files but is not declared in test.c.&lt;/DIV&gt;&lt;DIV&gt;From the name of the symbol, I guess the function "OSInit" prototype need to be added as an extern in test.c for the LINKER to see the reference between the two files...&lt;/DIV&gt;&lt;DIV&gt;May be...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Bonne Chance,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2006 01:00:33 GMT</pubDate>
    <dc:creator>Alban</dc:creator>
    <dc:date>2006-02-10T01:00:33Z</dc:date>
    <item>
      <title>Link error L1822 + uCOS-II</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-error-L1822-uCOS-II/m-p/126087#M297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use codewarrior with a card with HC12 (mc9s12dt256).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to use uCOS-II on this card. For the moment, I try to compile the test file of uCOS for HC12. I try to compile it in codewarrior and view the results in the simulator of codewarrior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is the next :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I have add the .h and the .c of uCOS in the lib folder of codewarrior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I have not modify the test file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- When I compile the file, I have a lot of link errors L1822.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The errors are :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Link error : L1822 : Symbol OSInit in file C:\prj\test.c.o is undefined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Someone can help me, because I search since 5 days and I don't progress.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nicolas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2006 21:11:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-error-L1822-uCOS-II/m-p/126087#M297</guid>
      <dc:creator>nicolas</dc:creator>
      <dc:date>2006-02-09T21:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Link error L1822 + uCOS-II</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-error-L1822-uCOS-II/m-p/126088#M298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Salut Nico,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Here are my two pence worth.&lt;/DIV&gt;&lt;DIV&gt;Your LINKER error means that you have included the new&amp;nbsp;C-file properly in your test.c.&lt;/DIV&gt;&lt;DIV&gt;However, a symbol (= variable, array, constant... whatever) from uCOS is declared in its files but is not declared in test.c.&lt;/DIV&gt;&lt;DIV&gt;From the name of the symbol, I guess the function "OSInit" prototype need to be added as an extern in test.c for the LINKER to see the reference between the two files...&lt;/DIV&gt;&lt;DIV&gt;May be...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Bonne Chance,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2006 01:00:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-error-L1822-uCOS-II/m-p/126088#M298</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-02-10T01:00:33Z</dc:date>
    </item>
  </channel>
</rss>

