S32R41_TEF82_APP_A53 project build error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32R41_TEF82_APP_A53 project build error

553 Views
WayneWang
Contributor I
I got some errors when is building S32R41_TEF82_APP_A53 project base on zephyr. It looks like link error. Please help me, thanks~
 
----------------------------------------------------------------------------------------------------------------------------------------
 
c:\zR41_0.9.0\zephyr>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\wayne.wang\AppData\Roaming
ChocolateyInstall=C:\ProgramData\chocolatey
ChocolateyLastPathUpdate=133303674060987867
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=WANGLIN
ComSpec=C:\Windows\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
GNUARMNXP_TOOLCHAIN_PATH=C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_v9.2\gcc-9.2-arm64-eabi
HOMEDRIVE=C:
HOMEPATH=\Users\wayne.wang
LOCALAPPDATA=C:\Users\wayne.wang\AppData\Local
LOGONSERVER=\\ADSVR02
NUMBER_OF_PROCESSORS=8
OneDrive=C:\Users\wayne.wang\OneDrive
OS=Windows_NT
Path=C:\zR41_0.9.0\zephyr\include;C:\Python311\Scripts\;C:\Python311\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Graphviz\bin;C:\NXP\SWS32R41_Radar_SDK_0_9_0;D:\Program Files\anaconda3\Scripts;D:\Program Files\anaconda3\Library\bin;D:\Program Files\anaconda3\Library\mingw-w64\bin;D:\Program Files\anaconda3;D:\Program Files (x86)\mingw64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;D:\Program Files\MATLAB\R2023a\runtime\win64;D:\Program Files\MATLAB\R2023a\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\CMake\bin;C:\Users\wayne.wang\AppData\Local\Microsoft\WindowsApps;C:\Users\wayne.wang\.dotnet\tools;D:\Programs Files\Microsoft VS Code\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 140 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=8c01
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
RTD_PATH=C:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_SAF85_S32R41_2022_08\SW32R_RTD_4_4_0_9_0_D2208
S32DS_PROJECT_PATH=C:\S32R41\S32DS\S32R41_TEF82_RTD_A53
S32r41RsdkDirPath=C:\NXP\SWS32R41_Radar_SDK_0_9_0
S32r41ZephyrBuildDirPath=C:\zephyr_build
S32r41ZephyrDirPath=C:\zR41_0.9.0
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\WAYNE~1.WAN\AppData\Local\Temp
TMP=C:\Users\WAYNE~1.WAN\AppData\Local\Temp
USERDNSDOMAIN=FUSIONRIDE.COM
USERDOMAIN=FUSIONRIDE
USERDOMAIN_ROAMINGPROFILE=FUSIONRIDE
USERNAME=wayne.wang
USERPROFILE=C:\Users\wayne.wang
windir=C:\Windows
ZEPHYR_EXTRA_MODULES=C:\zR41_0.9.0\modules\hal\nxp
ZEPHYR_TOOLCHAIN_VARIANT=gnuarmnxp
ZES_ENABLE_SYSMAN=1
 
