[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: Compiling wml 1.6.7 with perl 5.005

Alejandro Escalante Medina <amedina@msg.com.mx> writes:

> I got the following errors:
> eperl_perl5.c: In function `Perl5_ForceUnbufferedStdout':
> eperl_perl5.c:72: `thr' undeclared (first use this function)
> eperl_perl5.c:72: (Each undeclared identifier is reported only once
> eperl_perl5.c:72: for each function it appears in.)
> eperl_perl5.c: In function `Perl5_SetScalar':
> eperl_perl5.c:101: `thr' undeclared (first use this function)   

This is because you compiled your version of Perl with threads. I
noticed the same thing some time ago, and I have already sent a patch
for it to Ralf. With his recent indication that the nex release may
take a bit of time, I'll include it here as well.

Hmm, I can't seem to be able to find the patch either on disk or in my 
mail archive. Strange. Perhaps it never got send, then.

The fix is simple, though. In both these functions you should include


as the first command in that function. That will initialize the thread 
context, and consequently also the thr variable.

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com