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

Re: Threaded perl on z/OS 1.4

Thread Previous | Thread Next
From:
Brian De Pradine
Date:
February 12, 2003 10:58
Subject:
Re: Threaded perl on z/OS 1.4
Message ID:
3E4A8FE8.7090101@uk.ibm.com


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 ')'?



> 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





Thread Previous | Thread Next


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