This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CPAN module can't be compiled after upgraded to Cygwin 1.7.5

On Wed, Jul 28, 2010 at 4:49 PM, Lenik wrote:
> $ cpan
>> install Crypt::DES
> ...
> ...
> Writing Makefile for Crypt::DES
> cp blib/lib/Crypt/
> /usr/bin/perl.exe /usr/lib/perl5/5.10/ExtUtils/xsubpp ?-typemap
> /usr/lib/perl5/5.10/ExtUtils/typemap -typemap typemap ?DES.xs > DES.xsc &&
> mv DES.xsc DES.c
> gcc -c ? -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe
> -fstack-protector -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"2.05\"
> -DXS_VERSION=\"2.05\" "-I/usr/lib/perl5/5.10/i686-cygwin/CORE" ? 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.

Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]