<?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: S32M LIN Stack compilation errors in S32M</title>
    <link>https://community.nxp.com/t5/S32M/S32M-LIN-Stack-compilation-errors/m-p/2067524#M32</link>
    <description>&lt;P&gt;I needed to add an include to lin_commontl_proto.c for the master and slave code:&lt;BR /&gt;#include "OsIf_Internal.h"&lt;/P&gt;&lt;P&gt;The master code will build now, but the slave code still has errors:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;LINIF_IDLE is not defined&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;stacks/lin/lin_dal/src/lin_dal.c:520:23: error: 'LinIf_Channel_State' undeclared&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Mar 2025 20:24:37 GMT</pubDate>
    <dc:creator>hns80</dc:creator>
    <dc:date>2025-03-24T20:24:37Z</dc:date>
    <item>
      <title>S32M LIN Stack compilation errors</title>
      <link>https://community.nxp.com/t5/S32M/S32M-LIN-Stack-compilation-errors/m-p/2067519#M31</link>
      <description>&lt;P&gt;I am using S32DS 3.5 and S32M24 RTD 2.0.0 and installed the S32K1_S32M24X_LINSTACK_RTM_1_0_2_D2308_updatesite.zip.&lt;/P&gt;&lt;P&gt;I imported the master and slave examples, fixed the backslash problem in the mex file (&amp;lt;setting name="LDFRelativePath" value="src&lt;STRONG&gt;\&lt;/STRONG&gt;LIN21.ldf"/&amp;gt;), and generated the configuration code.&lt;/P&gt;&lt;P&gt;Neither project will build.&lt;/P&gt;&lt;P&gt;The slave code has these errors:&lt;/P&gt;&lt;P&gt;Description Resource Path Location Type&lt;BR /&gt;'LinIf_Channel_State' undeclared (first use in this function) lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 520 C/C++ Problem&lt;BR /&gt;'LINIF_IDLE' undeclared (first use in this function); did you mean 'LINIF_CODE'? lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 520 C/C++ Problem&lt;BR /&gt;Field 'lin_baudrate_adjusted_flg' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 199 Semantic Error&lt;BR /&gt;Field 'lin_max_frame_res_timeout_val' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 193 Semantic Error&lt;BR /&gt;Field 'lin_protocol_state' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 172 Semantic Error&lt;BR /&gt;Field 'lin_protocol_state' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 438 Semantic Error&lt;BR /&gt;Field 'lin_protocol_state' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 443 Semantic Error&lt;BR /&gt;Field 'lin_protocol_state' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 488 Semantic Error&lt;BR /&gt;Field 'lin_virtual_interface' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 128 Semantic Error&lt;BR /&gt;Field 'lin_virtual_interface' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 146 Semantic Error&lt;BR /&gt;Field 'lin_virtual_interface' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 176 Semantic Error&lt;BR /&gt;Field 'lin_virtual_interface' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 181 Semantic Error&lt;BR /&gt;Field 'lin_virtual_interface' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 302 Semantic Error&lt;BR /&gt;Field 'lin_virtual_interface' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 411 Semantic Error&lt;BR /&gt;Field 'lin_virtual_interface' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 489 Semantic Error&lt;BR /&gt;Field 'max_idle_timeout_cnt' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 528 Semantic Error&lt;BR /&gt;Field 'response_buffer_ptr' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 443 Semantic Error&lt;BR /&gt;Field 'response_length' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 438 Semantic Error&lt;BR /&gt;implicit declaration of function 'OsIf_ResumeAllInterrupts' [-Werror=implicit-function-declaration] lin_commontl_proto.c /Lin_Master_S32M244_Example_DS/stacks/lin/src line 1241 C/C++ Problem&lt;BR /&gt;implicit declaration of function 'OsIf_ResumeAllInterrupts' [-Werror=implicit-function-declaration] lin_commontl_proto.c /Lin_Slave_S32M244_Example_DS/stacks/lin/src line 1241 C/C++ Problem&lt;BR /&gt;implicit declaration of function 'OsIf_SuspendAllInterrupts' [-Werror=implicit-function-declaration] lin_commontl_proto.c /Lin_Master_S32M244_Example_DS/stacks/lin/src line 1172 C/C++ Problem&lt;BR /&gt;implicit declaration of function 'OsIf_SuspendAllInterrupts' [-Werror=implicit-function-declaration] lin_commontl_proto.c /Lin_Slave_S32M244_Example_DS/stacks/lin/src line 1172 C/C++ Problem&lt;BR /&gt;make: *** [stacks/lin/lin_dal/src/subdir.mk:20: stacks/lin/lin_dal/src/lin_dal.o] Error 1 Lin_Slave_S32M244_Example_DS C/C++ Problem&lt;BR /&gt;make: *** [stacks/lin/src/subdir.mk:36: stacks/lin/src/lin_commontl_proto.o] Error 1 Lin_Master_S32M244_Example_DS C/C++ Problem&lt;BR /&gt;make: *** [stacks/lin/src/subdir.mk:36: stacks/lin/src/lin_commontl_proto.o] Error 1 Lin_Slave_S32M244_Example_DS C/C++ Problem&lt;BR /&gt;make: *** Waiting for unfinished jobs.... Lin_Master_S32M244_Example_DS C/C++ Problem&lt;BR /&gt;make: *** Waiting for unfinished jobs.... Lin_Slave_S32M244_Example_DS C/C++ Problem&lt;BR /&gt;Symbol 'LinIf_Channel_State' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 520 Semantic Error&lt;BR /&gt;Symbol 'LINIF_IDLE' could not be resolved lin_dal.c /Lin_Slave_S32M244_Example_DS/stacks/lin/lin_dal/src line 520 Semantic Error&lt;/P&gt;&lt;P&gt;The master code has fewer errors:&lt;/P&gt;&lt;P&gt;Description Resource Path Location Type&lt;BR /&gt;implicit declaration of function 'OsIf_ResumeAllInterrupts' [-Werror=implicit-function-declaration] lin_commontl_proto.c /Lin_Master_S32M244_Example_DS/stacks/lin/src line 1241 C/C++ Problem&lt;BR /&gt;implicit declaration of function 'OsIf_SuspendAllInterrupts' [-Werror=implicit-function-declaration] lin_commontl_proto.c /Lin_Master_S32M244_Example_DS/stacks/lin/src line 1172 C/C++ Problem&lt;/P&gt;&lt;P&gt;How can these errors be resolved?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 20:00:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32M/S32M-LIN-Stack-compilation-errors/m-p/2067519#M31</guid>
      <dc:creator>hns80</dc:creator>
      <dc:date>2025-03-24T20:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32M LIN Stack compilation errors</title>
      <link>https://community.nxp.com/t5/S32M/S32M-LIN-Stack-compilation-errors/m-p/2067524#M32</link>
      <description>&lt;P&gt;I needed to add an include to lin_commontl_proto.c for the master and slave code:&lt;BR /&gt;#include "OsIf_Internal.h"&lt;/P&gt;&lt;P&gt;The master code will build now, but the slave code still has errors:&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;LINIF_IDLE is not defined&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;stacks/lin/lin_dal/src/lin_dal.c:520:23: error: 'LinIf_Channel_State' undeclared&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 20:24:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32M/S32M-LIN-Stack-compilation-errors/m-p/2067524#M32</guid>
      <dc:creator>hns80</dc:creator>
      <dc:date>2025-03-24T20:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32M LIN Stack compilation errors</title>
      <link>https://community.nxp.com/t5/S32M/S32M-LIN-Stack-compilation-errors/m-p/2072064#M33</link>
      <description>&lt;P&gt;I deleted both projects completely from my workspace, then re-imported the Lin_Slave and Lin_Master projects. Before opening the configurator, I fixed the backslash problem on the LDF source line mentioned in the original post.&lt;/P&gt;&lt;P&gt;I then opened the configurator, updated the code, and was able to build successfully.&lt;/P&gt;&lt;P&gt;Why is this line of the configurator consistently broken across all versions of this code? I see the same problem in the S32K118 implementation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 13:06:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32M/S32M-LIN-Stack-compilation-errors/m-p/2072064#M33</guid>
      <dc:creator>hns80</dc:creator>
      <dc:date>2025-04-01T13:06:04Z</dc:date>
    </item>
  </channel>
</rss>

