develooper Front page | perl.perl5.porters | Postings from March 2000

Re: perlapi.h & all those accessor functions

Thread Previous
From:
Dan Sugalski
Date:
March 7, 2000 14:00
Subject:
Re: perlapi.h & all those accessor functions
Message ID:
4.3.0.20000307170018.00e4b460@24.8.96.48
At 01:46 PM 3/7/00 -0800, Gurusamy Sarathy wrote:
>On Tue, 07 Mar 2000 16:37:36 EST, Dan Sugalski wrote:
> >I'm trying to get 5.5.670 to build with MULTIPLICITY on VMS (and no, it's
> >not worth holding the release up for) and I'm running into a problem.
> >perlapi.h is loaded with a stuff like this:
> >
> >#undef  PL_patleave
> >#define PL_patleave            (*Perl_Gpatleave_ptr(NULL))
> >
> >but Perl_Gpatleave_ptr (and all the rest) don't seem to actually *exist*
> >anywhere.
>
>perlapi.c defines them with something like:
>
>     #define PERLVAR(v,t)    t* Perl_##v##_ptr(pTHX) { return &(aTHX->v); }
>     #include "intrpvar.h"
>     ...
>
>I suspect you're not linking perlapi.o into libperl.a.

Ah, that does it. Exposes some other issues, but that's, well, another 
issue. Since perlapi.obj isn't needed for a plain perl build this slipped 
past. Thanks.


					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About