From: | Peter Gucwa <pg(at)softcomputer(dot)com> |
---|---|
To: | "'hackers(at)postgresql(dot)org'" <hackers(at)postgresql(dot)org> |
Cc: | "'andreas(dot)zeugswetter(at)telecom(dot)at'" <andreas(dot)zeugswetter(at)telecom(dot)at> |
Subject: | compilation problem on AIX |
Date: | 1998-10-12 22:52:43 |
Message-ID: | 01BDF611.7F3A8360.pg@softcomputer.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Does somebody have solution for this problem that was discussed here a month ago?
>>
>> the stream functions on AIX need a size_t for addrlen's in fe-connect.c and pqcomm.c.
>>This has come up before. AIX wants size_t for certain structures like
>getsockname(). I believe the third parameter on AIX is size_t, while it
>used to be int on my machine, but is not socklen_t. Is this correct?
>The 'int' code works fine for me, but I can see why AIX is having a
>problem, and perhaps it is time for configure to check on the various
>types.
>
> getsockname(int s, struct sockaddr *name, socklen_t *namelen);
Ok, so this gets tricky. In 4.2.1 it is size_t and in 4.3.1 it is as above with socklen_t :-(
Peter Gucwa
From | Date | Subject | |
---|---|---|---|
Next Message | Marc G. Fournier | 1998-10-13 00:37:59 | Re: [HACKERS] compilation problem on AIX |
Previous Message | Brandon Ibach | 1998-10-12 21:55:30 | 6.2 -> 6.4 snapshot |