S32 Design Studio - ld returned 5 exit status

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

S32 Design Studio - ld returned 5 exit status

2,020 Views
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 Kudos
Reply
9 Replies

1,964 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you share which version of S32DS you are using?

Best regards,

Peter

 

0 Kudos
Reply

1,955 Views
Durgaprasad02
Contributor II

Durgaprasad02_0-1742531232268.png

 

0 Kudos
Reply

1,948 Views
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 Kudos
Reply

1,939 Views
Durgaprasad02
Contributor II

Hi jiri,

Please find attached console data  for your reference.

Tags (1)
0 Kudos
Reply

1,923 Views
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 Kudos
Reply

1,911 Views
Durgaprasad02
Contributor II
Hi Jiri,

getting same.
0 Kudos
Reply

1,781 Views
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 Kudos
Reply

1,988 Views
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 Kudos
Reply

1,980 Views
Durgaprasad02
Contributor II

Hello peter,

Same error after enabling that check box too.

0 Kudos
Reply