Subject: | Compilation issue on OpenSolaris 2008.11 against provided Perl |
Date: | Thu, 20 Nov 2008 20:33:51 +0000 |
To: | bug-Class-XSAccessor-Array [...] rt.cpan.org |
From: | "Matt Willsher" <matt [...] monki.org.uk> |
Hi,
I've been trying to install 0.05 on OpenSolaris against the version of
Perl supplied (v5.8.4 built for i86pc-solaris-64int). The error I get
is given below and appears, to my untrained eyes, to be the same as
that reported at:
http://www.nntp.perl.org/group/perl.cpan.testers/2008/09/msg2124554.html
I hope you are able to find the time to fix this, if it is indeed a
problem with XSAccessor::Array rather than Sun's Perl.
Thanks for your time,
Matt
/usr/bin/perl -MAutoXS::Header -e AutoXS::Header::WriteAutoXSHeader
cc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO
-xO3 -xspace -xildoff -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\"
-KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" Array.c
"Array.xs", line 123: syntax error before or at: if
"Array.xs", line 123: syntax error before or at: :
"Array.xs", line 123: syntax error before or at: else
"Array.xs", line 125: warning: syntax error: empty declaration
"Array.xs", line 125: warning: syntax error: empty declaration
"Array.c", line 196: warning: old-style declaration or incorrect type
for: PL_stack_sp
"Array.c", line 196: identifier redeclared: PL_stack_sp
current : int
previous: pointer to pointer to struct sv {pointer to void
sv_any, unsigned long sv_refcnt, unsigned long sv_flags} :
"/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE/thrdvar.h", line 34
"Array.c", line 196: undefined symbol: sp
"Array.c", line 196: non-constant initializer: op "NAME"
"Array.c", line 197: syntax error before or at: return
"Array.c", line 197: warning: syntax error: empty declaration
"Array.c", line 204: warning: improper pointer/integer combination: op "="
"Array.c", line 226: warning: improper pointer/integer combination: op "="
"Array.c", line 234: warning: improper pointer/integer combination: op "="
"Array.c", line 260: warning: improper pointer/integer combination: op "="
"Array.c", line 268: warning: improper pointer/integer combination: op "="
"Array.c", line 294: warning: improper pointer/integer combination: op "="
"Array.c", line 302: warning: improper pointer/integer combination: op "="
"Array.c", line 324: warning: improper pointer/integer combination: op "="
"Array.c", line 335: warning: improper pointer/integer combination: op "="
"Array.c", line 350: warning: improper pointer/integer combination: op "="
cc: acomp failed for Array.c
*** Error code 2
make: Fatal error: Command failed for target `Array.o'