|
From: Daniel S. <dan...@re...> - 2016-07-14 13:39:30
|
Hi all, I'm having a bit of trouble trying to build on z/OS 2.1, with a view to using it in CICS transaction. I've installed gmake and makedep as per the readme, and believe I have configured a script correctly to run the whole process (also based on the readme). It's failing with 57.1, so I tried an older release (53.1) and it's failing in much the same fashion (same error, different location). I've searched the list, and I couldn't find something to give me a pointer as to where to go on fixing this. The error being reported (at 53.1) is: gmake[0]: Making `all' in `stubdata' gmake[1]: Entering directory `/u/project/WSGenius/icu4c/53_1/icu/source/stubdata' xlc -O2 -Wc,'inline(AUTO,NOREPORT,1000,8000)' -Wc,DLL,ROS,RENT,'ARCH(7)','LOC(POSIX)',NOANSIALIAS,'LANGLVL(EXTENDED)' -Wc,'FLOAT(IEEE)' -DIEEE_754=0 -Wl,dll -o "//'WSG.ICU.LOAD(IXMI53DA)'" stubdata.o gmake[1]: Leaving directory `/u/project/WSGenius/icu4c/53_1/icu/source/stubdata' gmake[0]: Making `all' in `common' gmake[1]: Entering directory `/u/project/WSGenius/icu4c/53_1/icu/source/common' xlC -DU_ATTRIBUTE_DEPRECATED= -DOS390BATCH -DU_COMMON_IMPLEMENTATION -D_OPEN_THREADS=3 -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=0 -DU_HAVE_MMAP=0 -DU_HAVE_TIMEZONE=0 -I. "-DDEFAULT_ICU_PLUGINS=\"/u/project/WSGenius/icu4c/prefix/lib/icu\" " -O2 -Wc,'inline(AUTO,NOREPORT,1000,8000)' -Wc,DLL,ROS,RTTI,'ARCH(7)','LOC(POSIX)',NOANSIALIAS,'LANGLVL(EXTENDED)' -Wc,'FLOAT(IEEE)' -DIEEE_754=0 -+ -WI -c -D_SHR_TZNAME -D_SHR_TIMEZONE -Wc,expo -o uinit.o uinit.cpp gmake[1]: Leaving directory `/u/project/WSGenius/icu4c/53_1/icu/source/common' "./uinit.cpp", line 68.5: CCN5218 (S) The call does not match any parameter list for "umtx_initOnce". "./umutex.h", line 204.24: CCN6283 (I) "template <class T> icu_53::umtx_initOnce(UInitOnce &, T *, extern "C++" void (T::*)())" is not a viable candidate. "./uinit.cpp", line 68.44: CCN5288 (I) The function template parameter of type "extern "C++" void (T::*)()" cannot be initialized with an argument of type "UErrorCode". "./umutex.h", line 217.13: CCN6283 (I) "icu_53::umtx_initOnce(UInitOnce &, extern "C++" void (*)())" is not a viable candidate. "./uinit.cpp", line 68.5: CCN5215 (I) The wrong number of arguments has been specified for "icu_53::umtx_initOnce(UInitOnce &, extern "C++" void (*)())". "./umutex.h", line 229.13: CCN6283 (I) "icu_53::umtx_initOnce(UInitOnce &, extern "C++" void (*)(UErrorCode &), UErrorCode &)" is not a viable candidate. "./uinit.cpp", line 68.33: CCN5256 (I) A parameter of type "extern "C++" void (*)(UErrorCode &)" cannot be initialized with an expression of type "void (__cdecl *)(UErrorCode &)". "./umutex.h", line 248.24: CCN6283 (I) "template <class T> icu_53::umtx_initOnce(UInitOnce &, extern "C++" void (*)(T), T)" is not a viable candidate. "./uinit.cpp", line 68.5: CCN5290 (I) The function template parameter "T" has been found to have two values: "UErrorCode &" and "UErrorCode". "./umutex.h", line 260.24: CCN6283 (I) "template <class T> icu_53::umtx_initOnce(UInitOnce &, extern "C++" void (*)(T, UErrorCode &), T, UErrorCode &)" is not a viable candidate. "./uinit.cpp", line 68.5: CCN5215 (I) The wrong number of arguments has been specified for "template <class T> icu_53::umtx_initOnce(UInitOnce &, extern "C++" void (*)(T, UErrorCode &), T, UErrorCode &)". CCN0793(I) Compilation failed for file ./uinit.cpp. Object file not created. gmake[1]: *** [uinit.o] Error 12 gmake: *** [all-recursive] Error 2 For 57.1, it's the same error, just in a different file and line number. The pastebin of the config.log is at http://pastebin.com/i46DmMcT The shell script to build 53.1 with was: echo Setting environment variables export PATH=/u/project/WSGenius/icu4c/gmake/bin:/u/project/WSGenius/icu4c/makedep/bin:/bin export _CXX_PSYSIX="CEE.SCEELIB(C128N)":"CBC.SCLBSID(IOSTREAM,COMPLEX)" export _C89_PSYSIX="CEE.SCEELIB(C128N)":"CBC.SCLBSID(IOSTREAM,COMPLEX)" export OS390BATCH=1 export LOADMOD=WSG.ICU.LOAD export LOADEXP=WSG.ICU.EXP export XL_CONFIG=/u/project/WSGenius/icu4c/xlc.cfg echo Configuring options echo O1=--prefix=/u/project/WSGenius/icu4c/prefix O2=--disable-64bit-libs O3=--enable-static O4=--disable-threads O5=--disable-icuio cd icu/source echo Running Configure echo chmod +x runConfigureICU configure install-sh ./runConfigureICU zOS $O1 $O2 $O3 $O4 $O5 echo Running build echo gmake For 57.1, I removed all $O1-$O5 and left it as plain as can be. Any thoughts or suggestions would be greatly appreciated. Kind regards, Daniel Stratton |