cancel
Showing results for 
Search instead for 
Did you mean: 

<stdio.h> has snprintf(...) but linker doesn't find it

Posted on November 25, 2008 at 19:26

<stdio< has snprintf(...) but linker doesn't find it

4 REPLIES 4
Posted on May 17, 2011 at 12:52

In C:\Keil\ARM\RV31\INC\stdio.h I have sprintf() as well as snprintf().

sprintf() works without any problems, while

snprintf() is not found by the linker.

Any suggestions where to look or what else I need to include?

Thanks

[ This message was edited by: stefan.klumpp on 16-11-2008 22:30 ]

st3
Associate II
Posted on May 17, 2011 at 12:52

Quote:

Any suggestions where to look

Well, it's a Keil-specific question - so Keil must be the place to look; mustn't it...?!

eg, does this help:

http://www.keil.com/support/man/docs/armlib/armlib_cihfffbc.htm

Posted on May 17, 2011 at 12:52

Thanks for the hint. I actually could have figured out that on my own.

Although I didn't really help. I still get an error that snprintf is undefined.

st3
Associate II
Posted on May 17, 2011 at 12:52

Are you using the microlib?

It's not clear to me whether it should be included in the mocrolib...