cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem linking to recv on HP-UX

From: Yang Tse <yangsita_at_gmail.com>
Date: Mon, 4 Sep 2006 04:36:55 +0200

On Mon, 4 Sep 2006, Blackburn, Gary (HHS/RHRC) wrote:

> I'm trying to compile curl for an HP-UX 11 box, and I can't get configure to
> complete.
> [...]
> checking for recv... yes
> checking types of arguments and return type for recv... unknown
> configure: error: Cannot find proper types to use for recv args
> [...]

Could you lookup the prototypes socket functions send() and recv()
have on your platform and post them here ?

Besides <sys/types.h> and <sys/socket.h> which additional headers are
needed to compile a small program that calls both functions ? And
which libraries are needed to finally link the small program ?

-- 
-=[Yang]=-
Received on 2006-09-04