S32 Design Studio - ld returned 5 exit status

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32 Design Studio - ld returned 5 exit status

2,013 次查看
Durgaprasad02
Contributor II

 

Hi,

I'm encountering the following error during the build process:.

Invoking: Standard S32DS C Linker
arm-none-eabi-gcc -o "can_pal_s32k118.elf" "@can_pal_s32k118.args"
collect2.exe: error: ld returned 5 exit status
make: *** [makefile:47: can_pal_s32k118.elf] Error 1
make -j14 all" terminated with exit code 2. Build might be incomplete.

Could you please help me resolve this issue?

0 项奖励
回复
9 回复数

1,957 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you share which version of S32DS you are using?

Best regards,

Peter

 

0 项奖励
回复

1,948 次查看
Durgaprasad02
Contributor II

Durgaprasad02_0-1742531232268.png

 

0 项奖励
回复

1,941 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

can you please share full output from build console? 

 

If you delete (or make backup and delete it from workspace, if it is modified example) the project and create it again from File -> Project from Example, is the behavior same? If So, try to create new workspace. 

0 项奖励
回复

1,932 次查看
Durgaprasad02
Contributor II

Hi jiri,

Please find attached console data  for your reference.

标记 (1)
0 项奖励
回复

1,916 次查看
jiri_kral
NXP Employee
NXP Employee

Everything looks okay, except the linker error. 

Please try another example or create new workspace and open again can_pal example in new workspace. 

0 项奖励
回复

1,904 次查看
Durgaprasad02
Contributor II
Hi Jiri,

getting same.
0 项奖励
回复

1,774 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

were you able to resolve the issue or it is the same.

Did you try it also on different PC?

best regards,

Peter

0 项奖励
回复

1,981 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Hard to say, you can try to enabled verbose mode and put whole output from build console.

petervlna_0-1742458179375.png

Best regards,

Peter

 

0 项奖励
回复

1,973 次查看
Durgaprasad02
Contributor II

Hello peter,

Same error after enabling that check box too.

0 项奖励
回复