Can anyone spot the problem here. Following is an edited script of the install session. The gist is: * syntax error in original src/main/dotcode.c Easily remedied (or at least, such that compiles without error message ... ) change line 449-450 (two lines preceding return) #ifdef HAVE_F77_UNDERSCORE if(PRIMVAL(op)) { *q++ = '_'; *q = '\0'; #endif } return mkString(buf); } to } #endif But then load complains of hundreds of undefined symbols in, surprise surprise, dotcode.o. Alternatively, setting F77=no in config.site, the above does not generate a syntax error, but the same load problems occur. I thought the problem might be in my temporary lack of access to NFS-mounted f77 libraries; but surely F77=no version should work? ____________ extracts from script install.log: Script started on Wed Jul 30 14:12:23 1997 scmb% configure loading cache ./config.cache checking for gcc... gcc checking whether we are using GNU C... yes checking for bison... bison -y checking for ranlib... ranlib checking for ar... ar checking for underscore after Fortran symbols... NFS read failed for server fs0.liv.ac.uk: error 5 (RPC: Timed out) nothing worked - won't use fortran checking how to run the C preprocessor... gcc -E checking for POSIXized ISC... no checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include checking for -lICE... no checking for -ldnet... no checking for -ldnet_stub... no checking for -lnsl... yes checking for -lsocket... yes checking for -lm... yes checking for -lncurses... no checking for -ltermcap... yes checking for -lreadline... yes checking for -ldl... yes checking for strcoll... yes checking whether cross-compiling... no checking for ANSI C header files... yes checking for fcntl.h... yes checking for limits.h... yes checking for dlfcn.h... yes checking for dl.h... no checking for elf.h... yes checking for time.h... yes checking for sys/times.h... yes checking for rpc/xdr.h... yes checking for working const... yes checking return type of signal handlers... void checking for pid_t... yes checking for vfork.h... no checking for working vfork... yes checking for vprintf... yes checking for strtod... yes checking for strtol... yes checking for isnan... yes checking for matherr... yes checking for times... yes checking for rint... yes checking for memmove... yes checking for memcpy... yes checking for bcopy... yes checking for xmkmf... xmkmf checking how to make shared libraries... done updating cache ./config.cache creating ./config.status creating Makefile creating src/main/Makefile creating src/graphics/Makefile creating src/math/Makefile creating src/appl/Makefile creating src/regex/Makefile creating src/unix/Makefile creating src/front/R.sh creating etc/SHLIB creating etc/COMPILE creating demos/dynload/Makefile creating src/library/LIBSETUP creating src/library/LIBCLEAN creating src/include/Platform.h scmb% make building/installing R cd src; make install extracting foreign function symbols cd graphics; make ... etc etc gcc -g -I../include -c dotcode.c dotcode.c:452: parse error before `return' *** Error code 1 make: Fatal error: Command failed for target `dotcode.o' Current working directory /export/home/scmk/fear/junk/R/R-0.50-a1/src/main *** Error code 1 make: Fatal error: Command failed for target `build' Current working directory /export/home/scmk/fear/junk/R/R-0.50-a1/src *** Error code 1 make: Fatal error: Command failed for target `install' ... ... whether changed as above or re-run with F77=no finally: gcc -o R.binary arithmetic.o array.o attrib.o bind.o builtin.o character.o coerce.o colors.o complex.o context.o cov.o cum.o dataframe.o debug.o deparse.o deriv.o dotcode.o dstruct.o duplicate.o envir.o errors.o eval.o format.o fourier.o gram.o list.o logic.o main.o match.o memory.o model.o names.o objects.o optimize.o options.o par.o paste.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o random.o relop.o saveload.o scan.o seq.o sort.o source.o split.o subassign.o subscript.o subset.o summary.o unique.o util.o version.o ../lib/libgraphics.a ../lib/libunix.a ../lib/libappl.a ../lib/libregex.a ../lib/libmath.a -L/usr/openwin/lib -R /usr/openwin/lib -lX11 -lnsl -lsocket -ldl -lreadline -ltermcap -lm Undefined first referenced symbol in file dqrqty_ dotcode.o fmin_ dotcode.o dqrqy_ dotcode.o chol_ dotcode.o dqrcf_ dotcode.o dtrsl_ dotcode.o dpoco_ dotcode.o dposl_ dotcode.o result_ ../lib/libappl.a(uncmin.o) dcopy_ ../lib/libappl.a(bakslv.o) dqrsl_ dotcode.o root1d_ dotcode.o dpodi_ dotcode.o ch2inv_ dotcode.o dqrdc_ dotcode.o rg_ dotcode.o dqrrsd_ dotcode.o dqrxb_ dotcode.o dsvdc_ dotcode.o dqrdc2_ dotcode.o optif9_ dotcode.o rs_ dotcode.o cg_ dotcode.o ch_ dotcode.o dqrls_ dotcode.o dpofa_ dotcode.o ld: fatal: Symbol referencing errors. No output written to R.binary *** Error code 1 make: Fatal error: Command failed for target `R.binary' Current working directory /export/home/scmk/fear/junk/R/R-0.50-a1/src/main *** Error code 1 make: Fatal error: Command failed for target `build' Current working directory /export/home/scmk/fear/junk/R/R-0.50-a1/src *** Error code 1 make: Fatal error: Command failed for target `install' =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-