Hello all, I am trying to build R on AIX 5.3 on p595 using the native complier (xlc_r/xlf_r)? Has anyone installed R-2.3.1 on AIX 5.3 using the native complier (xlc_r)? If so would you reply with which flags and options did to use?
I followed the suggested flags in the documentation. > setenv OBJECT_MODE 64 > setenv CC /usr/vac/bin/xlc_r > setenv F77 /usr/bin/xlf_r > setenv CXX /usr/vacpp/bin/xlC_r > setenv LDFLAGS '-brtl' > setenv CFLAGS '-O -qstrict' > setenv FFLAGS '-O -qstrict' > setenv CXXFLAGS '-O -qstrict' > setenv MAKE gmake R 2.3.1:The build fails when I make. > gmake[3]: Entering directory `/ibm_global/R/build/R-2.3.1/src/main' > /usr/vac/bin/xlc_r -I../../src/extra/zlib -I../../src/extra/bzip2 - > I../../src/extra/pcre -I. -I../../src/include -I../../src/include - > I/usr/local/include -DHAVE_CONFIG_H -O -qstrict -c printutils.c - > o printutils.o > "printutils.c", line 582.7: 1506-1352 (S) "va_start" may not appear > in a function without a variable argument list. > "printutils.c", line 591.5: 1506-277 (S) Syntax error: possible > missing ';' or ','? > "printutils.c", line 605.1: 1506-276 (S) Syntax error: possible > missing 'while'? > "printutils.c", line 637.1: 1506-276 (S) Syntax error: possible > missing 'while'? > "printutils.c", line 639.25: 1506-045 (S) Undeclared identifier n. > "printutils.c", line 639.12: 1506-1332 (W) A function with return > type "void" may not return a value of type "int". > "printutils.c", line 642.1: 1506-276 (S) Syntax error: possible > missing 'while'? > "printutils.c", line 645.25: 1506-045 (S) Undeclared identifier w. > "printutils.c", line 648.1: 1506-276 (S) Syntax error: possible > missing 'while'? > "printutils.c", line 653.17: 1506-045 (S) Undeclared identifier cl. > "printutils.c", line 661.43: 1506-045 (S) Undeclared identifier j. > "printutils.c", line 665.1: 1506-276 (S) Syntax error: possible > missing 'while'? > "printutils.c", line 685.1: 1506-276 (S) Syntax error: possible > missing 'while'? > "printutils.c", line 702.1: 1506-276 (S) Syntax error: possible > missing 'while'? > "printutils.c", line 707.17: 1506-045 (S) Undeclared identifier rl. > "printutils.c", line 713.17: 1506-045 (S) Undeclared identifier rlabw. > "printutils.c", line 713.25: 1506-045 (S) Undeclared identifier > lbloff. > "printutils.c", line 711.31: 1506-045 (S) Undeclared identifier > lbloff. > "printutils.c", line 718.2: 1506-204 (S) Unexpected end of file. > gmake[3]: *** [printutils.o] Error 1 > gmake[3]: Leaving directory `/ibm_global/R/build/R-2.3.1/src/main' > gmake[2]: *** [R] Error 2 > gmake[2]: Leaving directory `/ibm_global/R/build/R-2.3.1/src/main' > gmake[1]: *** [R] Error 1 > gmake[1]: Leaving directory `/ibm_global/R/build/R-2.3.1/src' > gmake: *** [R] Error 1 latest R-patched: also fails. > /usr/vac/bin/xlc_r -I../../src/extra/zlib -I../../src/extra/bzip2 - > I../../src/extra/pcre -I. -I../../src/include -I../../src/include - > I/usr/local/include -DHAVE_CONFIG_H -O -qstrict -c connections.c - > o connections.o > "connections.c", line 2732.18: 1506-052 (S) Duplicate case label > for value 4. Labels must be unique. > "connections.c", line 2750.18: 1506-052 (S) Duplicate case label > for value 4. Labels must be unique. > "connections.c", line 2935.18: 1506-052 (S) Duplicate case label > for value 4. Labels must be unique. > "connections.c", line 2979.18: 1506-052 (S) Duplicate case label > for value 4. Labels must be unique. > gmake[3]: *** [connections.o] Error 1 > gmake[3]: Leaving directory `/ibm_global/R/build/R-patched/src/main' > gmake[2]: *** [R] Error 2 > gmake[2]: Leaving directory `/ibm_global/R/build/R-patched/src/main' > gmake[1]: *** [R] Error 1 > gmake[1]: Leaving directory `/ibm_global/R/build/R-patched/src' Thanks, Kamil Kamil Marcinkowski Westgrid System Administrator [EMAIL PROTECTED] University of Alberta site Tel.780 492-0354 Research Computing Support Fax.780 492-1729 Academic ICT Edmonton, Alberta, CANADA University of Alberta "This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal, and/or privileged information. Please contact us immediately if you are not the intended recipient of this communication. If you are not the intended recipient of this communication, do not copy, distribute, or take action on it. Any communication received in error, or subsequent reply, should be deleted or destroyed." [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel