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

Threaded perl on z/OS 1.4

Thread Next
Brian De Pradine
February 11, 2003 11:08
Threaded perl on z/OS 1.4
Message ID:
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.

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

I had a look at the listing and it seems to be due to the following line 
in the version of perly.c that is generated on OS/390

extern int yychar, yyerrflag;

Any help that could be provided would be greatly appreciated.

Here is the configuration that I used:

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
     osname=os390, osvers=14.00, archname=os390-thread-multi
     uname='os390 mvg6 14.00 03 9672 '
     config_args='-Dusethreads -Dusedl -Ddlext=so -Ddlsrc=dl_dllload.xs 
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=define use5005threads=undef useithreads=define 
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
     cc='c89', ccflags ='-DMAXSIG=38 -DOEMVS -D_OE_SOCKETS 
-DPERL_EXTERNAL_GLOB -Wc,dll -W 0,float(ieee)',
     optimize=' ',
     ccversion='', gccversion='', gccosandvers=''
     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
     d_longlong=undef, longlongsize=, d_longdbl=define, longdblsize=16
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
     alignbytes=8, prototype=define
   Linker and Libraries:
     ld='c89', ldflags ='-Wl,EDIT=NO -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lm -lc
     perllibs=-lm -lc
     libc=, so=so, useshrplib=true,
   Dynamic Linking:
     dlsrc=dl_dllload.xs, dlext=so, d_dlsymun=undef, ccdlflags='-W l,dll 
     cccdlflags='-c -Wc,dll,EXPORTALL', lddlflags='-W l,dll 
/defects/brian/perl-5.8.0/libperl.x -L/usr/local/lib'


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