curl-users
Re: How to force snprintf replace?
Date: Thu, 30 May 2002 15:26:04 -0500
>I'm trying to build cURL on an Alpha box, but I get a link error
>because snprintf isn't defined. There appears to be code to use
>msnprintf instead, but configure didn't select that option.
I tracked this one down. There's one file (./tests/server/scs.c)
that uses snprintf() without the:
#define _MPRINTF_REPLACE
#include <curl/mprintf.h>
logic. It's not really a functional problem, because it turns out
that curl and libcurl build fine. BUT it needs to be documented or
fixed, because the tests won't build (which makes it appear that curl
doesn't build) and run.
I can submit the changes. The code change is trivial, but I'm not
really familiar enough with configure/autoconf/automake to call that
change trivial.
Ray
-- .=================================================================. | =-=-=-=-=-=-= Eagle Rock Information Systems Corp =-=-=-=-=-=-= | | -=-=-=-=-=-=- web and database business solutions -=-=-=-=-=-=- | | <http://www.eriscorp.com> <mailto:info@eriscorp.com> | |Midwest Regional Office: 815-547-0662 (voice) 503-905-8153 (eFax)| .=================================================================. _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfmReceived on 2002-06-01