<?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: L1822 in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167809#M5014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Looking into the panel Target Settings panel-&amp;gt;compiler for hcs12 there is an edit box called "Command Line Arguments". This is where you find the -D__NO_FLOAT that you need to remove.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For info around floating point format, look in the Compiler for HC12 manual for option -Cf.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For info on which ansi library files to use, look into {Install}\lib\hc12c\readme.txt file&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2008 19:53:49 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2008-06-27T19:53:49Z</dc:date>
    <item>
      <title>Link Error: L1822</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167806#M5011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;Hello Forum members,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;I am using MC9S12GC32CPB16 in one of my projects. I am using Codewarrior 4.6 build 6345. I am using Processor Expert feature for my project coding. While building my complete code, I am getting following linker error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;Link Error&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; : L1822: Symbol _FUFLOAT in file ..\Projekt\MyProj_Data\P&amp;amp;E_Multilink_CyclonePro\ObjectCode\Measure.c.o is undefined&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman'; font-size: 3;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;Link Error&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; : L1822: Symbol _FADD in file ..\Projekt\MyProj_Data\P&amp;amp;E_Multilink_CyclonePro\ObjectCode\Measure.c.o is undefined&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman'; font-size: 3;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;Link Error&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; : L1822: Symbol _FMUL in file ..\Projekt\MyProj_Data\P&amp;amp;E_Multilink_CyclonePro\ObjectCode\Measure.c.o is undefined&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman'; font-size: 3;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;Link Error&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; : L1822: Symbol _FDIV in file ..\Projekt\MyProj_Data\P&amp;amp;E_Multilink_CyclonePro\ObjectCode\Measure.c.o is undefined&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman'; font-size: 3;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;Link Error&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; : L1822: Symbol _FCMP in file ..\Projekt\MyProj_Data\P&amp;amp;E_Multilink_CyclonePro\ObjectCode\Measure.c.o is undefined&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Times New Roman'; font-size: 3;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;Link Error&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; : L1822: Symbol _FSFLOAT in file ..\Projekt\MyProj_Data\P&amp;amp;E_Multilink_CyclonePro\ObjectCode\Measure.c.o is undefined&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;Link Error&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; : L1822: Symbol _FSUB in file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000; font-size: 3; font-family: 'Times New Roman';"&gt;..\Projekt\MyProj_Data\P&amp;amp;E_Multilink_CyclonePro\ObjectCode\Measure.c.o is undefined&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000;"&gt;Link Error&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; : Link failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000;"&gt;If I compile the same file individually, it is error free. These symbols are not present in my code files. Where do I need to look to remove this error? Could you people please clarify my error?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; color: #000000;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 18:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167806#M5011</guid>
      <dc:creator>SSK</dc:creator>
      <dc:date>2008-06-25T18:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error: L1822</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167807#M5012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You probably did not specify you are going to use floating point operation when you have created your project.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Look at &lt;A href="http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&amp;amp;message.id=1914&amp;amp;query.id=50604#M1914" target="_blank"&gt;this thread&lt;/A&gt; for instruction on how to fix that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The error messages are generated by the linker, so you can compile each source file separately without problem.&lt;/DIV&gt;&lt;DIV&gt;That is normal.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 20:21:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167807#M5012</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-06-25T20:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error: L1822</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167808#M5013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thank you very much for your kind reply.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have not configured my project for Floating point calculations. I have also checked the thread provided by you for this. But I am not able to&amp;nbsp;locate the option -D__NO_&lt;B&gt;FLOAT&lt;/B&gt;__ from compiler command line and add &lt;B&gt;floating&lt;/B&gt; &lt;B&gt;point&lt;/B&gt; format option (if needed) and also to locate the&amp;nbsp;ansi library file. Where these settings are to be done? Using compiler settings -&amp;gt; Target Settings panel-&amp;gt;compiler for hcs12-&amp;gt;Options button-&amp;gt;Code Generation tab-&amp;gt; Float 32bit or 64 bit -&amp;nbsp;is this the correct way to do the same? Where to replace the library and which one?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Creating new project will be a bigger task as Processor expert is used widely.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 21:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167808#M5013</guid>
      <dc:creator>SSK</dc:creator>
      <dc:date>2008-06-25T21:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error: L1822</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167809#M5014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Looking into the panel Target Settings panel-&amp;gt;compiler for hcs12 there is an edit box called "Command Line Arguments". This is where you find the -D__NO_FLOAT that you need to remove.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For info around floating point format, look in the Compiler for HC12 manual for option -Cf.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;For info on which ansi library files to use, look into {Install}\lib\hc12c\readme.txt file&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 19:53:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167809#M5014</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-06-27T19:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error: L1822</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167810#M5015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&amp;nbsp;Hi All,&lt;BR /&gt;&lt;BR /&gt;This is with respect to the previous posts regarding the L1822 linkage error ,&lt;BR /&gt;&lt;BR /&gt;I am hitting the error copied below&lt;BR /&gt;&lt;BR /&gt;"L1822: Symbol f__8cDocucamFPKFSc in file c:\documents and settings\01970704 20071108\screenfix\docus_data\p&amp;amp;e\objectcode\class_alphanumeric.cpp.o is undefined" .&lt;BR /&gt;&lt;BR /&gt;I am not sure what FPKFSc pertains to and how to to add it into the library.&lt;BR /&gt;&lt;BR /&gt;I am using CW version 2.0. I guess for me to alter the Compiler Settings, it is Edit &amp;gt;&amp;gt; P&amp;amp;E Settings &amp;gt;&amp;gt; Compiler for HCS12 &amp;gt;&amp;gt; Options. In Options, there is a window for "Code Generation" and I guess this is where we change the compiler settings by selecting the checkboxes that we require for the project.&lt;BR /&gt;&lt;BR /&gt;Is my understanding correct on the way to change compiler option settings ? Could you please confirm ?&lt;BR /&gt;&lt;BR /&gt;In the current project, I checked the compiler option for "float = IEEE32bit double = IEEE64bit guessing the error might be becasue I did not add FLOAT calculation option. However this is not the problem.&lt;BR /&gt;(Edit &amp;gt;&amp;gt; P&amp;amp;E Settings &amp;gt;&amp;gt; Compiler for HCS12 &amp;gt;&amp;gt;Options &amp;gt;&amp;gt; Code Generation)&lt;BR /&gt;&lt;BR /&gt;Looking forward to potential solutions&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 06:15:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167810#M5015</guid>
      <dc:creator>Motoman</dc:creator>
      <dc:date>2008-07-08T06:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error: L1822</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167811#M5016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I doubt that this error message has anything to do with the original topic of this thread, using floating point.&lt;BR /&gt;Changing the options will probably not help.&lt;BR /&gt;Instead I guess this f function (f::cDocucam?) just is not defined, or? Is there a definition? The FPKFSc name part encodes additional arguments of f, I would hope finding f should not be too dificult (or otherwise use longer names :smileyhappy: ).&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 10:53:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167811#M5016</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2008-07-08T10:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error: L1822</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167812#M5017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks for the above message, well I think the post from Daniel might have struck a nerve.&lt;BR /&gt;&lt;BR /&gt;This is the STRING_SEG pragma declaration and the function call I that was coded in the class Docucam.cpp.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#pragma STRING_SEG __PPAGE_SEG CONST_STRING&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; char* str1 = "Good Morning";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; void far fun_string(char* );&lt;BR /&gt;&amp;nbsp;&amp;nbsp; #pragma STRING_SEG DEFAULT&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; fun_string ( "How are you" )&amp;nbsp; ; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It is when I add the fun_string( "How are you" ) in the code that I get the linkage error. I defined &lt;I&gt;fun_string&lt;/I&gt; function prototype in the respective &lt;B&gt;.h&lt;/B&gt; file but that doesn't seem to be the fix.&lt;BR /&gt;&lt;BR /&gt;Waiting for responses.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 22:48:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-L1822/m-p/167812#M5017</guid>
      <dc:creator>Motoman</dc:creator>
      <dc:date>2008-07-08T22:48:32Z</dc:date>
    </item>
  </channel>
</rss>

