Keil™, An ARM® Company

Technical Support

ARMLINK: ERROR: L6200E: SYMBOL __STDOUT MULTIPLY DEFINED


Information in this article applies to:

  • RealView Linker Version 3

PROBLEM

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?

CAUSE

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.

SOLUTION

Remove these function calls (or replace them with components from the Real-Time Library (RL-ARM).

MORE INFORMATION

  • RealView Compiler User's Guide, Library Functions

Last Reviewed: Wednesday, January 10, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure