How To resolve"error: ld returned 1 exit status"

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

How To resolve"error: ld returned 1 exit status"

1,401件の閲覧回数
jone_yang
Contributor II

make -j16 all
Building target: S32R294_Radar_Application_Demo_Z7_1.elf
Invoking: Standard S32DS C Linker
powerpc-eabivle-gcc -o "S32R294_Radar_Application_Demo_Z7_1.elf" "@S32R294_Radar_Application_Demo_Z7_1.args"
d:/nxp/s32ds_power_v2.1/s32ds/build_tools/powerpc-eabivle-4_9/bin/../lib/gcc/powerpc-eabivle/4.9.4/../../../../powerpc-eabivle/bin/real-ld.exe: ./Component/CSI2_driver/src/GEN-2/csi2_driver_irq_management.o: the target (gpMipiCsi2Regs) of a R_PPC_VLE_SDA21 relocation is in the wrong output section (.data)
d:/nxp/s32ds_power_v2.1/s32ds/build_tools/powerpc-eabivle-4_9/bin/../lib/gcc/powerpc-eabivle/4.9.4/../../../../powerpc-eabivle/bin/real-ld.exe: final link failed: Bad value
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:98: S32R294_Radar_Application_Demo_Z7_1.elf] Error 1

0 件の賞賛
2 返答(返信)

72件の閲覧回数
rajeshraturi
Contributor I

Is your issue is resolved? I am facing the same issue.

0 件の賞賛

1,369件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you please closer specify your actions?

I only understood that you are trying to build demo_z1 code in S32DS.

What version of S32DS, RSDK, etc.. you are using?

Any closer explanation of the error you see? When and under what conditions it happen.

To me it seems that you are missing some library. But it is hard to say.

Best regards,

Peter

0 件の賞賛