cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler Error During build when i used file concept (fopen and fprintf) to write into file

shekharsulgiti
Visitor

Hi All,

Need one help.
When I try write to file using fopen / fwrite functions in debug mode I receive like
Error: L6200E: Symbol __stdout multiply defined (by stdio_streams.o and my_lib.a)

not enough information to list the image map
while building the code. and how I can solve it. 

1 REPLY 1
Andrew Neil
Evangelist III

@shekharsulgiti wrote:

Error: L6200E: Symbol __stdout multiply defined (by stdio_streams.o and my_lib.a)


You're using Keil, aren't you?

"multiply defined" is their clumsy way of saying that you have multiple definitions of __stdout

As this is specific to Keil - not really to do with STM32 - you'd be better asking them:

https://community.arm.com/support-forums/f/keil-forum

 

(BTW: it's not a Compiler error - it's a Linker error)