perl 5.6.1 unix
gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/specs
gcc version 2.8.1

I cannot install a newer version of gcc.


make[1]: Entering directory `/data/cdmg/dev/cdmg_toolbox/LaffPerl'
Skip ../blib/lib/Laff.pm (unchanged)
/apps/perl/5.6.1/bin/perl -I/apps/perl/5.6.1/lib/perl5/5.6.1/sun4-solaris 
-I/apps/perl/5.6.1/lib/perl5/5.6.1 /apps/perl/5.6.1/lib/perl5/5.6.1/ExtUtils/xsubpp  
-typemap /apps/perl/5.6.1/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap Laff.xs > 
Laff.xsc && mv Laff.xsc Laff.c
gcc -c -I../libLaff -fno-strict-aliasing -I/apps/perl/5.6.1/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g3   -DVERSION=\"2.00\" 
-DXS_VERSION=\"2.00\" -fPIC -I/apps/perl/5.6.1/lib/perl5/5.6.1/sun4-solaris/CORE  
Laff.c
In file included from /apps/perl/5.6.1/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:488,
                 from Laff.xs:5:
/usr/local/include/sys/param.h:181: warning: `NBBY' redefined
/usr/include/sys/select.h:56: warning: this is the location of the previous definition
cc1: Invalid option `-fno-strict-aliasing'
In file included from /apps/perl/5.6.1/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:512,
                 from Laff.xs:5:
/usr/local/include/stddef.h:20: warning: redefinition of `ptrdiff_t'
/usr/local/include/sys/types.h:107: warning: `ptrdiff_t' previously declared here
make[1]: *** [Laff.o] Error 1
make[1]: Leaving directory `/data/cdmg/dev/cdmg_toolbox/LaffPerl'
make: *** [all] Error 2




NOTICE the cc1: Invalid option -fno-strict-aliasing

I remove from the Makefile and compile finished ok

Reply via email to