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

1,989 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,933 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you share which version of S32DS you are using?

Best regards,

Peter

 

0 Kudos
Reply

1,924 Views
Durgaprasad02
Contributor II

Durgaprasad02_0-1742531232268.png

 

0 Kudos
Reply

1,917 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,908 Views
Durgaprasad02
Contributor II

Hi jiri,

Please find attached console data  for your reference.

Tags (1)
0 Kudos
Reply

1,892 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,880 Views
Durgaprasad02
Contributor II
Hi Jiri,

getting same.
0 Kudos
Reply

1,750 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,957 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,949 Views
Durgaprasad02
Contributor II

Hello peter,

Same error after enabling that check box too.

0 Kudos
Reply