From help-octave-request at bevo dot che dot wisc dot edu Tue Dec 15 13:39:45 1998 Subject: Compile error -- undefined symbol set_new_handler From: Brian Tyrrell To: bug-octave at bevo dot che dot wisc dot edu, help-octave@bevo.che.wisc.edu Date: Tue, 15 Dec 1998 14:42:26 -0500 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? Thanks.