Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Aug 2000 22:35:35 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Claude Cormier <techsupport@devises-or.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Version 2.2.8 - C compiler - vprintf()
Message-ID:  <20000813223535.A12309@dan.emsphone.com>
In-Reply-To: <399758F7.2F2E2C4F@devises-or.com>; from "Claude Cormier" on Sun Aug 13 22:27:03 GMT 2000
References:  <39960BCD.6E1622B@devises-or.com> <20000812223213.A12554@dan.emsphone.com> <3996AB0C.73240EF3@devises-or.com> <20000813094608.A13422@dan.emsphone.com> <399758F7.2F2E2C4F@devises-or.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Aug 13), Claude Cormier said:
> BTW I noticed that in the "configure" file that comes with the cURL
> package, the vprint() function is declared as CHAR. But in stdio.h
> which it is decalred as INT. Could it be that in post 2.2.8 releases,
> vprint() became of type CHAR ?

No; the configure function doesn't actually try and call vprintf().  It
just tests to see if it can link a binary that uses the function.  It
doesn't run the program if it links, so the prototype doesn't have to
match.
 
> As for your suggestion to use the ports tree... I guess this is not
> possible for me as I am doing a custom installation in my user
> directory and can't have write access to /usr/local

Ok; Run configure again and then take a look at the config.log file. 
What is in the log right after the line reading "checking for vprintf"? 
Also, what version of curl are you trying to compile?  I successfully
built curl-6.5.2 and curl-7.1 on a 2.2.5 machine with no errors.  And
finally, what does "nm /usr/lib/libc.a | grep vprintf" print?

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000813223535.A12309>