On Tue, Nov 16, 2004 at 01:00:04PM -0500, Andy Dougherty wrote:
> To save those who don't have the module at hand the trouble of fetching it
> for themselves, the first line in question is
> 
>     int Perl_getcwd_sv(pTHX_ register SV *sv)
> 
> The problem is the pTHX_.  The original poster is trying to build this
> with perl5.005_03, which doesn't have the pTHX_ defines.
> 
> The others errors are probably similar, due to stuff not available in the
> old 5.005_03 package.  I don't know offhand if these are all handled by
> pport.h or not.  Certainly newer perl packages are available for Solaris,
> so upgrading that might be a sensible thing to do.
> 
Looking at a ppport.h I have available...

#ifndef pTHX
#    define pTHX        void
#    define pTHX_
#    define aTHX
#    define aTHX_
#endif

I'm guessing that the addition of a ppport.h to the module would prevent 
the issues seen by the OP.

Steve Peters
[EMAIL PROTECTED]

Reply via email to