MQX-3.8 : multiple definations for variables and functions

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MQX-3.8 : multiple definations for variables and functions

Jump to solution
811 Views
another_bug
Contributor I

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 )

0 Kudos
Reply
1 Solution
531 Views
c0170
Senior Contributor III

Hi another_bug,

 

here's an explanation (3rd post):

https://community.freescale.com/thread/97430

 

Regards,

MartinK

View solution in original post

0 Kudos
Reply
1 Reply
532 Views
c0170
Senior Contributor III

Hi another_bug,

 

here's an explanation (3rd post):

https://community.freescale.com/thread/97430

 

Regards,

MartinK

0 Kudos
Reply