From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mark Campbell <mark.campbell@ucs-software.co.za>
Cc: pgsql-ports@postgresql.org
Subject: Re: Compiling on 8.1.3 on Openserver 5.05
Date: Thu, 11 May 2006 11:03:12 -0400
Message-ID: <6844.1147359792@sss.pgh.pa.us> (raw)
In-Reply-To: <4463437E.5020108@ucs-software.co.za>
References: <4463437E.5020108@ucs-software.co.za>
Mark Campbell <mark.campbell@ucs-software.co.za> writes:
> getaddrinfo.c: In function `pg_getaddrinfo':
> getaddrinfo.c:189: warning: implicit declaration of function `htonl'
> getaddrinfo.c:211: `h_errno' undeclared (first use in this function)
> getaddrinfo.c:211: (Each undeclared identifier is reported only once
> getaddrinfo.c:211: for each function it appears in.)
> getaddrinfo.c:215: warning: unreachable code at beginning of switch
> statement
> getaddrinfo.c:238: warning: implicit declaration of function `htons'
> getaddrinfo.c: In function `pg_getnameinfo':
> getaddrinfo.c:416: warning: implicit declaration of function `ntohs'
Hmm, looks like your system declares htonl() and friends in some other
header file than where getaddrinfo.c is expecting. Grep through
everything under /usr/include and see where these symbols are declared.
BTW, what problems did you have with configure?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-ports@postgresql.org
Cc: tgl@sss.pgh.pa.us, mark.campbell@ucs-software.co.za
Subject: Re: Compiling on 8.1.3 on Openserver 5.05
In-Reply-To: <6844.1147359792@sss.pgh.pa.us>
References: <4463437E.5020108@ucs-software.co.za> <6844.1147359792@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox