<stdio.h> has snprintf(...) but linker doesn't find it
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-11-25 10:26 AM
Posted on November 25, 2008 at 19:26
<stdio< has snprintf(...) but linker doesn't find it
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:52 AM
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 ]Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:52 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:52 AM
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.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:52 AM
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...