AnsweredAssumed Answered

undefined reference to `SystemInit'

Question asked by liu wei on Mar 19, 2018
Latest reply on Mar 29, 2018 by Daniel Chen

the error comes from Example Project of "hello_world_mpc5748g".When I build this project,it gave me a error.

I use window10 system.

error1:C:/NXP/S32DS_Power_v2017.R1/S32DS/S32_SDK_MPC574xx_EAR_0.8.1/platform/devices/MPC5748G/startup/gcc/startup_MPC5748G.S:246: undefined reference to `SystemInit'
error2:C:/NXP/S32DS_Power_v2017.R1/S32DS/S32_SDK_MPC574xx_EAR_0.8.1/platform/devices/MPC5748G/startup/gcc/startup_MPC5748G.S:249: undefined reference to `init_data_bss'
collect2.exe: error: ld returned 1 exit status
error3:make: *** [makefile:58: hello_world_mpc5748g.elf] Error 1

 

Outcomes