ARMLINK: ERROR: L6200E: SYMBOL __STDOUT MULTIPLY DEFINED
Information in this article applies to:
I use the RealView compiler to write my embedded application and added the retarget.c file to route the I/O routines to a physical UART interface.
But when I build the project, I get the following error:
Error: L6200E: Symbol __stdout multiply defined (by retarget.o and stdio.o).
What causes this error?
The retarget.c file allows you to use simple I/O functions such as printf or getline. When your application uses other complex functions such as fprintf, assert, fopen, fclose, etc., you get this error message.
Remove these function calls (or replace them with components from the Real-Time Library (RL-ARM).
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Monday, March 12, 2018
of your data.