help-octave
[Top][All Lists]
Advanced

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

Re: Compile trouble octave2.09 on Mklinux


From: John W. Eaton
Subject: Re: Compile trouble octave2.09 on Mklinux
Date: Fri, 19 Sep 1997 12:30:47 -0500

On 19-Sep-1997, Toru Mori <address@hidden> wrote:

| 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/glob 
-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'
| 
/usr/lib/gcc-lib/ppc-unknown-linuxaout/2.7.2.f.1/libf2c.a(z_abs.o)(.text+0x4): 
first defined here

I think this happens because z_abs is defined in libf2c and libm (or
libc?) on your system.  Removing the object from one or the other of
the libraries will probably solve your problem, though you should
probably check to make sure that they really are the same (i.e., find
the source for both libraries and see if both functions are supposed
to do the same thing).  This problem should probably be reported to
the Mklinux maintainers.

jwe



reply via email to

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