Subject: | Problem compiling on Solaris 10 |
Date: | Mon, 28 Aug 2006 14:36:18 -0400 |
To: | bug-PadWalker [...] rt.cpan.org |
From: | "Roger Books" <roger.books [...] gmail.com> |
I'm having problems compiling PadWalker in the following environment:
OS: Solaris 10 Update 2
Perl: 5.8.5 (Not the Sun Version)
Compiler: gcc 3.3.2
The error is:
bash-3.00# make
gcc -c -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.0\"
-DXS_VERSION=\"1.0\" -fPIC
"-I/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE" PadWalker.c
In file included from /usr/include/sys/signal.h:34,
from /usr/include/signal.h:26,
from
/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE/unixish.h:106,
from
/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE/perl.h:1970,
from PadWalker.xs:2:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
from
/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE/unixish.h:106,
from
/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE/perl.h:1970,
from PadWalker.xs:2:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from
/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE/unixish.h:106,
from
/usr/local/lib/perl5/5.8.5/sun4-solaris/CORE/perl.h:1970,
from PadWalker.xs:2:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `PadWalker.o'
Any info is appreciated. I need PadWalker for EPIC on Eclipse.
Roger