<?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: MC9S12ZVML128 CodeWarrior Compiler Error in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12ZVML128-CodeWarrior-Compiler-Error/m-p/2095728#M20474</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you possibly check:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;1) how both functions (&lt;STRONG&gt;main&lt;/STRONG&gt;, &lt;STRONG&gt;XSdkInit&lt;/STRONG&gt;) are declared (prototype/definition)?&lt;/P&gt;
&lt;P&gt;2) try to disable compiler optimizations and rebuild the project? Is the Linker error L1931 still present?&lt;/P&gt;
&lt;P&gt;3)have you adjusted the .prm file? are&amp;nbsp; both functions in .text section?&lt;/P&gt;
&lt;P&gt;4) try to explicitly declare function&amp;nbsp;&lt;STRONG&gt;XSdkInit&lt;/STRONG&gt; as extern&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if it does not help can you share linker command file, map file and linker/compiler options used in your project?&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;Stan&lt;/P&gt;
&lt;P&gt;thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 12 May 2025 20:10:50 GMT</pubDate>
    <dc:creator>stanish</dc:creator>
    <dc:date>2025-05-12T20:10:50Z</dc:date>
    <item>
      <title>MC9S12ZVML128 CodeWarrior Compiler Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12ZVML128-CodeWarrior-Compiler-Error/m-p/2094339#M20466</link>
      <description>&lt;P&gt;Description Resource Path Location Type&lt;BR /&gt;Fixup to not allocated object main in XSdkInit type 4, at offset 0x5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when set "Generate Debug Informatioin" option, this error could be solved.&lt;/P&gt;&lt;P&gt;however, the "G D I" option must be unset, so we want to know what can be a replace solution to the compiler option ' -sym full'.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 06:48:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12ZVML128-CodeWarrior-Compiler-Error/m-p/2094339#M20466</guid>
      <dc:creator>ren082215</dc:creator>
      <dc:date>2025-05-09T06:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S12ZVML128 CodeWarrior Compiler Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12ZVML128-CodeWarrior-Compiler-Error/m-p/2094395#M20467</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/250248"&gt;@ren082215&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you please elaborate on the description?&lt;/P&gt;
&lt;P&gt;What error do you get?&lt;/P&gt;
&lt;P&gt;Can you share screenshots?&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 07:38:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12ZVML128-CodeWarrior-Compiler-Error/m-p/2094395#M20467</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-05-09T07:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S12ZVML128 CodeWarrior Compiler Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12ZVML128-CodeWarrior-Compiler-Error/m-p/2094453#M20468</link>
      <description>&lt;P&gt;screenshots can't be shared because of the company policy.&lt;/P&gt;&lt;P&gt;the error is "L1931: Fixup to not allocated object", which has be decribed in&amp;nbsp;HC(S)08/RS08 Build Tools Utilities Manual.&lt;/P&gt;&lt;P&gt;as described before, when I unset the option 'generate debug info', which means the S12Z compiler mwccs12lisa compile without the option '-sym full'.&lt;/P&gt;&lt;P&gt;the project will get the error "Fixup to not allocated object main in XSdkInit type 4, at offset 0x5". XSdkInit is a function in my source file, it is called in main function.&lt;/P&gt;&lt;P&gt;If I set the option 'generate debug info', the project can be build successfully.&lt;/P&gt;&lt;P&gt;I want to know if there is a connectoin between '-sym full' compile option and the error 'fixup to not allocated object'.&lt;/P&gt;&lt;P&gt;If I use a gcc compiler or other compilers, the function in source code can be used normally, it may leads to the details in S12Z compiler.&lt;/P&gt;</description>
      <pubDate>Fri, 09 May 2025 08:27:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12ZVML128-CodeWarrior-Compiler-Error/m-p/2094453#M20468</guid>
      <dc:creator>ren082215</dc:creator>
      <dc:date>2025-05-09T08:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S12ZVML128 CodeWarrior Compiler Error</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12ZVML128-CodeWarrior-Compiler-Error/m-p/2095728#M20474</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you possibly check:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;1) how both functions (&lt;STRONG&gt;main&lt;/STRONG&gt;, &lt;STRONG&gt;XSdkInit&lt;/STRONG&gt;) are declared (prototype/definition)?&lt;/P&gt;
&lt;P&gt;2) try to disable compiler optimizations and rebuild the project? Is the Linker error L1931 still present?&lt;/P&gt;
&lt;P&gt;3)have you adjusted the .prm file? are&amp;nbsp; both functions in .text section?&lt;/P&gt;
&lt;P&gt;4) try to explicitly declare function&amp;nbsp;&lt;STRONG&gt;XSdkInit&lt;/STRONG&gt; as extern&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if it does not help can you share linker command file, map file and linker/compiler options used in your project?&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;Stan&lt;/P&gt;
&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 20:10:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MC9S12ZVML128-CodeWarrior-Compiler-Error/m-p/2095728#M20474</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2025-05-12T20:10:50Z</dc:date>
    </item>
  </channel>
</rss>

