www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.8 required=5.0 tests=BAYES_50,MSGID_FROM_MTA_HEADER,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-Id: | <200906031216.n53CGKUO010222@mail10.syd.optusnet.com.au> |
Mime-Version: | 1.0 |
From: | sisyphus1 AT optusnet DOT com DOT au |
To: | Marc Girod <marc DOT girod AT gmail DOT com> |
Cc: | cygwin AT cygwin DOT com |
Date: | Wed, 03 Jun 2009 22:16:20 +1000 |
Subject: | Re: Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp? |
X-IsSubscribed: | yes |
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 |
> Marc Girod <marc DOT girod AT gmail DOT com> wrote: > I get a lot of compilation errors: > > gcc -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing > -pipe > -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"2.05\" > -DXS_VERSION=\"2.05\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" GMP.c > GMP.c: In function `XS_Math__GMP_destroy': > GMP.c:161: warning: cast to pointer from integer of different size > ... No error there - just a warning, but that's not going to stop the compilation and should not be a problem. The warning can usually be silenced by using INT2PTR(). > 160: IV tmp = SvIV((SV*)SvRV(ST(0))); > 161: n = (mpz_t *) tmp; Try: n = INT2PTR(mpz_t*, tmp); I'm not sure about that being the fix - but it won't take long to test. Cheers, Rob Cheers, Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |