help-octave
[Top][All Lists]
Advanced

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

Compile error -- undefined symbol set_new_handler


From: John W. Eaton
Subject: Compile error -- undefined symbol set_new_handler
Date: Tue, 15 Dec 1998 13:43:32 -0600 (CST)

On 15-Dec-1998, Brian Tyrrell <address@hidden> wrote:

| To avoid the errors encountered when compiling octave-2.0.13, I tried
| compiling the 
| test-release octave-2.0.13.95.  I get the following error:
| 
| 
| c++  -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 -rdynamic \
| -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
| /tmp/tyrrell/octave/lib/octave-2.0.13.95 \
| ../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/opt/gcc/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.57
| -L/opt/gcc/sparc-sun-solaris2.5.1/lib -L/usr/ccs/bin -L/usr/ccs/lib
| -L/opt/gcc/lib -lm  -lcurses -ldl -lsocket -lm 
| c++: unrecognized option `-rdynamic'
| Undefined                       first referenced
| symbol                             in file
| set_new_handler                     ../src/liboctinterp.a(sighandlers.o)
| ld: fatal: Symbol referencing errors. No output written to octave
| collect2: ld returned 1 exit status
| gmake[2]: *** [octave] Error 1
| gmake[2]: Leaving directory `/tmp/tyrrell/octave-2.0.13.95/src'
| gmake[1]: *** [src] Error 2
| gmake[1]: Leaving directory `/tmp/tyrrell/octave-2.0.13.95'
| gmake: *** [all] Error 2
| 
| 
| I am using egcs-2.91.57 on a Sparc running Solaris2.5.1.
| 
| Any suggestions?

Edit Makeconf and delete -rdynamic where it appears and run make
again.  I'll fix the test for this compiler flag before the actual
release.

Thanks,

jwe



reply via email to

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