From owner-freebsd-questions Sun Aug 13 20:35:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id AB6AC37B9B8 for ; Sun, 13 Aug 2000 20:35:41 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id WAA15470; Sun, 13 Aug 2000 22:35:35 -0500 (CDT) (envelope-from dan) Date: Sun, 13 Aug 2000 22:35:35 -0500 From: Dan Nelson To: Claude Cormier Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Version 2.2.8 - C compiler - vprintf() Message-ID: <20000813223535.A12309@dan.emsphone.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.7i In-Reply-To: <399758F7.2F2E2C4F@devises-or.com>; from "Claude Cormier" on Sun Aug 13 22:27:03 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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