Subject: | Scalar::Util::Clone fails to build with perl 5.10.0 |
Scalar::Util::Clone will not build with perl 5.10.0 on Linux:
$ perl -v
This is perl, v5.10.0 built for i686-linux
...
$ perl Makefile.PL
Writing Makefile for Scalar::Util::Clone
$ make
cc -c -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -Wall
-DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC
"-I/home/dkoch/perl/lib/5.10.0/i686-linux/CORE" Clone.c
Clone.xs: In function ‘share_hek_flags’:
Clone.xs:169: error: ‘XPVHV’ has no member named ‘xhv_array’
Clone.xs: In function ‘new_he’:
Clone.xs:207: error: ‘PL_he_root’ undeclared (first use in this function)
Clone.xs:207: error: (Each undeclared identifier is reported only once
Clone.xs:207: error: for each function it appears in.)
Clone.xs: In function ‘more_he’:
Clone.xs:220: error: ‘XPV’ has no member named ‘xpv_pv’
Clone.xs:220: error: ‘PL_he_arenaroot’ undeclared (first use in this
function)
Clone.xs:225: error: ‘PL_he_root’ undeclared (first use in this function)
Clone.xs: In function ‘clone_sv’:
Clone.xs:392: error: ‘SVs_PADBUSY’ undeclared (first use in this function)
Clone.xs:461: error: duplicate case value
Clone.xs:439: error: previously used here
Clone.xs:509: warning: implicit declaration of function ‘AvFLAGS’
Clone.xs:509: error: invalid lvalue in assignment
Clone.xs:554: error: ‘XPVHV’ has no member named ‘xhv_array’
Clone.xs:557: error: ‘XPVHV’ has no member named ‘xhv_array’
Clone.xs:558: error: ‘XPVHV’ has no member named ‘xhv_array’
Clone.xs:563: error: ‘XPVHV’ has no member named ‘xhv_eiter’
Clone.xs:563: error: ‘XPVHV’ has no member named ‘xhv_eiter’
Clone.xs:564: error: ‘XPVHV’ has no member named ‘xhv_eiter’
Clone.xs:578: warning: implicit declaration of function ‘HvPMROOT’
Clone.xs:578: error: invalid lvalue in assignment
Clone.xs:579: error: invalid lvalue in assignment
make: *** [Clone.o] Error 1