X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 0A6A39FA176 for ; Thu, 11 May 2006 12:03:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 22268-07 for ; Thu, 11 May 2006 12:03:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id BFC1C9F9430 for ; Thu, 11 May 2006 12:03:13 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k4BF3CWf006845; Thu, 11 May 2006 11:03:12 -0400 (EDT) To: Mark Campbell cc: pgsql-ports@postgresql.org Subject: Re: Compiling on 8.1.3 on Openserver 5.05 In-reply-to: <4463437E.5020108@ucs-software.co.za> References: <4463437E.5020108@ucs-software.co.za> Comments: In-reply-to Mark Campbell message dated "Thu, 11 May 2006 16:00:30 +0200" Date: Thu, 11 May 2006 11:03:12 -0400 Message-ID: <6844.1147359792@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/7 X-Sequence-Number: 2388 Mark Campbell 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