AnsweredAssumed Answered

MQX-3.8 : multiple definations for variables and functions

Question asked by Gavin Li on Mar 12, 2012
Latest reply on Mar 12, 2012 by Martin Kojtal

This is an example, but not limitied to it. There are tones of multiple definations for variables and funcitons. I got a red "x" on my project after do a clean build.

 

C:/Freescale/CW-10_2-EV/MCU/ARM_Tools/Command_Line_Tools/mwldarm|Linker|Warning

>Symbol TFTPSRV_access multiply defined in rtcs_twrk60n512_d.a(tftpacc.o

>) and shell_twrk60n512_d.a(sh_tftpd.o )

>Ignoring the definition in rtcs_twrk60n512_d.a(tftpacc.o )

C:/Freescale/CW-10_2-EV/MCU/ARM_Tools/Command_Line_Tools/mwldarm|Linker|Warning

>Symbol exit multiply defined in libc_Thumb_LE_v7M.a(abort_exit.o ) and

>bsp_twrk60n512_d.a(cw.o )

>Ignoring the definition in libc_Thumb_LE_v7M.a(abort_exit.o )

>bsp_twrk60n512_d.a(cw.o )

>Ignoring the definition in libc_Thumb_LE_v7M.a(alloc.o )

>bsp_twrk60n512_d.a(cw.o )

>Ignoring the definition in libc_Thumb_LE_v7M.a(alloc.o )

>bsp_twrk60n512_d.a(cw.o )

>Ignoring the definition in libc_Thumb_LE_v7M.a(alloc.o )

>shell_twrk60n512_d.a(sh_rtcs.o )

>Ignoring the definition in libc_Thumb_LE_v7M.a(ctype_aeabi.o )

>psp_twrk60n512_d.a(io_util.o )

Outcomes