c:\zR41_0.9.0\zephyr>west build -p auto -b s32r418aaevb_a53 c:\S32R41\S32DS\S32R41_TEF82_APP_A53
-- west build: making build dir c:\zR41_0.9.0\zephyr\build pristine
-- west build: generating a build system
Including boilerplate (Zephyr base): C:/zR41_0.9.0/zephyr/cmake/app/boilerplate.cmake
-- Application: C:/S32R41/S32DS/S32R41_TEF82_APP_A53
-- git describe failed: fatal: not a git repository (or any of the parent directories): .git
-- Zephyr version: 2.7.2 (C:/zR41_0.9.0/zephyr), build:
-- Found Python3: C:/Python311/python.exe (found suitable exact version "3.11.3") found components: Interpreter
-- Found west (found suitable version "1.1.0", minimum required is "0.7.1")
-- Board: s32r418aaevb_a53
-- Cache files will be written to: C:/zR41_0.9.0/zephyr/.cache
-- Found dtc: C:/ProgramData/chocolatey/bin/dtc.exe (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found toolchain: gnuarmnxp (C:/NXP/S32DS.3.5/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi)
-- Found BOARD.dts: C:/zR41_0.9.0/zephyr/boards/arm64/s32r41evb_a53/s32r418aaevb_a53.dts
-- Found devicetree overlay: C:/S32R41/S32DS/S32R41_TEF82_APP_A53/app.overlay
-- Generated zephyr.dts: C:/zR41_0.9.0/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: C:/zR41_0.9.0/zephyr/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: C:/zR41_0.9.0/zephyr/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: C:/zR41_0.9.0/zephyr/build/zephyr/dts.cmake
Parsing C:/zR41_0.9.0/zephyr/Kconfig
Loaded configuration 'C:/zR41_0.9.0/zephyr/boards/arm64/s32r41evb_a53/s32r418aaevb_a53_defconfig'
Merged configuration 'C:/S32R41/S32DS/S32R41_TEF82_APP_A53/prj.conf'
Configuration saved to 'C:/zR41_0.9.0/zephyr/build/zephyr/.config'
Kconfig header saved to 'C:/zR41_0.9.0/zephyr/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/NXP/S32DS.3.5/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/aarch64-none-elf-gcc.exe
CMake Warning at C:/zR41_0.9.0/zephyr/subsys/random/CMakeLists.txt:11 (message):
 
 
      Warning: CONFIG_TEST_RANDOM_GENERATOR is not a truly random generator.
      This capability is not secure and it is provided for testing purposes only.
      Use it carefully.
 
 
-- RTD_PATH = C:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_SAF85_S32R41_2022_08\SW32R_RTD_4_4_0_9_0_D2208
-- S32DS_PROJECT_PATH = C:\S32R41\S32DS\S32R41_TEF82_RTD_A53
-- Configuring done (34.7s)
-- Generating done (0.5s)
-- Build files have been written to: C:/zR41_0.9.0/zephyr/build
-- west build: building application
[4/399] Generating include/generated/driver-validation.h
C:\zR41_0.9.0\zephyr\scripts\gen_kobject_list.py:66: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if LooseVersion(elftools.__version__) < LooseVersion('0.24'):
[5/399] Generating include/generated/kobj-types-enum.h, in...enerated/otype-to-str.h, include/generated/otype-to-size.h
C:\zR41_0.9.0\zephyr\scripts\gen_kobject_list.py:66: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if LooseVersion(elftools.__version__) < LooseVersion('0.24'):
[38/399] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg2.c.obj
C:/zR41_0.9.0/zephyr/subsys/logging/log_msg2.c: In function 'z_log_msg2_finalize':
C:/zR41_0.9.0/zephyr/subsys/logging/log_msg2.c:12:6: note: parameter passing for argument of type 'const struct log_msg2_desc' changed in GCC 9.1
   12 | void z_log_msg2_finalize(struct log_msg2 *msg, const void *source,
      |      ^~~~~~~~~~~~~~~~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_msg2.c: In function 'z_impl_z_log_msg2_static_create':
C:/zR41_0.9.0/zephyr/subsys/logging/log_msg2.c:32:6: note: parameter passing for argument of type 'const struct log_msg2_desc' changed in GCC 9.1
   32 | void z_impl_z_log_msg2_static_create(const void *source,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[42/399] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
C:/zR41_0.9.0/zephyr/subsys/logging/log_output.c: In function 'log_output_string':
C:/zR41_0.9.0/zephyr/subsys/logging/log_output.c:651:6: note: parameter passing for argument of type 'struct log_msg_id
' changed in GCC 9.1
  651 | void log_output_string(const struct log_output *output,
      |      ^~~~~~~~~~~~~~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_output.c: In function 'log_output_hexdump':
C:/zR41_0.9.0/zephyr/subsys/logging/log_output.c:689:6: note: parameter passing for argument of type 'struct log_msg_id
' changed in GCC 9.1
  689 | void log_output_hexdump(const struct log_output *output,
      |      ^~~~~~~~~~~~~~~~~~
[47/399] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_hexdump_sync':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:510:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
  510 | void log_hexdump_sync(struct log_msg_ids src_level, const char *metadata,
      |      ^~~~~~~~~~~~~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_generic_from_user':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:1033:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
 1033 | void log_generic_from_user(struct log_msg_ids src_level,
      |      ^~~~~~~~~~~~~~~~~~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_from_user':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:1049:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
 1049 | void log_from_user(struct log_msg_ids src_level, const char *fmt, ...)
      |      ^~~~~~~~~~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_hexdump_from_user':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:1121:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
 1121 | void log_hexdump_from_user(struct log_msg_ids src_level, const char *metadata,
      |      ^~~~~~~~~~~~~~~~~~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'msg_finalize':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:246:20: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
  246 | static inline void msg_finalize(struct log_msg *msg,
      |                    ^~~~~~~~~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_0':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:263:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
  263 | void log_0(const char *str, struct log_msg_ids src_level)
      |      ^~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_1':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:277:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
  277 | void log_1(const char *str,
      |      ^~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_2':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:293:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
  293 | void log_2(const char *str,
      |      ^~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_3':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:311:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
  311 | void log_3(const char *str,
      |      ^~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_n':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:330:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
  330 | void log_n(const char *str,
      |      ^~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_generic':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:439:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
  439 | void log_generic(struct log_msg_ids src_level, const char *fmt, va_list ap,
      |      ^~~~~~~~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_string_sync':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:499:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
  499 | void log_string_sync(struct log_msg_ids src_level, const char *fmt, ...)
      |      ^~~~~~~~~~~~~~~
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c: In function 'log_hexdump':
C:/zR41_0.9.0/zephyr/subsys/logging/log_core.c:348:6: note: parameter passing for argument of type 'struct log_msg_ids' changed in GCC 9.1
  348 | void log_hexdump(const char *str, const void *data, uint32_t length,
      |      ^~~~~~~~~~~
[57/399] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/shell/shell_telnet.c.obj
In file included from C:/zR41_0.9.0/zephyr/include/logging/log_msg2.h:604,
                 from C:/zR41_0.9.0/zephyr/include/logging/log_msg.h:12,
                 from C:/zR41_0.9.0/zephyr/include/logging/log_core.h:9,
                 from C:/zR41_0.9.0/zephyr/include/logging/log.h:11,
                 from C:/zR41_0.9.0/zephyr/subsys/shell/shell_telnet.c:10:
C:/zR41_0.9.0/zephyr/build/zephyr/include/generated/syscalls/log_msg2.h: In function 'z_log_msg2_static_create.constpro
':
C:/zR41_0.9.0/zephyr/build/zephyr/include/generated/syscalls/log_msg2.h:32:20: note: parameter passing for argument of type 'const struct log_msg2_desc' changed in GCC 9.1
   32 | static inline void z_log_msg2_static_create(const void * source, const struct log_msg2_desc desc, uint8_t * package, const void * data)
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~
[66/399] Building C object CMakeFiles/app.dir/C_/S32R41/S3...2R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_100BASE-T1.c.obj
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:121,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_100BASE-T1.h:70,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_100BASE-T1.c:43:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:55: warning: "ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION" redefined
   55 | #define ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION             1
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_BOARD_InitPeripherals_PBcfg.h:79,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_Cfg.h:39,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:48,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_100BASE-T1.h:70,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_100BASE-T1.c:43:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:57: note: this is the location of the previous definition
   57 | #define ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION             0
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:121,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_100BASE-T1.h:70,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_100BASE-T1.c:43:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:56: warning: "ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION" redefined
   56 | #define ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION             0
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_BOARD_InitPeripherals_PBcfg.h:79,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_Cfg.h:39,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:48,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_100BASE-T1.h:70,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_100BASE-T1.c:43:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:58: note: this is the location of the previous definition
   58 | #define ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION             9
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:121,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_100BASE-T1.h:70,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_100BASE-T1.c:43:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:57: warning: "ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION" redefined
   57 | #define ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION             1
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_BOARD_InitPeripherals_PBcfg.h:79,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_Cfg.h:39,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:48,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_100BASE-T1.h:70,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_100BASE-T1.c:43:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:59: note: this is the location of the previous definition
   59 | #define ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION             0
      |
[67/399] Building C object CMakeFiles/app.dir/C_/S32R41/S3...2R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c.obj
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:121,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:43:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:55: warning: "ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION" redefined
   55 | #define ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION             1
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_BOARD_InitPeripherals_PBcfg.h:79,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_Cfg.h:39,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:48,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:43:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:57: note: this is the location of the previous definition
   57 | #define ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION             0
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:121,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:43:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:56: warning: "ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION" redefined
   56 | #define ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION             0
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_BOARD_InitPeripherals_PBcfg.h:79,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_Cfg.h:39,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:48,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:43:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:58: note: this is the location of the previous definition
   58 | #define ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION             9
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:121,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:43:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:57: warning: "ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION" redefined
   57 | #define ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION             1
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_BOARD_InitPeripherals_PBcfg.h:79,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_Cfg.h:39,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:48,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:43:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:59: note: this is the location of the previous definition
   59 | #define ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION             0
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:173:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:57: warning: "ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION" redefined
   57 | #define ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION             0
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_Shared.h:218,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:46:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:55: note: this is the location of the previous definition
   55 | #define ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION             1
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:173:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:58: warning: "ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION" redefined
   58 | #define ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION             9
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_Shared.h:218,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:46:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:56: note: this is the location of the previous definition
   56 | #define ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION             0
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:173:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:59: warning: "ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION" redefined
   59 | #define ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION             0
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_Shared.h:218,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_Generic_100BASE-T1.c:46:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:57: note: this is the location of the previous definition
   57 | #define ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION             1
      |
[68/399] Building C object CMakeFiles/app.dir/C_/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_SGMII.c.obj
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:121,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_SGMII.h:76,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_SGMII.c:43:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:55: warning: "ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION" redefined
   55 | #define ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION             1
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_BOARD_InitPeripherals_PBcfg.h:79,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_Cfg.h:39,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:48,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_SGMII.h:76,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_SGMII.c:43:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:57: note: this is the location of the previous definition
   57 | #define ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION             0
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:121,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_SGMII.h:76,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_SGMII.c:43:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:56: warning: "ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION" redefined
   56 | #define ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION             0
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_BOARD_InitPeripherals_PBcfg.h:79,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_Cfg.h:39,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:48,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_SGMII.h:76,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_SGMII.c:43:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:58: note: this is the location of the previous definition
   58 | #define ETHTRCV_43_PHY_MEMMAP_SW_MINOR_VERSION             9
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:121,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_SGMII.h:76,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_SGMII.c:43:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:57: warning: "ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION" redefined
   57 | #define ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION             1
      |
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_BOARD_InitPeripherals_PBcfg.h:79,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/generate/include/Phy_Ip_Cfg.h:39,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:48,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SJA1110_SGMII.h:76,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SJA1110_SGMII.c:43:
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_SAF85_S32R41_2022_08/SW32R_RTD_4_4_0_9_0_D2208/BaseNXP_TS_T40D47M9I0R0/include/EthTrcv_43_PHY_MemMap.h:59: note: this is the location of the previous definition
   59 | #define ETHTRCV_43_PHY_MEMMAP_SW_PATCH_VERSION             0
      |
[69/399] Building C object CMakeFiles/app.dir/C_/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SGMII_Shared.c.obj
In file included from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip.h:121,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/Phy_Ip_SGMII_Shared.h:44,
                 from C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Phy_Ip_SGMII_Shared.c:42:
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/include/EthTrcv_43_PHY_MemMap.h:55: warning: "ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION" redefined
   55 | #define ETHTRCV_43_PHY_MEMMAP_SW_MAJOR_VERSION             1
      |
.
.
.
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Gmac_Ip.c:1817:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1817 |         if (Bd->Info0 == ((uint32)Buff->Data))
      |                           ^
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Gmac_Ip.c:1829:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1829 |                 if ((uint32)Bd >= (uint32)&ListBd[RingLength + 1UL])
      |                     ^
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Gmac_Ip.c:1829:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1829 |                 if ((uint32)Bd >= (uint32)&ListBd[RingLength + 1UL])
      |                                   ^
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Gmac_Ip.c: In function 'Gmac_Ip_GetCounter':
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Gmac_Ip.c:1884:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
 1884 |     CounterAddr = (uint32)(&Base->TX_OCTET_COUNT_GOOD_BAD);
      |                   ^
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/RTD/src/Gmac_Ip.c:1885:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1885 |     Count_Reg = (volatile uint32 (*)[FEATURE_GMAC_NUM_COUNTER_REG])CounterAddr;
      |                 ^
[376/399] Linking C executable zephyr\app_smem_unaligned_prebuilt.elf
FAILED: zephyr/app_smem_unaligned_prebuilt.elf zephyr/app_smem_unaligned_prebuilt.map C:/zR41_0.9.0/zephyr/build/zephyr/app_smem_unaligned_prebuilt.map
cmd.exe /C "cd . && C:\NXP\S32DS.3.5\S32DS\build_tools\gcc_v9.2\gcc-9.2-arm64-eabi\bin\aarch64-none-elf-gcc.exe   zephyr/CMakeFiles/app_smem_unaligned_prebuilt.dir/misc/empty_file.c.obj -o zephyr\app_smem_unaligned_prebuilt.elf  zephyr/CMakeFiles/offsets.dir/./arch/arm64/core/offsets/offsets.c.obj  -Wl,-T  zephyr/linker_app_smem_unaligned.cmd  -Wl,-Map=C:/zR41_0.9.0/zephyr/build/zephyr/app_smem_unaligned_prebuilt.map  -Wl,--whole-archive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm64/core/libarch__arm64__core.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/lib/posix/liblib__posix.a  zephyr/soc/arm64/nxp_s32/s32r/libsoc__arm64__nxp_s32__s32r.a  zephyr/subsys/net/libsubsys__net.a  zephyr/subsys/net/l2/ethernet/libsubsys__net__l2__ethernet.a  zephyr/subsys/net/ip/libsubsys__net__ip.a  zephyr/subsys/random/libsubsys__random.a  zephyr/drivers/interrupt_controller/libdrivers__interrupt_controller.a  zephyr/drivers/counter/libdrivers__counter.a  zephyr/drivers/console/libdrivers__console.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/mdio/libdrivers__mdio.a  zephyr/drivers/serial/libdrivers__serial.a  zephyr/drivers/ethernet/libdrivers__ethernet.a  zephyr/drivers/timer/libdrivers__timer.a  modules/mbedtls/libmodules__mbedtls.a  modules/hal_nxp/hal_nxp/s32_rtd/s32r/lib..__modules__hal__nxp__s32_rtd__s32r.a  -Wl,--no-whole-archive  zephyr/kernel/libkernel.a  -L"c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/../lib/gcc/aarch64-none-elf/9.2.0"  -LC:/zR41_0.9.0/zephyr/build/zephyr  -lgcc  C:/S32R41/S32DS/S32R41_TEF82_APP_A53/lib/libS32R41_TEF82_APP_SPT35.aspt  C:/NXP/SWS32R41_Radar_SDK_0_9_0/SPT/SPT_kernels/bin/librsdk_SPT_kernels_gcc_S32R41.a  C:/NXP/SWS32R41_Radar_SDK_0_9_0/CSI2/CSI2_driver/bin/librsdk_CSI2_driver_zephyr_gcc_S32R41_a53.a  C:/NXP/SWS32R41_Radar_SDK_0_9_0/RFE_abstract/RFE_driver/bin/librsdk_RFE_abstraction_zephyr_gcc_S32R41_a53.a  C:/NXP/SWS32R41_Radar_SDK_0_9_0/SPT/SPT_driver/bin/librsdk_SPT_driver_zephyr_gcc_S32R41_a53.a  C:/NXP/SWS32R41_Radar_SDK_0_9_0/oal/libs/user/zephyr-mailboxes/build-zephyr-user/liboal_user.a  C:/NXP/SWS32R41_Radar_SDK_0_9_0/oal/libs/kernel/driver/build-zephyr-kernel/liboal_driver.a  C:/NXP/SWS32R41_Radar_SDK_0_9_0/oal/libs/kernel/zephyr-mailboxes/build-zephyr-kernel/liboal_kernel.a  zephyr/kernel/libkernel.a  C:/NXP/SWS32R41_Radar_SDK_0_9_0/Tools/Trace/bin/librsdk_trace_zephyr_gcc_S32R41_a53.a  zephyr/arch/common/libisr_tables.a  --sysroot=C:/NXP/S32DS.3.5/S32DS/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/aarch64-none-elf  -mcpu=cortex-a53  -mabi=lp64  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-section=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -no-pie  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn  -specs=nosys.specs  -lc  -lm  -lgcc && cmd.exe /C "cd /D C:\zR41_0.9.0\zephyr\build\zephyr && "C:\Program Files\CMake\bin\cmake.exe" -E echo ""
c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/real-ld.exe: app/libapp.a(ipc-shm.c.obj): in function `ipc_shm_init_instance':
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:646: undefined reference to `ipc_os_init'
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:646:(.text.ipc_shm_init+0xe8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ipc_os_init'
c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/real-ld.exe: C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:651: undefined reference to `ipc_os_get_local_shm'
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:651:(.text.ipc_shm_init+0xf8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ipc_os_get_local_shm'
c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/real-ld.exe: C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:657: undefined reference to `ipc_os_get_remote_shm'
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:657:(.text.ipc_shm_init+0x110): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ipc_os_get_remote_shm'
c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/real-ld.exe: app/libapp.a(ipc-shm.c.obj): in function `managed_channel_init':
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:493: undefined reference to `ipc_os_get_local_shm'
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:493:(.text.ipc_shm_init+0x234): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ipc_os_get_local_shm'
c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/real-ld.exe: app/libapp.a(ipc-shm.c.obj): in function `ipc_shm_init_instance':
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:681: undefined reference to `ipc_os_free'
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:681:(.text.ipc_shm_init+0x2e8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ipc_os_free'
c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/real-ld.exe: app/libapp.a(ipc-shm.c.obj): in function `ipc_buf_pool_init':
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:401: undefined reference to `ipc_os_get_local_shm'
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:401:(.text.ipc_shm_init+0x3a0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ipc_os_get_local_shm'
c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm64-eabi/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/real-ld.exe: app/libapp.a(ipc-shm.c.obj): in function `ipc_shm_is_remote_ready':
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:939: undefined reference to `ipc_os_get_remote_shm'
C:/S32R41/S32DS/S32R41_TEF82_RTD_A53/IPCF/src/common/ipc-shm.c:939:(.text.ipc_shm_is_remote_ready+0x20): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `ipc_os_get_remote_shm'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'c:\zR41_0.9.0\zephyr\build'
Tags (1)
0 Kudos
1 Reply

490 Views
avanluijpen
NXP Employee
NXP Employee

Hello Wayne,

by the looks of things (undefined reference to 'ipc_os_get_remote_shm'), you missed an IPCF patch. 
Note that you need 3 patches for IPCF 0.9.1D2301 to work with v1.1 of the S32R41+TEF82xx Reference Platform code. 

  1. Add ipc-os-zephyr.c to C:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_SAF85_S32R41_2022_08\IPCF\src\os\zephyr 
    (copy this file from Patches\IPCF\zephyr)
  2. Replace C:\zR41_0.9.0\zephyr\soc\arm64\nxp_s32\s32r\mmu_regions.c 
    (copy this file from Patches\Zephyr BSP\v0.9.0\mmu ipcf)
  3. Copy “autosar” folder from the location C:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_SAF85_S32R41_2022_08\IPCF\src\os”  to C:\S32R41\S32DS\S32R41_TEF82_APP_M7_1\IPCF\src\os\autosar

Item 3. should not be your issue here, as that applies to the M7_1 core, but the first two apply to the A53 zephyr OS and IPCF itself 

@HaoRen please correct me if I'm wrong  

 

Customer Application Support Engineer
ADAS-CAS (V2X & Radar)