delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/28/11:13:45

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: <i2pg1f$5jl$1@dough.gmane.org>
References: <i2pg1f$5jl$1 AT dough DOT gmane DOT org>
Date: Wed, 28 Jul 2010 17:13:28 +0200
Message-ID: <AANLkTimfj+NLXnyg6ViwJL7HRPwF9QPCoY32sEA8vp0D@mail.gmail.com>
Subject: Re: CPAN module can't be compiled after upgraded to Cygwin 1.7.5
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com, lenik AT bodz DOT net
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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

- Raw text -


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