undefined reference to `SystemInit'

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

undefined reference to `SystemInit'

2,477件の閲覧回数
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 件の賞賛
返信
1 返信

1,857件の閲覧回数
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 件の賞賛
返信