[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble compiling octave 2.0.6 under SunOS 4.1.3

From: Roberto Dominijanni
Subject: Trouble compiling octave 2.0.6 under SunOS 4.1.3
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

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 <cfloat>

to src/  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<char, 
string_char_traits<char> >::nilRep'

Any ideas on which library is missing would be much appreciated.

Roberto Dominijanni

reply via email to

[Prev in Thread] Current Thread [Next in Thread]