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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "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> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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