I'm trying to build Embperl with a threaded perl5.6.0. I get the following
error while running make:
epeval.c: In function `EMBPERL_EvalDirect':
epeval.c:45: `thr' undeclared (first use in this function)
epeval.c:45: (Each undeclared identifier is reported only once
epeval.c:45: for each function it appears in.)
epeval.c: In function `EvalAll':
epeval.c:132: `thr' undeclared (first use in this function)
epeval.c: In function `EvalAllNoCache':
epeval.c:248: `thr' undeclared (first use in this function)
epeval.c: In function `CallCV':
epeval.c:404: `thr' undeclared (first use in this function)
make: *** [epeval.o] Error 1
I didn't find anything in the embperl list archives about this but there were a
couple messages in the mod_perl archives, namely:
http://forum.swarthmore.edu/epigone/modperl/swenkulstal/uk7btq6cjh5.fsf@omni.uio
.no
which suggests adding dTHR; to the beginning of any function that results in
this error. I try adding dTHR; to EvalDirect in epeval.c but still ended up
with the same error.
--
Jason Bodnar + jbodnar@team-linux.com + Team Linux
Bart: I had a fight with Milhouse.
Homer: That four-eyes with the big nose? You don't need friends like
that.
Lisa: How Zen.
-- Homer Simpson
Homer Defined
error while running make:
epeval.c: In function `EMBPERL_EvalDirect':
epeval.c:45: `thr' undeclared (first use in this function)
epeval.c:45: (Each undeclared identifier is reported only once
epeval.c:45: for each function it appears in.)
epeval.c: In function `EvalAll':
epeval.c:132: `thr' undeclared (first use in this function)
epeval.c: In function `EvalAllNoCache':
epeval.c:248: `thr' undeclared (first use in this function)
epeval.c: In function `CallCV':
epeval.c:404: `thr' undeclared (first use in this function)
make: *** [epeval.o] Error 1
I didn't find anything in the embperl list archives about this but there were a
couple messages in the mod_perl archives, namely:
http://forum.swarthmore.edu/epigone/modperl/swenkulstal/uk7btq6cjh5.fsf@omni.uio
.no
which suggests adding dTHR; to the beginning of any function that results in
this error. I try adding dTHR; to EvalDirect in epeval.c but still ended up
with the same error.
--
Jason Bodnar + jbodnar@team-linux.com + Team Linux
Bart: I had a fight with Milhouse.
Homer: That four-eyes with the big nose? You don't need friends like
that.
Lisa: How Zen.
-- Homer Simpson
Homer Defined