X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 28 Jul 2010 17:13:28 +0200 Message-ID: Subject: Re: CPAN module can't be compiled after upgraded to Cygwin 1.7.5 From: Csaba Raduly To: cygwin AT cygwin DOT com, lenik AT bodz DOT net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Wed, Jul 28, 2010 at 4:49 PM, Lenik wrote: > $ cpan > >> install Crypt::DES > ... > ... > Writing Makefile for Crypt::DES > cp DES.pm blib/lib/Crypt/DES.pm > /usr/bin/perl.exe /usr/lib/perl5/5.10/ExtUtils/xsubpp =A0-typemap > /usr/lib/perl5/5.10/ExtUtils/typemap -typemap typemap =A0DES.xs > DES.xsc= && > mv DES.xsc DES.c > gcc -c =A0 -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing = -pipe > -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=3D\"2= .05\" > -DXS_VERSION=3D\"2.05\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" =A0 DES.c > cc1: error: unrecognized command line option "-fstack-protector" Hi Lenik, This means that your GCC is version 3; -fstack-protector is for GCC 4. You need to make sure that the gcc4 package is installed; then use the "alternatives" program to make GCC4 the default. This has come up before. Check the mailing list archives. --=20 Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torv= alds "People disagree with me. I just ignore them." -- Linus Torvalds -- 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