delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/09/11:32:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3990E4BA.E763BF27@ece.gatech.edu>
Date: Wed, 09 Aug 2000 00:57:30 -0400
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sources DOT redhat DOT com
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: libodbccp32.a
References: <F56fpGtS79AX7Ur5qWn00001043 AT hotmail DOT com> <20000809000052 DOT A29006 AT cygnus DOT com>

Chris Faylor wrote:
> >
> >Exactly right! Sometimes it takes someone else to state the obvious
> >before I see the problem.  Thanks Danny, Thanks Chris!
> 
> I think you mean Chuck, not Chris.

Whatever. 'sokay.

> 
> >The only thing is that this build was looking picked up a reference to
> >win32.h from perl.h. win32.h is not defined on a stock cygwin configuration,
> >I actually edited perl.h but I guess a symlink to windows.h would be just as
> >good.

No. perl.h has the following stanza:

#ifdef WIN32
#  include "win32.h"
#endif

That's "win32.h", not <win32.h>.  There's a file in
<perl-src>/win32/win32.h, which is probably copied up to the toplevel
during a win32-native configure. (I'm just guessing here)

The correct fix is probably to replace the #ifdef statement with:

#if defined(WIN32) && !defined(__CYGWIN__)

But the presence of that #include "win32.h" has never cause me any build
trouble; it's odd that it would only cause difficulties when building
DBD::ODBC but not other modules.

> >
> >Should that be standard in cygwin? Should this be an issue for the perl
> >porters? Or is this just another README!
> 
> I don't know why perl is expecting win32.h but this is not a standard windows
> header, AFAIK.  I don't think that cygwin has ever had a win32.h, either.

--Chuck

--
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