From help-octave-request at bevo dot che dot wisc dot edu Thu Jan 4 13:25:29 2001 Subject: Help:linking octave under Solaris 2.7 From: Francisco Rojas To: help-octave at bevo dot che dot wisc dot edu Date: Thu, 4 Jan 2001 12:21:30 -0700 (MST) I am using Solaris 2.7, gcc 2.95.1, and gmake Solaris 2.7 versions: of /usr/ccs/bin/ranlib and /usr/ccs/bin/ar I need help on setting the flags for the final linking stage. It is currently failing. Here is the final output. ========================================================== ar: writing liboctinterp.a make[2]: *** Warning: File `liboctinterp.a(DLList.o)' has modification time in the future (2010-02-22 14:41:28.709551616 > 2001-01-04 12:08:52.866712528) c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -g -O2 -Wall toplev.cc c++ -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -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 /opt/dial/software/octave/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/opt/dial/software/gcc/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1 -L/opt/dial/software/gcc/lib/gcc-lib -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib -lm -ll -lcurses -ldl -lsocket -lm Undefined first referenced Matrix::fourier(void) const fft.o Vprogram_invocation_name octave.o besselk(Matrix const &, complex const &, bool, Array2 &)besselj.o bessely(double, complex const &, bool, int &)besselj.o Fgetppid(octave_value_list const &, int)builtins.o Ffseek(octave_value_list const &, int)builtins.o Fgetegid(octave_value_list const &, int)builtins.o Fdiag(octave_value_list const &, int)builtins.o Fumask(octave_value_list const &, int)builtins.o Array::resize(int) dassl.o DASSL_options::maximum_step_size(void)dassl.o Fprod(octave_value_list const &, int)builtins.o Fgetuid(octave_value_list const &, int)builtins.o besselj(Matrix const &, complex const &, bool, Array2 &)besselj.o What can be done to resolve these symbols ? Any help is appreciated. Thanks, Francisco Rojas University of Arizona, Tucson, Arizona Electrical and Computer Engineering Department E-MAIL: rojas at ece dot arizona dot edu OFFICE: ECE 408, 520.621.4554 FAX : 520.621.8076 WEB: http://www.ece.arizona.edu/~rojas ------------------------------------------------------------- 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 -------------------------------------------------------------