From help-octave-request at bevo dot che dot wisc dot edu Fri Oct 19 21:48:31 2001 Subject: Problems installing on Solaris 5.8 From: "John W. Eaton" To: "Stephen W. Juranich" Cc: help-octave at bevo dot che dot wisc dot edu Date: Fri, 19 Oct 2001 21:47:31 -0500 On 19-Oct-2001, Stephen W. Juranich wrote: | We've got a "non-standard" installation here, and I'm fairly certain that I've | run the configure script correctly, but I keep getting the following linker | errors when I try to build on our machine: | | make[2]: Entering directory `/atm/kite/d2/packages/octave-2.0.16/src' | making builtins.cc from data.df defaults.df dirfns.df error.df file-io.df help.df input.df load-save.df oct-hist.df pager.df pr-output.df pt-fcn.df pt-plot.df strfns.df syscalls.df sysdep.df toplev.df utils.df variables.df ov-typeinfo.df balance.df besselj.df betainc.df chol.df colloc.df dassl.df det.df eig.df expm.df fft.df fft2.df filter.df find.df fsolve.df gammainc.df getgrent.df getpwent.df getrusage.df givens.df hess.df ifft.df ifft2.df inv.df log.df lpsolve.df lsode.df lu.df minmax.df pinv.df qr.df quad.df qzval.df rand.df schur.df sort.df svd.df syl.df time.df | builtins.cc is unchanged | 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 /g/ssli/generic/SunOS/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/g/rcs/sw/pkgs/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2 -L/usr/ccs/bin -L/usr/ccs/lib -L/g/rcs/sw/pkgs/gcc-2.95.2/lib -lm -lcurses -ldl -lsocket -lm | c++: unrecognized option `-rdynamic' | Undefined first referenced | symbol in file | dostop_ ../libcruft/libcruft.a(xstopx.o) | machar_ ../libcruft/libcruft.a(d1mach.o) | ld: fatal: Symbol referencing errors. No output written to octave | collect2: ld returned 1 exit status | make[2]: *** [octave] Error 1 | make[2]: Leaving directory `/atm/kite/d2/packages/octave-2.0.16/src' | make[1]: *** [src] Error 2 | make[1]: Leaving directory `/atm/kite/d2/packages/octave-2.0.16' | make: *** [all] Error 2 | | We use gcc 2.95.2 (which should be plenty recent enough). I don't recognize | the symbols that it's looking for (dostop_ and machar_), so I'm assuming they | come in the source distribution somewhere. | | Could somebody please tell me how to make this compile? Here's the output of | uname -a: | | condor (octave-2.0.16)$ uname -a | SunOS condor 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-5_10 dostop is defined in libcruft/misc/dostop.c and machar is defined in libcruft/misc/machar.c. Were those files compiled when you built Octave? What symbols are present in libcruft/misc/machar.o and libcruft/misc/machar.o? Was F77_APPEND_UNDERSCORE defined correctly? jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------