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

Threaded perl on z/OS 1.4

Thread Next
From:
Brian De Pradine
Date:
February 11, 2003 11:08
Subject:
Threaded perl on z/OS 1.4
Message ID:
3E49453D.3010409@uk.ibm.com
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:
   Platform:
     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 
-des'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=define use5005threads=undef useithreads=define 
usemultiplicity=define
     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
     use64bitint=undef use64bitall=undef uselongdouble=undef
     usemymalloc=n, bincompat5005=undef
   Compiler:
     cc='c89', ccflags ='-DMAXSIG=38 -DOEMVS -D_OE_SOCKETS 
-D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE -DYYDYNAMIC -D_SHR_ENVIRON 
-DPERL_EXTERNAL_GLOB -Wc,dll -W 0,float(ieee)',
     optimize=' ',
     cppflags=''
     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', 
lseeksize=4
     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, libperl=libperl.so
     gnulibc_version=''
   Dynamic Linking:
     dlsrc=dl_dllload.xs, dlext=so, d_dlsymun=undef, ccdlflags='-W l,dll 
/defects/brian/perl-5.8.0/libperl.x'
     cccdlflags='-c -Wc,dll,EXPORTALL', lddlflags='-W l,dll 
/defects/brian/perl-5.8.0/libperl.x -L/usr/local/lib'

Thanks
Brian


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