From bug-octave-request at bevo dot che dot wisc dot edu Thu Oct 2 09:06:31 2003 Subject: Re: errors when compiling octave-2.1.50 From: Tom Wurgler To: jwe at bevo dot che dot wisc dot edu CC: twurgler at goodyear dot com, bug-octave@bevo.che.wisc.edu Date: Thu, 2 Oct 2003 07:57:51 -0500 After I sent this bug report in, I tried gcc 3.2.3 and octave compiled just fine. The problem came with gcc 3.3.1... Thanks! Recently "John W. Eaton" wrote: W.> From: "John W. Eaton" W.> Date: Wed, 1 Oct 2003 21:50:07 -0500 W.> Cc: bug-octave at bevo dot che dot wisc dot edu, t901353@rds294.goodyear.com W.> On 24-Sep-2003, Tom Wurgler wrote: W.> | I get unsatisfied symbols at the end of the make. My info for the system, W.> | gcc, make, configureing and running make are below. I have plotutils-2.4.1 W.> | installed and a link gnuplot that points to the new "plot". I also have W.> | readline-4.2 installed. W.> | W.> | Thanks W.> | W.> | tom W.> | W.> | I am runing a HP J6000 running HP-UX 11.0 W.> | W.> | system> [src]rds294[286]% uname -a W.> | system> HP-UX rds294 B.11.00 U 9000/785 2000387327 unlimited-user license W.> | system> [src]rds294[287]% W.> | W.> | gcc> [src]rds294[284]% gcc --version W.> | gcc> gcc (GCC) 3.3.1 W.> | gcc> Copyright (C) 2003 Free Software Foundation, Inc. W.> | gcc> This is free software; see the source for copying conditions. There is NO W.> | gcc> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. W.> | W.> | [...] W.> | W.> | make> g++ -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -g -O2 -Wall \ W.> | make> -L.. -fPIC -o octave \ W.> | make> main.o balance.o besselj.o betainc.o chol.o colloc.o daspk.o dasrt.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 kron.o lpsolve.o lsode.o lu.o minmax.o odessa.o pinv.o qr.o quad.o qz.o rand.o schur.o sort.o sqrtm.o svd.o syl.o time.o \ W.> | make> -L../liboctave -L../libcruft -L../src -Wl,+b -Wl,/u/rdsnfs5/t901353/local/lib/octave-2.1.50 \ W.> | make> ../src/liboctinterp.a ../liboctave/liboctave.a ../libcruft/libcruft.a ../glob/glob.o ../glob/fnmatch.o \ W.> | make> -lfftw -lreadline -lcurses -lm -L/lib/pa1.1 -L/usr/lib/pa1.1 -L/u/rdsnfs5/t901353/local/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.3.1 -L/usr/ccs/bin -L/usr/ccs/lib -L/opt/langtools/lib -L/u/rdsnfs5/t901353/local/lib -lfrtbegin -lg2c -lm -lgcc_s W.> | make> /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (/u/rdsnfs5/t901353/local/lib/libfftw.a(planner.o)) was detected. The linked output may not run on a PA 1.x system. W.> | make> /usr/ccs/bin/ld: Unsatisfied symbols: W.> | make> Array::~Array [in-charge]()(first referenced in balance.o) (code) W.> | make> Array::resize(int, octave_value const&)(first referenced in balance.o) (code) W.> | make> Array::Array[not-in-charge](int, octave_value const&)(first referenced in ../src/liboctinterp.a(defun.o)) (code) W.> | make> Array::Array[in-charge](int, octave_value const&)(first referenced in balance.o) (code) W.> | make> Array::~Array [not-in-charge]()(first referenced in ../src/liboctinterp.a(defun.o)) (code) W.> | make> Array::resize(int) (first referenced in fsolve.o) (code) W.> | make> Array::~Array [in-charge]()(first referenced in odessa.o) (code) W.> | make> Array::operator=(Array const&)(first referenced in besselj.o) (code) W.> | make> Array::operator=(Array const&)(first referenced in odessa.o) (code) W.> I don't know why these functions are not correctly instantiated. I W.> think that hte code in src/TEMPLATE-INST/Array-tc.cc should ensure W.> that they are. It works correctly for me with g++ 3.3.1 on a Debian W.> system on i386 hardware. Can someone else please try to debug this W.> problem? I don't have access to a system running HP-UX that has the W.> tools required to do any more investigation. W.> jwe Contains Confidential and/or Proprietary Information. May not be copied or disseminated without express written consent of The Goodyear Tire & Rubber Company. ------------------------------------------------------------- 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 -------------------------------------------------------------