rajarshi das wrote: > Hi, > > I am configuring and building p59x26223 on z/OS v1.7. > I configure it as : > sh Configure -Dmake=gmake > > and use all default options when asked (except a -g > when asked for a optimization/ debugging flag). > > I get the following errors : > .... > Finding dependencies for perly.o. > ERROR CCN3202 > /u/isldev2/tmp_devel/p59x26223/.67175129.c:86 > #endif can only appear at the end of a #if, #elif, > #ifdef or #ifndef block. > FSUM3065 The COMPILE step ended with return code 12. > FSUM3017 Could not compile .67175129.c. Correct the > errors and try again. > > Finding dependencies for pp_pack.o. > ERROR CCN3294 > /u/isldev2/tmp_devel/p59x26223/.33620736.c:100 > Syntax error in expression on #if directive. > FSUM3065 The COMPILE step ended with return code 12. > FSUM3017 Could not compile .33620736.c. Correct the > errors and try again. > > > Thereafter, a gmake fails while compiling op.c : > > `sh cflags "optimize='-g'" op.o` op.c > CCCMD = c89 -DPERL_CORE -c > -DPERL_PATCHNUM=26223 -DMAXSIG=38 -DOEMVS > -D_OE_SOCKETS -D_XOPEN_SOURCE_EXTENDED -D_ALL_SOURCE > -DYYDYNAMIC -DDEBUGGING -I/usr/local/include -W > 0,float(ieee) -g > WARNING CCN4300 > /u/isldev2/tmp_devel/p59x26223/op.c:1980 The > subscript -1 is less than zero. The subscript of an > array should be greater than or equal to zero.
This warning is a bit silly. Though it admittedly is not for the faint-hearted, accessing a position before a pointer is fine if one trusts that one doesn't do that too soon after the pointer has advanced (enough) past its origin. > ERROR CCN3068 /u/isldev2/tmp_devel/p59x26223/op.c:2478 > Operation between types "const unsigned char*" and > "int" is not allowed. > ERROR CCN3068 /u/isldev2/tmp_devel/p59x26223/op.c:2482 > Operation between types "const unsigned char*" and > "int" is not allowed. > ERROR CCN3068 /u/isldev2/tmp_devel/p59x26223/op.c:2491 > Operation between types "const unsigned char*" and > "int" is not allowed. Please ry adding these two to the end of utfebcdic.h (in case my stupid mail client wraps the lines, see the end of utf8.h): #define uvuni_to_utf8(d, uv) uvuni_to_utf8_flags(d, uv, 0) #define is_utf8_string_loc(s, len, ep) is_utf8_string_loclen(s, len, ep, 0) For those following at home that do not have the 26223 patchlevel handy, those three lines are still there as of 26437, only about ten lines further down. > CCN0793(I) Compilation failed for file ./op.c. Object > file not created. > FSUM3065 The COMPILE step ended with return code 12. > FSUM3017 Could not compile op.c. Correct the errors > and try again. > gmake: *** [op.o] Error 3 > > The above problem happens even if I configure and > build without a '-g' flag. > > Any thoughts on why this might be happening ? > > Thanks, > Rajarshi. > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com >
