Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Wed, 5 Apr 2000 15:09:26 -0400 To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: mingw using wrong errno definition Message-ID: <20000405150926.A2305@cygnus.com> Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com Mail-Followup-To: cgf AT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com References: <20000405071501 DOT 75956 DOT qmail AT hotmail DOT com> <200004051520 DOT KAA21454 AT hp2 DOT xraylith DOT wisc DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.8i In-Reply-To: <200004051520.KAA21454@hp2.xraylith.wisc.edu>; from khan@NanoTech.Wisc.EDU on Wed, Apr 05, 2000 at 10:20:32AM -0500 On Wed, Apr 05, 2000 at 10:20:32AM -0500, Mumit Khan wrote: >This is typical of code that declares it's own errno instead of using the >declaration from system headers. I'm assuming of course that *all* code >here is built using -mno-cygwin so that there's no mix-and-match. > >Search for `extern.*int.*errno' in your code. If there is such a thing, >delete and include for both Cygwin and Mingw. I'm pretty sure that the zlib code is doing the right thing. >If that's not the case, please send me a download URL for the code or >just email me the package (.tar.gz) if it's under a meg or so. It's in CVS winsup/cinstall. I think the problem is due to the fact that zlib was compiled by cd'ing to the directory, as I mentioned in another thread. Compiling it from the winsup/cinstall directory should rectify the problem. cgf