Hello,
when i compile the CAN_Example project created with the MQX 4.0 Project Wizard, i get a linker warning, that some symbols are multiply defined, e.g.:
...
'Building target: CAN_Example.elf'
'Executing target #2 CAN_Example.elf'
'Invoking: PowerPC Linker'
"C:/Freescale/CW MCU v10.3/MCU/PA_Tools/Command_Line_Tools/mwldeppc" @@"CAN_Example.args" -o "CAN_Example.elf" -l"bsp.a" -l"psp.a" -l"C:/Freescale/CW MCU v10.3/MCU/PA_Support/ewl/lib/libc_E200z650.a" -l"C:/Freescale/CW MCU v10.3/MCU/PA_Support/ewl/lib/librt_E200z650.a"
C:/Freescale/CW MCU v10.3/MCU/PA_Tools/Command_Line_Tools/mwldeppc|Linker|Warning
>multiply-defined: 'exit' in libc_E200z650.a in the file
>D:\workspace\EPPC\workspace_codegen\ewl\EWL_C\EWL_C.PA_CmdLineData\libc_E200z6
>50\obj\abort_exit.o
>Previously defined in bsp.a in the file
>C:\Freescale\Freescale_MQX_4_0\mqx\build\cw10\bsp_twrpxs30\Debug\twrpxs30 BSP
>Files\cw_c.obj
I have this problem in other projects, too. Has anybody an idea what is going wrong here? I am using Code Warrior 10.3 and MQX 4.0.
Thanks in advance!
Best regards,
Dom
Solved! Go to Solution.
Hello dombager,
wrong nothing, only linker warns you that some symbols are defined more than once (symbol resolution). Function abort_exit is defined in MQX and also in the library your application includes (libc_e200z650.a). This can be considered as informative warning.
Regards,
MartinK
Hello dombager,
wrong nothing, only linker warns you that some symbols are defined more than once (symbol resolution). Function abort_exit is defined in MQX and also in the library your application includes (libc_e200z650.a). This can be considered as informative warning.
Regards,
MartinK