delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4DDBFD4F.1010907@redhat.com> |
Date: | Tue, 24 May 2011 12:47:43 -0600 |
From: | Eric Blake <eblake AT redhat DOT com> |
User-Agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Error building run2 from source package in win7 |
References: | <20110523171750 DOT GB16755 AT jethro DOT local DOT lan> <4DDA97CC DOT 1090404 AT redhat DOT com> <4DDAA894 DOT 5090802 AT cwilson DOT fastmail DOT fm> <20110524183824 DOT GA11571 AT jethro DOT local DOT lan> |
In-Reply-To: | <20110524183824.GA11571@jethro.local.lan> |
OpenPGP: | url=http://people.redhat.com/eblake/eblake.gpg |
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 |
--------------enig9E6C7B5A75B5DAF0CC16AC8C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/24/2011 12:38 PM, David Sastre wrote: > From the config.log: >=20 > configure:12737: checking for an ANSI C-conforming const > configure:12802: gcc -c -Wall -Werror conftest.c >&5 There's your problem. Autoconf-generated configure scripts do _NOT_ support -Werror; it is too problematic to ever guarantee that all possible warnings from all possible gcc versions will always be silenced. It is permissible to configure without -Werror, and add it later via 'make CFLAGS=3D"-Werror ..."', once configure has found correct results. But by injecting -Werror too soon into the process, you've made configure guess a wrong result: > cc1: warnings being treated as errors > conftest.c: In function 'main': > conftest.c:69:10: error: 't' is used uninitialized in this function > conftest.c:85:23: error: 'b' may be used uninitialized in this function ... > configure:12809: result: no with disastrous consequences on the rest of the project compilation. --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig9E6C7B5A75B5DAF0CC16AC8C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJN2/1PAAoJEKeha0olJ0Nq2GMH/00Vz+tfiXdnetRW9hjqpLxk CwYB0uYLpVukD3cb3e0YWDWJnzIHfthIRNAL2e3/0TYkuS167JJZAL+212T7lxnB OwB5IWZ9Se3ra2B9Tx7A3d3PxVy3Iv8oQEJuEZMo8EAz+g5ifU/lFTSOpb8wRuNR Z1zng/9xtzBez9b2ek2+nyjjjZee6XawcKR2Ikou9qWEH2G6xgToP3qOCgLQvWyv o7gza3WMla2F7MDliaDHdgd1wKbZuKPuXuadQTcMrgWEwWbXGmQqmw4ghh5YgKjD eboqq9BfKElouNpNJJqDGQFfM3MUIWX8UvD9C0TalIDKHwWvA8I89/kN59iCiGg= =IYUB -----END PGP SIGNATURE----- --------------enig9E6C7B5A75B5DAF0CC16AC8C--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |