[Top][All Lists]

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

Re: Compile trouble octave2.09 on Mklinux

From: Toru Mori
Subject: Re: Compile trouble octave2.09 on Mklinux
Date: Fri, 19 Sep 1997 09:44:21 +0900

Thank you for reply.

From: "John W. Eaton" <address@hidden>
Subject: Compile trouble octave2.09 on Mklinux 
Date: Thu, 18 Sep 1997 13:55:48 -0500

> When you ran configure, was g++ correctly configured to find the
> include files in /usr/lib/g++-include?  If so, Octave's configure
> script should have found the definition for NPOS in <string>, or it
> should have found that the C++ string class has npos as a data
> member.  I'm not sure whether the above declaration is correct, but
> you can probably work around it by removing the definition of NPOS
> from Octave's config.h file and running make again.
> jwe

I can solve compile error of my previous post.  After deleting all
sources of octave and compile again, "parse error" is vanished. 
Probably, I missedited "".

But I faced other compile error as follows.

c++  -I. -I/home/mori/octave/octave-2.0.9/src -I.. -I../liboctave -I../src 
-I../glob -I../libcruft/misc -I/home/mori/octave/octave-2.0.9 
-I/home/mori/octave/octave-2.0.9/liboctave -I/home/mori/octave/octave-2.0.9/src 
-I/home/mori/octave/octave-2.0.9/libcruft/misc  -DHAVE_CONFIG_H  
-fno-implicit-templates  -g -O2 -Wall -L.. -u MAIN__   -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 -lm -L/usr/lib/gcc-lib/ppc-unknown-linuxaout/2.7.2.f.1 -lm -lgcc -lc  
-lncurses -lm 
/usr/lib/libm.a(cabs.o): In function `z_abs':
cabs.o(.text+0x268): multiple definition of `z_abs'
first defined here
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/home/mori/octave/octave-2.0.9/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/mori/octave/octave-2.0.9'
make: *** [all] Error 2

Result of configure on my system is following.

Octave is now configured for powerpc-unknown-linux-gnu

  Source directory:     /home/mori/octave/octave-2.0.9
  Installation prefix:  /usr/local
  C compiler:           gcc  -g -O2 -Wall
  C++ compiler:         c++  -fno-implicit-templates  -g -O2 -Wall
  Fortran compiler:     g77 -O
  Fortran libraries:     -lf2c -lm 
-L/usr/lib/gcc-lib/ppc-unknown-linuxaout/2.7.2.f.1 -lm -lgcc -lc
  Use GNU readline:     true
  Use GNU info reader:  true
  Default pager:        less
  gnuplot:              gnuplot

  Do internal array bounds checking:       false
  Build shared libraries:                  false
  Minimal kernel option:                   false
  Dynamic Linking (dlopen/dlsym):          false
  Dynamic Linking (shl_load/shl_findsym):  false

Please advise me to solve this error.

_/              Toru Mori                 _/
_/  Isuzu Advanced Engneering Center.Ltd. _/
_/  Sound & Vibration Research Dept.      _/
_/   Tel:0466-45-2696 Fax:0466-45-2405    _/
_/    E-mail: address@hidden       _/

reply via email to

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