undefined reference to `SystemInit'

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

undefined reference to `SystemInit'

1,685 Views
liuweiliang
Contributor II

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

捕获.PNG

0 Kudos
1 Reply

1,065 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Wei:

Is this a MQX based project?

If yes, you need to build some libraries first, then build clean and build your applications

Regards

Daniel

0 Kudos