From: rajarshi das [mailto:[EMAIL PROTECTED]
 
...
> 
>   Adding the above two lines to the end of utfebcdic.h gets the op.c file
> to compile fine. Thanks for that. The build proceeds till we hit the
> following error :
>   ------------------------------------------------------------------------
> ------------------
>   c89 -c  -I./zlib-src -DMAXSIG=38 -DOEMVS -D_OE_SOCKETS -
> D_XOPEN_SOURCE_EXTENDED
> -D_ALL_SOURCE -DYYDYNAMIC -DDEBUGGING -I/usr/local/include -W
> 0,float\(ieee\) -g
>    -DVERSION=\"2.000_06\" -DXS_VERSION=\"2.000_06\"  "-I../../.."  -
> DGZIP_OS_COD
> E=3 Zlib.c
> ERROR CCN3277 /u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib/zlib-
> src/zlib.h:9
> 2    Syntax error: possible missing ';' or ','?
> ERROR CCN3007 /u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib/zlib-
> src/zlib.h:9
> 2    "struct internal_state" is undefined.
> ERROR CCN3166 /u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib/zlib-
> src/zlib.h:1
> 03   Definition of function FAR requires parentheses.
> ERROR CCN3276 /u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib/zlib-
> src/zlib.h:1
> 03   Syntax error: possible missing '{'?
> ERROR CCN3273 /u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib/zlib-
> src/zlib.h:1
> 24   Missing type in declaration of gz_header.
> ERROR CCN3166 /u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib/zlib-
> src/zlib.h:1
> 26   Definition of function gz_header requires parentheses.
> ERROR CCN3276 /u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib/zlib-
> src/zlib.h:1
> 26   Syntax error: possible missing '{'?
> WARNING CCN3137 /u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib/zlib-
> src/zlib.h
> :1346  Declaration must declare at least one declarator, tag, or the
> members of
> an enumeration.
> ERROR CCN3275 /u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib/zlib-
> src/zlib.h:1
> 350  Unexpected text z encountered.
> ERROR CCN3282 /u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib/zlib-
> src/zlib.h:1
> 350  The type of the parameters must be specified in a prototype.
> ERROR CCN3019 /u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib/Zlib.c:684
> Expe
> cting an array or a pointer to object type.
> CCN0793(I) Compilation failed for file ./Zlib.c.  Object file not created.
> FSUM3065 The COMPILE step ended with return code 12.
> FSUM3017 Could not compile Zlib.c. Correct the errors and try again.
> gmake[1]: *** [Zlib.o] Error 3
> gmake[1]: Leaving directory
> `/u/isldev2/tmp_devel/p59x26223/ext/Compress/Zlib'
> gmake: *** [lib/auto/Compress/Zlib/Zlib.a] Error 2
>   ------------------------------------------------------------------------
> ------------
> 
>   The above is not a problem if we use the system supplied zlib.h and
> libz.a as mentioned in option 3 (in the Compress::Zlib readme). However,
> the zlib needs to work with option 1 (as mentioned in the readme).
> 
>   Any thoughts ?

That looks like the problem you encountered a couple of weeks ago. Have you
applied the change below? 

Edit the file ext/Compress/Zlib/zlib-src/zconf.h and change this section of
code (at the very end of the file)

 #if defined(__MVS__)
 #  define NO_vsnprintf
 #  ifdef FAR
 #    undef FAR
 #  endif
 #endif

to this

 #if defined(__MVS__)
 #  define NO_vsnprintf
 #endif


Paul


                
___________________________________________________________ 
Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo 
http://uk.photos.yahoo.com

Reply via email to