cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: vprintf() error

From: Claude Cormier <techsupport_at_devises-or.com>
Date: Sun, 13 Aug 2000 14:06:04 -0400

Thanks for the idea, I just tried and got:

test.c:1: confdefs.h: No such file or directory.

I guess I must define some path but must first find where this file is.

Claude

Troy Engel wrote:
>
> 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