cancel
Showing results for 
Search instead for 
Did you mean: 

symbol __stdout multiply define, symbol __stdin multiply define

anhhuy0701
Associate II
Posted on March 03, 2014 at 17:13

hello everyone, today I see a problem but no way to solve it

I really want your help

here is my source code

&sharppragma import(__use_no_semihosting_swi)

struct __FILE { int handle;};

FILE __stdout;

FILE __stdin;

----> errors : symbol __stdout multiply define, symbol __stdin multiply define

if I insert the ''extern'' keyword:

extern FILE __stdout;

extern FILE __stdin;

the error will be : Library reports error: __use_no_semihosting_swi was requested, but _sys_open was referenced

thank and regards!

#semihosting #keil
10 REPLIES 10
Posted on July 04, 2015 at 16:43

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6Vq&d=%2Fa%2F0X0000000bpa%2FcFvklqxmsJ206u84kVXdS5dO9ed5lYtJWA.SkQtvF30&asPdf=false
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..