develooper Front page | perl.perl5.porters | Postings from February 2003

Re: Threaded perl on z/OS 1.4

Thread Previous | Thread Next
A . Bergman
February 13, 2003 12:28
Re: Threaded perl on z/OS 1.4
Message ID:

On onsdag, feb 12, 2003, at 19:18 Europe/Stockholm, Brian De Pradine  

> A . Bergman wrote:
>> On tisdag, feb 11, 2003, at 19:47 Europe/Stockholm, Brian De Pradine  
>> wrote:
>>> Has anyone successfully built perl 5.8.0 on OS/390 with threading  
>>> turned on? I am trying to build perl with threading, but I get the  
>>> following error with the compile of perly.c.
>> I wouldn't think so, but it would be GREAT if we could do it!
>>> ERROR CCN3276 ./perly.c:128   Syntax error: possible missing ')'?
>>> CCN0793(I) Compilation failed for file ./perly.c.  Object file not  
>>> created.
>>> FSUM3065 The COMPILE step ended with return code 12.
>>> FSUM3017 Could not compile perly.c. Correct the errors and try again.
>>> make: *** [perly.o] Error 3
>> Ok, we didn't get very far did we, what could be wrong with?
>> extern int yychar, yyerrflag;
> From the compile listing we see the following:
>    128       |extern int yychar, yyerrflag;
>    128       +extern int (my_perl->Iyychar),(my_perl->Iyyerrflag);
> ===========>.....................a..................................... 
> .................
>  *=ERROR===========> a - CCN3276 Syntax error: possible missing ')'?

Ugh, my perly.c looks very different.

Before this could you try adding a dTHX; to see if that help (defines  

If it doesn't, could you send me (off the list) your perly.c?

>> Could you generate a perl.y without -Duseithreads and see what the  
>> difference is?
>> My guess is that error is not in perl.y but in some header file.
> There was no difference. Maybe my_perl is not being defined correctly  
> with -Dusethreads.
> Brian

It is more like yychar and yyerrflag are never expanded to  
my_perl->lyychar, my_perl->lyyerrflag


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