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

Re: perlapi.h & all those accessor functions

Thread Previous
Dan Sugalski
March 7, 2000 14:00
Re: perlapi.h & all those accessor functions
Message ID:
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.


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai                         have teddy bears and even
                                      teddy bears get drunk

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About