Hi,
I am working on ARM Cortex M4 processor with Keil MDK. While compiling the project, I am getting the following error. From the Error I understood that there is a multiple definition and I need to get rid of one. Can someone please tell me what is the possible solution for the error and how to implement it.
Build started: Project: Hello World
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Hello'
linking...
.\Objects\Hello World.axf: Error: L6200E: Symbol __stdout_name multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol __stderr_name multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_close multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_ensure multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_flen multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_istty multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_open multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_read multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_seek multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_write multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 10 error messages.
".\Objects\Hello World.axf" - 10 Error(s), 0 Warning(s).
Target not created.
I am working on ARM Cortex M4 processor with Keil MDK. While compiling the project, I am getting the following error. From the Error I understood that there is a multiple definition and I need to get rid of one. Can someone please tell me what is the possible solution for the error and how to implement it.
Build started: Project: Hello World
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'Hello'
linking...
.\Objects\Hello World.axf: Error: L6200E: Symbol __stdout_name multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol __stderr_name multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_close multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_ensure multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_flen multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_istty multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_open multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_read multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_seek multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
.\Objects\Hello World.axf: Error: L6200E: Symbol _sys_write multiply defined (by C:\Keil_v5\ARM\ARMCC\Bin\..\lib\armlib\c_w.l(sys_io.o) and .\objects\segger_rtt_syscalls_keil.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 10 error messages.
".\Objects\Hello World.axf" - 10 Error(s), 0 Warning(s).
Target not created.