cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: vprintf() error

From: Troy Engel <tengel_at_sonic.net>
Date: Sun, 13 Aug 2000 10:20:35 -0700

Claude Cormier wrote:
>
> Any idea on what should be my next step (other than trying to understand
> that piece of code in "configure") ?

You might have to. :-) First, check "config.log" to see the ./configure
output in more detail, and search for vprintf(). It will most likely
list the compiler error generated during the test.

Looking at configure, it's actually trying to compile this combined
piece of code:

#include "confdefs.h"
#include <assert.h>
int main() {
  #if defined (__stub_vprintf) || defined (__stub___vprintf)
    choke me
  #else
    vprintf();
  #endif
; return 0; }

So, try saving that snippet to 'test.c' and compiling it with a line
like:
  gcc -o test test.c

-te

-- 
Troy Engel :: KeyID DF3D5207
Perl is just another tool in the Unix toolbox. Perl does one thing,
and it does it well: it gets out of your face. - Larry Wall
Received on 2000-08-13