Keil Logo

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

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Monday, March 12, 2018


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.