delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/02/03:12:11

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=ibc6FnLOcejq0s7iNiZ4JxDR5u/cf
vApSKQmnv9Pdn50IuPkAJeKtvs4Ss71/VMFRgh6YadfP2GPV/HAJVUJCgAKUcWfd
yFJJTuiQgoBXmiPcm5Qxjf1OVCwvEiKFhak3H7Jy6SHwt+qHnl+mrS3i69wp23Xe
e8NLT+9TwS/NHI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=dFyw+XdXOPp0UqG8wKiV9jlqewk=; b=cqp
SXZRhefK2e+VwwD2pFGvyKPpIBH3mX6ugSGanVC8DsedqeYPO2ulyBcWXB0TPKIU
Z+fN8Rq19S/8WLCFTDfrqzOA9nd/UyaOHQ3zn4c+bhU2/+lrIGjbE45Qaj+RSw7l
jd4M6d0CCphSVkfdZCzXbbTejMeO/EM93jwpxjwQ=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE autolearn=no version=3.3.1
From: Simon Barnes <swbarnes AT slb DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: building Perl module DBD-ODBC-4.3 under 64-bit cygwin
Date: Fri, 2 Aug 2013 07:11:40 +0000
Message-ID: <3BA6644C396CE44F83F988D688C72A73015956BABB@NL0230MBX08N1.DIR.slb.com>
References: <3BA6644C396CE44F83F988D688C72A73015956B870 AT NL0230MBX08N1 DOT DIR DOT slb DOT com>
In-Reply-To: <3BA6644C396CE44F83F988D688C72A73015956B870@NL0230MBX08N1.DIR.slb.com>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r727C5t2028159

> ...is a typical type conflict.  ULONG is a Windows type defined as
> unsigned long in the Win32 API.  The Win32 data model is LLP64, so
> unsigned long is 4 bytes.  However, Cygwin is LP64, so unsigned long is
> 8 bytes.  Therefore the `typedef unsigned long ULONG;' is wrong for 64
> bit.  Either drop the definition entirely, or redefine it matching the
> data model:
>
>    #ifdef __LP64__
>   typedef unsigned int ULONG;
>   #else
>   typedef unsigned long ULONG;
>   #endif

OK, managed to achieve a build with this.   And I'll keep on eye on cygwin ports.

Thanks
Simon

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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