Subject: | compilation fails with perl 5.10.1 |
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Devel::Arena
$ make
cp Arena.pm blib/lib/Devel/Arena.pm
/usr/bin/perl5.10.1 /usr/lib/perl5/vendor_perl/5.10.1/ExtUtils/xsubpp
-typemap /usr/lib/perl5/5.10.1/ExtUtils/typemap Arena.xs > Arena.xsc &&
mv Arena.xsc Arena.c
x86_64-mandriva-linux-gnu-gcc -c -I. -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4 -DVERSION=\"0.23\" -DXS_VERSION=\"0.23\"
-fPIC "-I/usr/lib/perl5/5.10.1/x86_64-linux-thread-multi/CORE" Arena.c
In file included from Arena.xs:5:
ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined
In file included from Arena.xs:2:
/usr/lib/perl5/5.10.1/x86_64-linux-thread-multi/CORE/perl.h:330:1:
warning: this is the location of the previous definition
Arena.xs: In function 'sv_stats':
Arena.xs:365: error: 'PMOP' has no member named 'op_pmnext'
Arena.xs:442: error: 'const struct gp' has no member named 'gp_file'
In file included from Arena.xs:745:
sizes.inc: In function 'sizes':
sizes.inc:32: error: invalid application of 'sizeof' to incomplete type
'struct xpvbm'
make: *** [Arena.o] Error 1