Professor Ripley, Following your advice, I am now using an updated version of gcc (4.0.2 to be exact) as well as a true fortran compiler (XL Fortran Compiler v10.1.0.0 from IBM). I am still experiencing difficulty in running "make" after a successful "configure". Any additional insight you could provide would be greatly appreciated. Output of make is as follows:
Running Make R-2.2.1: /home/mbeason/work/R-2.2.1/src/main /usr/local/bin/gcc -Wl,-brtl -Wl,-bdynamic -Wl,-bE:../../etc/R.exp -Wl,-bM:SRE -L/usr/local/lib -o R.bin Rmain.o CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o context.o cov.o cum.o dcf.o datetime.o debug.o deparse.o deriv.o dotcode.o dounzip.o dstruct.o duplicate.o engine.o envir.o errors.o eval.o format.o fourier.o gevents.o gram.o gram-ex.o graphics.o identical.o internet.o iosupport.o lapack.o list.o logic.o main.o mapply.o match.o memory.o model.o names.o objects.o optim.o optimize.o options.o par.o paste.o pcre.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o qsort.o random.o regex.o registration.o relop.o saveload.o scan.o seq.o serialize.o size.o sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o subset.o summary.o sysutils.o unique.o util.o version.o vfonts.o xxxpr.o ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a -lg -lxlf90 -L/usr/lpp/xlf/lib -lxlopt -lxlf -lxlomp_ser -lm /lib/crt0.o ../extra/zlib/libz.a ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a -lintl -lreadline -ldl -lm -lc -liconv ld: 0711-317 ERROR: Undefined symbol: ch2inv ld: 0711-317 ERROR: Undefined symbol: chol ld: 0711-317 ERROR: Undefined symbol: cg ld: 0711-317 ERROR: Undefined symbol: ch ld: 0711-317 ERROR: Undefined symbol: rg ld: 0711-317 ERROR: Undefined symbol: rs ld: 0711-317 ERROR: Undefined symbol: dchdc ld: 0711-317 ERROR: Undefined symbol: dpbfa ld: 0711-317 ERROR: Undefined symbol: dpbsl ld: 0711-317 ERROR: Undefined symbol: dpoco ld: 0711-317 ERROR: Undefined symbol: dpodi ld: 0711-317 ERROR: Undefined symbol: dpofa ld: 0711-317 ERROR: Undefined symbol: dposl ld: 0711-317 ERROR: Undefined symbol: dqrcf ld: 0711-317 ERROR: Undefined symbol: dqrdc ld: 0711-317 ERROR: Undefined symbol: dqrdc2 ld: 0711-317 ERROR: Undefined symbol: dqrls ld: 0711-317 ERROR: Undefined symbol: dqrsl ld: 0711-317 ERROR: Undefined symbol: dqrqty ld: 0711-317 ERROR: Undefined symbol: dqrqy ld: 0711-317 ERROR: Undefined symbol: dqrrsd ld: 0711-317 ERROR: Undefined symbol: dqrxb ld: 0711-317 ERROR: Undefined symbol: dsvdc ld: 0711-317 ERROR: Undefined symbol: dtrsl ld: 0711-317 ERROR: Undefined symbol: dtrco ld: 0711-317 ERROR: Undefined symbol: lminfl ld: 0711-317 ERROR: Undefined symbol: .zgemm ld: 0711-317 ERROR: Undefined symbol: .dsyrk ld: 0711-317 ERROR: Undefined symbol: .dtrsm ld: 0711-317 ERROR: Undefined symbol: .dcopy ld: 0711-317 ERROR: Undefined symbol: .dtrsl ld: 0711-317 ERROR: Undefined symbol: .ddot ld: 0711-317 ERROR: Undefined symbol: .dnrm2 ld: 0711-317 ERROR: Undefined symbol: .dscal ld: 0711-317 ERROR: Undefined symbol: .daxpy ld: 0711-317 ERROR: Undefined symbol: .dpofa ld: 0711-317 ERROR: Undefined symbol: .intpr0_ ld: 0711-317 ERROR: Undefined symbol: .i_len ld: 0711-317 ERROR: Undefined symbol: .realp0_ ld: 0711-317 ERROR: Undefined symbol: .dblep0_ ld: 0711-317 ERROR: Undefined symbol: .rexitc_ ld: 0711-317 ERROR: Undefined symbol: .rwarnc_ ld: 0711-317 ERROR: Undefined symbol: .xerbla_ ld: 0711-317 ERROR: Undefined symbol: .d_sign ld: 0711-317 ERROR: Undefined symbol: .d_cnjg ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: The error code from the last command is 1. Stop. make: The error code from the last command is 2. Stop. make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. Running make with R-devel_2006-02-05: /home/mbeason/work/R-devel/src/appl f95 -g -c ch2inv.f -o ch2inv.o "ch2inv.f", line 1.2: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 2.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 3.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 4.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 5.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 6.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 7.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 7.39: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 8.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 9.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 9.41: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 10.8: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 11.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 12.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 13.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 13.38: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 14.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 15.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 16.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 17.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 18.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 18.32: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 19.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 20.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 21.2: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 22.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 23.3: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 24.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 25.3: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 26.3: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 27.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 28.3: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 29.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 30.3: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 30.30: 1515-018 (S) Incorrect character found in source at line 30 in column 30. Hexadecimal value of character is 7B. "ch2inv.f", line 30.39: 1515-018 (S) Incorrect character found in source at line 30 in column 39. Hexadecimal value of character is 7D. "ch2inv.f", line 31.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 32.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 33.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 34.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 35.3: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 36.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 37.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 38.3: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 39.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 40.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 41.3: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 42.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 43.3: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 44.0: 1515-010 (S) String is missing a closing delimiter. Closing delimiter assumed at end of line. "ch2inv.f", line 44.4: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 45.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 46.3: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 47.3: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 48.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", 1515-002 (S) END card is missing. One is assumed. ** _main === End of Compilation 1 === "ch2inv.f", line 50.7: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 51.6: 1514-050 (S) Specification statement is out of order. Statement is ignored. "ch2inv.f", line 52.6: 1514-050 (S) Specification statement is out of order. Statement is ignored. "ch2inv.f", line 53.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 54.6: 1514-050 (S) Specification statement is out of order. Statement is ignored. "ch2inv.f", line 55.6: 1514-050 (S) Specification statement is out of order. Statement is ignored. "ch2inv.f", line 56.1: 1515-019 (S) Syntax is incorrect. "ch2inv.f", line 63.11: 1515-025 (S) Only a name of a variable, array element, or character substring is permitted on the left hand side of an assignment statement. "ch2inv.f", line 66.18: 1516-040 (S) Item has not been defined with the EXTERNAL or INTRINSIC attribute. "ch2inv.f", line 70.11: 1515-025 (S) Only a name of a variable, array element, or character substring is permitted on the left hand side of an assignment statement. ** ch2inv === End of Compilation 2 === 1501-511 Compilation failed for file ch2inv.f. make: The error code from the last command is 1. Stop. make: The error code from the last command is 2. Stop. make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Matthew Beason Analyst - Capacity Planning Harrah's Entertainment, Inc. One Harrah's Court, Las Vegas, NV 89119-4312 Office: 702-494-4097 Mobile: 702-622-6902 [EMAIL PROTECTED] The information contained in this email may be legally privileged and confidential. It is intended to be read only by the person to whom it is addressed. If you have received this in error or are not the intended recipient, please immediately notify the sender and delete all copies of this message. Thank you. -----Original Message----- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Thursday, January 26, 2006 11:35 PM To: Matthew Beason Cc: r-devel@stat.math.ethz.ch; Ron Kaminski Subject: Re: [R] R compile on AIX 5.2 [Moved to a more appropriate list.] This is a problem with your f2c. R-2.2.1 (of which you used a beta from more than a month ago) has been compiled using f2c, and I just checked that my f2c (compiled from the current netlib sources) does not produce anything like that or near on line 296. Why not use a real Fortran compiler? (Your gcc is rather old, as well.) On Thu, 26 Jan 2006, Matthew Beason wrote: > Fellow R Enthusiasts.. > > I'm trying to compile R on AIX 5.2 32bit with gcc 3.3.2-5. I've tried > both the development bundle R-devel_2006-01-25.tar.gz and the > R-beta.tar.gz from about a month ago. In each instance, I'm using the > following options prior to running "./configure --prefix=/usr/local/R": > > OBJECT_MODE=32 > MAIN_LDFLAGS=-Wl,-brtl > SHLIB_LDFLAGS=-Wl,-G > F2C=/usr/local/bin/f2c But R-devel_2006-01-25 does not support F2C, and its R-admin manual says so quite explicitly! > The "R-beta" bundle successfully completes the "configure" stage but > comes up with the following error during "make": > > gcc -Wl,-G -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,-bexpall > -Wl,-bI:../../../etc/R.exp -L/usr/local/lib -o internet.so Rsock.lo > internet.lo nanoftp.lo nanohttp.lo sock.lo sockconn.lo > /home/mbeason/work/R-beta/src/modules/lapack > making Lapack.d from Lapack.c > /usr/local/bin/f2c < dlamc.f > c_dlamc.c > dlamch: > dlamc1: > Error on line 296: p1_addr: unknown uname_tag '537090960' > dlamc2: > dlamc3: > dlamc4: > dlamc5: > make: The error code from the last command is 1. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel