AnsweredAssumed Answered

Linker Warning in CAN_Example (MQX 4.0 Project Wizard) for PXS30

Question asked by dombanger on Mar 9, 2013
Latest reply on Mar 10, 2013 by Martin Kojtal

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

Outcomes