[Top][All Lists]

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

Trouble compiling octave 2.0.16 on solaris

From: John W. Eaton
Subject: Trouble compiling octave 2.0.16 on solaris
Date: Fri, 31 Mar 2000 03:25:52 -0600 (CST)

On 31-Mar-2000, Sinbad Wilmot <address@hidden> wrote:

| I started trying to compile octave 2.0.16 on solaris and ran into the
| -rdynamic not recognised command as I am using the solaris ld not gcc's
| ld. I tried a number of switches to try and circumvent this problem to
| no avail

Edit the generated Makeconf file and delete -rdynamic where it appears.

| so then I configured octave for static linking in order to
| obviate te problem but I still have symbol referencing errors at the
| final link, the output is attached below. Help please!

| gcc  -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -I../glob -I../glob 
-DHAVE_CONFIG_H -fno-rtti -fno-exceptions -fno-implicit-templates -g -O2 -Wall  
| -L..   -fPIC -g -o octave \
| octave.o builtins.o  balance.o  besselj.o  betainc.o  chol.o  colloc.o  
dassl.o  det.o  eig.o  expm.o  fft.o  fft2.o  filter.o  find.o  fsolve.o  
gammainc.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../src -Xlinker -R -Xlinker 
/appli/octave/2.0.16/lib/octave-2.0.16 \
| ../src/liboctinterp.a ../liboctave/liboctave.a  ../libcruft/libcruft.a  
../readline/libreadline.a ../kpathsea/libkpathsea.a ../glob/libglob.a  \
| -lg2c -lm  -L/usr/ccs/lib -L/usr/lib 
-L/appli/si_gnu/SunOS-5.6/gcc/2.95.2/lib/gcc-lib -L/usr/ccs/bin -L/usr/ccs/lib 
-L/appli/si_gnu/SunOS-5.6/gcc/2.95.2/lib -lm -ll -lcurses -lsocket -lm 

Why is the final link being done with gcc?  It should be g++, so you
get the standard C++ library.


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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