{message bounced because it has "$$$" in it. manually approved by list maintainer -- MM}> Date: Tue, 22 Feb 2000 13:03:35 +0100 > From: jens <jniesch at gwdg.de> > > I have trouble to install R on Sparc Sun Solaris 2.6. > make returns the error message: > Undefined symbol first referenced in file > d_lg10 ../appl/libappl.a(uncmin.o) > d_sign ../appl/libappl.a(dpoco.o > > Anybody can help me out?Try installing the current version, 0.99.0, which does a better job of finding the right libraries. If that fails come back to us with a listing of Makeconf in the top-level build directory, and details of the compilers you used. -- Brian D. Ripley, ripley at stats.ox.ac.uk 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$ I tried the R-0.99.0 version and got the following for make Undefined symbol first referenced in file i_len xxxpr.o d_sign ../appl/libappl.a(dpoco.o) The compilers used are C: gcc version 2.81 FORTRAN: f2c (from the gnu download packet f2c-1993_04_28_tar.gz) The Makeconf reads: PACKAGE = R VERSION = 0.99.0 AR = ar AWK = gawk BLAS = blas.o CC gcc CFLAGS = -g -O2 CPICFLAGS = -fPIC CPPFLAGS DEFS -DHAVE_CONFIG_H DLLFLAGS DVIPS = false FC FFLAGS FLIBS FPICFLAGS = -PIC F2C = f2c F2CFLAGS GNOMEUI_LIBS GNOME_LIBDIR GNOME_INCLUDEDIR INSTALL = $(top_srcdir)/tools/install-sh -c INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM ${INSTALL} INSTALL_DIR = ${INSTALL} -d LATEX = false LDCMD = gcc LDFLAGS LIBGLADE_CFLAGS LIBGLADE_LIBS LIBS = -lz -ldl -ltermcap -lm LN_S ln -s MAKEINDEX = /usr/local/bin/makeindex MKINSTALLDIRS $(top_srcdir)/tools/mkinstalldirs R_PKGS = base ctest eda lqs modreg mva nls splines stepfun ts R_XTRA_CFLAGS R_XTRA_CPPFLAGS = -I. -I../include -I$(top_srcdir)/src/include -I$(top_srcdir)/src/include/R_ext R_XTRA_FFLAGS R_XTRA_LIBS RANLIB = ranlib SHELL = /bin/sh SHLIBEXT = so SHLIBLD gcc SHLIBLDFLAGS = -G TAR = tar X_CFLAGS = -I/usr/openwin/include X_LIBS -L/usr/openwin/lib -R/usr/openwin/lib -lX11 X_PRE_LIBS = -lSM -lICE X_EXTRA_LIBS = -lsocket -lnsl YACC = bison -y ALL_CFLAGS $(R_XTRA_CFLAGS) $(CFLAGS) ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) $(CPPFLAGS) $(DEFS) ALL_FFLAGS = $(R_XTRA_FFLAGS) $(FFLAGS) .SUFFIXES: .SUFFIXES: .c .f .d .o .c.d: @echo "making $@ from $<" @$(CC) -M $(ALL_CPPFLAGS) $< > $@ .c.o: $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -c $< -o $@ .f.o: $(F2C) $(F2CFLAGS) < $< > $*.c $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -c $*.c -o $@ @rm -f $*.c prefix = /usr/users/jniesch/iwas exec_prefix ${prefix} bindir = ${exec_prefix}/bin datadir = ${prefix}/share libdir ${exec_prefix}/lib mandir = ${prefix}/man rhome = ${exec_prefix}/lib/R Jens -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 22 Feb 2000, jens wrote:> > Date: Tue, 22 Feb 2000 13:03:35 +0100 > > From: jens <jniesch at gwdg.de> > > > > I have trouble to install R on Sparc Sun Solaris 2.6. > > make returns the error message: > > Undefined symbol first referenced in file > > d_lg10 ../appl/libappl.a(uncmin.o) > > d_sign ../appl/libappl.a(dpoco.o > > > > Anybody can help me out? > > Try installing the current version, 0.99.0, which does a better > job of finding the right libraries. If that fails come back to us > with a listing of Makeconf in the top-level build directory, > and details of the compilers you used. > > -- > Brian D. Ripley, ripley at stats.ox.ac.uk > 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 272860 (secr) > Oxford OX1 3TG, UK Fax: +44 1865 272595 > > I tried the R-0.99.0 version and got the following for make > > Undefined symbol first referenced in file > i_len xxxpr.o > d_sign ../appl/libappl.a(dpoco.o) > > The compilers used are > C: gcc version 2.81 > FORTRAN: f2c (from the gnu download packet f2c-1993_04_28_tar.gz)That is really ancient! I suggest you install gcc-2.95.2, including g77, if you do not have the Sun compilers. You will find life much easier with a real Fortran compiler.> The Makeconf reads: > > PACKAGE = R > VERSION = 0.99.0 > > AR = ar > AWK = gawk > BLAS = blas.o > CC > gcc > CFLAGS = -g -O2 > CPICFLAGS = -fPIC > CPPFLAGS > DEFS > -DHAVE_CONFIG_H > DLLFLAGS > DVIPS = false > FC > FFLAGS > FLIBSThat's wrong. You need -lf2c there, and possibly -L/path/to/it. I would have expected -lm too, but you have that in LIBS, I see, which may well suffice. Try setting FLIBS in config.site, or just alter Makeconf and see if the compilation succeeds (and you will need to alter it in etc/Makeconf too). -- Brian D. Ripley, ripley at stats.ox.ac.uk 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._