delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/09/01:43:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <1F8B49DD9100D31195FC00A0C94989FE0E62@obelix>
From: Joost Kraaijeveld <J DOT Kraaijeveld AT Askesis DOT nl>
To: "'Gregory Krasnow'" <gak AT opensourcecrm DOT org>
Cc: "Cygwin AT Sourceware. Cygnus. Com (E-mail)"
<cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: trying to compile PostgreSQL 7.0 on cygwin 1.1.2
Date: Fri, 9 Jun 2000 07:41:32 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.1960.3)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id BAA27786

> I am having some problems trying to compile the latest version of 
> PostgreSQL.  Essentially everything compiles fine, but there is a 
> reference in backend/utils/elog.c to something called 
> sys_nerr (extern 
> int).  Cygwin b20.1 defined an _sys_nerr so there was not a problem.  
> However when I do an nm on libc.a for 1.1.1 or 1.1.2 _sys_nerr is not 
> defined  (i did eventually find it in libmsvrct40.a)
> 
> [gak AT TERAKNOR src]$ nm /lib/libcygwin.a | grep _sys_nerr
> 00000000 ? __imp___sys_nerr
> 
In /src/backend/utils/error/elog.c and /src/backend/utils/error/exc.c
you have t change

	extern int	sys_nerr;

	to

	#ifdef __CYGWIN__
	#  define sys_nerr _sys_nerr
	#else
	   extern int sys_nerr;
	#endif

> also netinet/tcp.h appears to be missing...
> 
PostgreSQL contains a empty version of tcp.h in the /src/win32 directory
together with a readme file of what to do with it,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
email: J DOT Kraaijeveld AT Askesis DOT nl
web: www.askesis.nl 




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019