From owner-help-octave at bevo dot che dot wisc dot edu Mon Jun 2 10:03:26 1997 Subject: Trouble compiling octave 2.0.6 under SunOS 4.1.3 From: roberto at banach dot npt dot nuwc dot navy dot mil (Roberto Dominijanni) To: help-octave at bevo dot che dot wisc dot edu Date: Mon, 2 Jun 97 11:03:22 EDT I am having some trouble compiling octave 2.0.6 under SunOS 4.1.3. I am using all the latest versions of gcc, libg++, make, and so on, and the latest version of f2c from netlib.bell-labs.com. I edited configure to force it to find /usr/local/lib/libf2c.a (it couldn't do it on its own) and then invoked it with the command echo "CC=gcc CFLAGS=-O3 CXX=gcc CXXFLAGS=-O3 ./configure --with-f2c" | /bin/sh and added #include to src/mappers.cc. Compilation then proceeded up to gcc -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc -DHAVE_CONFIG_H -fno-implicit-templates -O3 -L.. -fPIC -g -o octave \ octave.o builtins.o balance.o chol.o colloc.o dassl.o det.o eig.o expm.o fft.o fft2.o filter.o find.o fsolve.o getgrent.o getpwent.o getrusage.o givens.o hess.o ifft.o ifft2.o inv.o log.o lpsolve.o lsode.o lu.o minmax.o pinv.o qr.o quad.o qzval.o rand.o schur.o sort.o svd.o syl.o time.o \ -L../liboctave -L../libcruft -L../readline -L../kpathsea -L../glob -L../dlfcn -L. \ -loctinterp -loctave -ltinst -lcruft -lreadline -lkpathsea -lglob \ -lf2c -ltermcap -lm -ldl after which it died with lots (11,094) of errors of the form collect2: ld returned 1 exit status octave.o(.text+0x460): undefined reference to `basic_string >::nilRep' Any ideas on which library is missing would be much appreciated. Roberto Dominijanni