From help-octave-request@che.utexas.edu Tue Jan 4 05:10:08 1994
Received: from localhost (daemon@localhost) by ward.che.utexas.edu (8.6/8.6) id FAA28443 for help-octave-outgoing; Tue, 4 Jan 1994 05:10:08 -0600
Received: from punch.ic.ac.uk (punch.ic.ac.uk [155.198.5.4]) by ward.che.utexas.edu (8.6/8.6) with SMTP id FAA28438 for ; Tue, 4 Jan 1994 05:10:06 -0600
From: d.shields@ic.ac.uk
Received: from prism.ee.ic.ac.uk by punch.ic.ac.uk with SMTP (PP)
id <01028-0@punch.ic.ac.uk>; Tue, 4 Jan 1994 11:07:01 +0000
Received: from crackle.ee.ic.ac.uk by prism.ee.ic.ac.uk (4.1/4.0) id AA17793;
Tue, 4 Jan 94 11:06:03 GMT
Message-Id: <5781.9401041106@crackle.ee.ic.ac.uk>
Subject: Installing octave-0.74
To: help-octave@che.utexas.edu
Date: Tue, 4 Jan 94 11:06:57 GMT
X-Mailer: ELM [version 2.3 PL3]
Sender: help-octave-request@che.utexas.edu
I have been trying to build octave 0.74 on a sun 4 using g++ from the
gcc 2.5.7 distribution. The cruft library is built OK
but errors are generated when building the octave library.
The section from a log of the make output immediately after building
libcruft.a is below. Please E-mail me if this is a known problem!
-----------
making all in liboctave
make[1]: Entering directory `/usr3/arrow/dcs/octave/octave-0.74/liboctave'
g++ -c -I. -I. -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DF77_APPEN
D_UNDERSCORE=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 -DRETSIGTYPE=void -DHAVE_TERMIO_H=1
-DHAVE_FINITE=1 -DHAVE_ISNAN=1 -DHAVE_ISINF=1 -g -O -Wall Bounds.cc
In file included from Bounds.h:32,
from Bounds.cc:29:
Matrix.h:2200: `SCHUR::operator =(const SCHUR &, const char *)' must take exactl
y one argument
Matrix.h:2227: `SCHUR::operator =(const SCHUR &, const char *)' must take exactl
y one argument
Matrix.h:2253: `ComplexSCHUR::operator =(const ComplexSCHUR &, const char *)' mu
st take exactly one argument
Matrix.h:2282: `ComplexSCHUR::operator =(const ComplexSCHUR &, const char *)' mu
st take exactly one argument
make[1]: *** [Bounds.o] Error 1
make[1]: Leaving directory `/usr3/arrow/dcs/octave/octave-0.74/liboctave'
making all in readline
----------
Thanks - Dan
--
Daniel Shields ---- d.shields@ic.ac.uk ---- 071-589-5111 xt 5185
From help-octave-request@che.utexas.edu Thu Jan 6 13:51:07 1994
Received: from localhost (daemon@localhost) by ward.che.utexas.edu (8.6/8.6) id NAA26701 for help-octave-outgoing; Thu, 6 Jan 1994 13:51:07 -0600
Received: from unogate.unocal.com (unogate.unocal.com [134.248.2.10]) by ward.che.utexas.edu (8.6/8.6) with ESMTP id NAA26689; Thu, 6 Jan 1994 13:51:02 -0600
Received: from sugarland.unocal.com (krakatoa.sugarland [134.248.126.1]) by unogate.unocal.com (8.6.4/8.5) with SMTP id LAA07413; Thu, 6 Jan 1994 11:51:00 -0800
Received: from bouguer.sugarland.unocal.COM by sugarland.unocal.com (4.1/SMI-4.1)
id AA08140; Thu, 6 Jan 94 13:50:55 CST
Date: Thu, 6 Jan 94 13:50:54 CST
From: itlameo@sugarland.unocal.com (Mark Odegard)
Message-Id: <9401061950.AA08140@sugarland.unocal.com>
To: help-octave@che.utexas.edu
Subject: compiling with gcc-2.5.7
Cc: bug-octave@che.utexas.edu
Sender: help-octave-request@che.utexas.edu
After fixing the SCHUR class two argument problem I was able to compile
octave with gcc-2.5.7 and libg++2.5.3. There are no longer the problems
with the "control reaches end of non-void function" warnings, so
Complex.h doesn't have to be edited to remove "~Complex". However:
There are now lots of warnings like:
DiagMatrix.cc: In method `class RowVector DiagMatrix::row(char *) const':
DiagMatrix.cc:356: warning: this function may return with or without a value
and:
Matrix-ext.cc: In method `int SCHUR::init(const class Matrix &, const char *)':
Matrix-ext.cc:473: warning: ANSI C++ prohibits conversion from `(double *, double *)' to `(...)'
These seem to have no effect. The process does fail, however, in the
final load phase, with:
/files1/home/itlameo/octave/octave-0.79/src/g-builtins.cc:1639: builtin_givens
(t ree_constant const *, int, int): undefined reference to
`givens(tree_constant const *, int, int)'
collect2: ld returned 1 exit status.
I was able to complete the load by editing the Makefile in the /src
directory by adding "f-givens.o" to the "OBJECTS" variable, as in:
OBJECTS = arith-ops.o builtins.o error.o file-io.o g-builtins.o \
ETC......
dynamic-ld.o f-givens.o
The resultant "octave" runs but I haven't tried the "givens" function.
I looked at the "givens" source code but couldn't find anything which
was obviously wrong.
Anyway, good luck to all.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mark Odegard | mark.odegard@sugarland.unocal.com
Unocal Corporation, Frontier Exploration | Telno: (713)287-7666
14141 Southwest Freeway | Fax: (713)287-5403
Sugar Land, TX 77478, USA | ode@st.unocal.com
>>>>>>>>>>>>> "No man is truly free who has to work for a living" <<<<<<<<<<
From help-octave-request@che.utexas.edu Tue Jan 18 12:21:31 1994
Received: from localhost (daemon@localhost) by ward.che.utexas.edu (8.6/8.6) id MAA12300 for help-octave-outgoing; Tue, 18 Jan 1994 12:21:31 -0600
Received: from INGFI1.ING.UNIFI.IT (ingfi1.ing.unifi.it [150.217.10.2]) by ward.che.utexas.edu (8.6/8.6) with SMTP id MAA12295 for ; Tue, 18 Jan 1994 12:21:22 -0600
Received: from aguirre.ing.unifi.it by INGFI1.ING.UNIFI.IT with SMTP;
Tue, 18 Jan 1994 19:18:29 +0200 (MET)
Received: from gollum.DSILAB2 by aguirre.ing.unifi.it (4.1/SMI-4.1)
id AA07344; Tue, 18 Jan 94 19:07:06 +0100
Date: Tue, 18 Jan 94 19:07:06 +0100
From: Mattolini Riccardo
Message-Id: <9401181807.AA07344@aguirre.ing.unifi.it>
To: help-octave@che.utexas.edu
Subject: octave, gcc 2.5.7 & Solaris 2.2
Sender: help-octave-request@che.utexas.edu
I am trying to compile octave 0.79 on a SparcStation IPX
with Solaris 2.2.
I am using gcc 2.5.7 and libg++ 2.5.3 .
During the compilation I obtained these errors.
Can someone tell me where is the problem.
Thanks.
Riccardo Mattolini
g++ -c -I. -I. -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DC_ALLOCA=1 -DSTACK_DIRECTION=0 -Dconst= -DF77_APPEND_UNDERSCORE=1 -DHAVE_STRING_H=1 -DHAVE_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_TTOLD_H=1 -DHAVE_SYS_PTEM_H=1 -DHAVE_UNISTD_H=1 -DVOID_CLOSEDIR=1 -DTM_IN_SYS_TIME=1 -DRETSIGTYPE=int -DHAVE_TERMIOS_H=1 -DACOSH_MISSING=1 -DASINH_MISSING=1 -DATANH_MISSING=1 -g -O -Wall Bounds.cc
In file included from /opt/gnu/lib/g++-include/iostream.h:31,
from Bounds.cc:28:
/opt/gnu/lib/g++-include/streambuf.h:199: `ios::_IO_fix_vtable()' is already defined in the class ios
/opt/gnu/lib/g++-include/streambuf.h:229: common_type called with uncommon method types (compiler error)
/opt/gnu/lib/g++-include/streambuf.h:229: `ios::pword(int)' is already defined in the class ios
/opt/gnu/lib/g++-include/streambuf.h:231: common_type called with uncommon method types (compiler error)
/opt/gnu/lib/g++-include/streambuf.h:231: `ios::iword(int)' is already defined in the class ios
In file included from Bounds.h:32,
from Bounds.cc:29:
Matrix.h:345: common_type called with uncommon method types (compiler error)
Matrix.h:345: `Matrix::elem(int, int)' is already defined in the class Matrix
Matrix.h:346: common_type called with uncommon method types (compiler error)
Matrix.h:346: `Matrix::checkelem(int, int)' is already defined in the class Matrix
Matrix.h:347: common_type called with uncommon method types (compiler error)
Matrix.h:347: `Matrix::operator ()(int, int)' is already defined in the class Matrix
Matrix.h:555: parse error before `Matrix'
Matrix.h: In method `double & Matrix::checkelem(int, int)':
Matrix.h:558: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double & Matrix::checkelem(int, int)':
Matrix.h:564: warning: reference to non-lvalue returned
Matrix.h: In method `double & Matrix::operator ()(int, int)':
Matrix.h:568: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double Matrix::checkelem(int, int)':
Matrix.h:573: redefinition of `double Matrix::checkelem(int, int)'
Matrix.h:558: `double & Matrix::checkelem(int, int)' previously defined here
Matrix.h:573: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double Matrix::operator ()(int, int)':
Matrix.h:583: redefinition of `double Matrix::operator ()(int, int)'
Matrix.h:568: `double & Matrix::operator ()(int, int)' previously defined here
Matrix.h:583: common_type called with uncommon method types (compiler error)
Matrix.h: At top level:
Matrix.h:617: common_type called with uncommon method types (compiler error)
Matrix.h:617: `ColumnVector::elem(int)' is already defined in the class ColumnVector
Matrix.h:618: common_type called with uncommon method types (compiler error)
Matrix.h:618: `ColumnVector::checkelem(int)' is already defined in the class ColumnVector
Matrix.h:619: common_type called with uncommon method types (compiler error)
Matrix.h:619: `ColumnVector::operator ()(int)' is already defined in the class ColumnVector
Matrix.h: In method `double & ColumnVector::elem(int)':
Matrix.h:716: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double & ColumnVector::checkelem(int)':
Matrix.h:720: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double & ColumnVector::operator ()(int)':
Matrix.h:729: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double ColumnVector::elem(int)':
Matrix.h:731: redefinition of `double ColumnVector::elem(int)'
Matrix.h:716: `double & ColumnVector::elem(int)' previously defined here
Matrix.h:731: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double ColumnVector::checkelem(int)':
Matrix.h:735: redefinition of `double ColumnVector::checkelem(int)'
Matrix.h:720: `double & ColumnVector::checkelem(int)' previously defined here
Matrix.h:735: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double ColumnVector::operator ()(int)':
Matrix.h:744: redefinition of `double ColumnVector::operator ()(int)'
Matrix.h:729: `double & ColumnVector::operator ()(int)' previously defined here
Matrix.h:744: common_type called with uncommon method types (compiler error)
Matrix.h: At top level:
Matrix.h:778: common_type called with uncommon method types (compiler error)
Matrix.h:778: `RowVector::elem(int)' is already defined in the class RowVector
Matrix.h:779: common_type called with uncommon method types (compiler error)
Matrix.h:779: `RowVector::checkelem(int)' is already defined in the class RowVector
Matrix.h:780: common_type called with uncommon method types (compiler error)
Matrix.h:780: `RowVector::operator ()(int)' is already defined in the class RowVector
Matrix.h: In method `double & RowVector::elem(int)':
Matrix.h:883: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double & RowVector::checkelem(int)':
Matrix.h:887: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double & RowVector::operator ()(int)':
Matrix.h:896: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double RowVector::elem(int)':
Matrix.h:898: redefinition of `double RowVector::elem(int)'
Matrix.h:883: `double & RowVector::elem(int)' previously defined here
Matrix.h:898: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double RowVector::checkelem(int)':
Matrix.h:902: redefinition of `double RowVector::checkelem(int)'
Matrix.h:887: `double & RowVector::checkelem(int)' previously defined here
Matrix.h:902: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double RowVector::operator ()(int)':
Matrix.h:911: redefinition of `double RowVector::operator ()(int)'
Matrix.h:896: `double & RowVector::operator ()(int)' previously defined here
Matrix.h:911: common_type called with uncommon method types (compiler error)
Matrix.h: At top level:
Matrix.h:947: common_type called with uncommon method types (compiler error)
Matrix.h:947: `DiagMatrix::elem(int, int)' is already defined in the class DiagMatrix
Matrix.h:948: common_type called with uncommon method types (compiler error)
Matrix.h:948: `DiagMatrix::checkelem(int, int)' is already defined in the class DiagMatrix
Matrix.h:949: common_type called with uncommon method types (compiler error)
Matrix.h:949: `DiagMatrix::operator ()(int, int)' is already defined in the class DiagMatrix
Matrix.h: In method `double & DiagMatrix::elem(int, int)':
Matrix.h:1077: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double & DiagMatrix::checkelem(int, int)':
Matrix.h:1080: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double & DiagMatrix::operator ()(int, int)':
Matrix.h:1090: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double DiagMatrix::elem(int, int)':
Matrix.h:1093: redefinition of `double DiagMatrix::elem(int, int)'
Matrix.h:1077: `double & DiagMatrix::elem(int, int)' previously defined here
Matrix.h:1093: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double DiagMatrix::checkelem(int, int)':
Matrix.h:1096: redefinition of `double DiagMatrix::checkelem(int, int)'
Matrix.h:1080: `double & DiagMatrix::checkelem(int, int)' previously defined here
Matrix.h:1096: common_type called with uncommon method types (compiler error)
Matrix.h: In method `double DiagMatrix::operator ()(int, int)':
Matrix.h:1106: redefinition of `double DiagMatrix::operator ()(int, int)'
Matrix.h:1090: `double & DiagMatrix::operator ()(int, int)' previously defined here
Matrix.h:1106: common_type called with uncommon method types (compiler error)
Matrix.h: At top level:
Matrix.h:1151: common_type called with uncommon method types (compiler error)
Matrix.h:1151: `ComplexMatrix::elem(int, int)' is already defined in the class ComplexMatrix
Matrix.h:1152: common_type called with uncommon method types (compiler error)
Matrix.h:1152: `ComplexMatrix::checkelem(int, int)' is already defined in the class ComplexMatrix
Matrix.h:1153: common_type called with uncommon method types (compiler error)
Matrix.h:1153: `ComplexMatrix::operator ()(int, int)' is already defined in the class ComplexMatrix
Matrix.h: In method `class Complex & ComplexMatrix::elem(int, int)':
Matrix.h:1399: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex & ComplexMatrix::checkelem(int, int)':
Matrix.h:1402: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex & ComplexMatrix::operator ()(int, int)':
Matrix.h:1412: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexMatrix::elem(int, int)':
Matrix.h:1415: redefinition of `class Complex ComplexMatrix::elem(int, int)'
Matrix.h:1399: `class Complex & ComplexMatrix::elem(int, int)' previously defined here
Matrix.h:1415: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexMatrix::checkelem(int, int)':
Matrix.h:1418: redefinition of `class Complex ComplexMatrix::checkelem(int, int)'
Matrix.h:1402: `class Complex & ComplexMatrix::checkelem(int, int)' previously defined here
Matrix.h:1418: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexMatrix::operator ()(int, int)':
Matrix.h:1428: redefinition of `class Complex ComplexMatrix::operator ()(int, int)'
Matrix.h:1412: `class Complex & ComplexMatrix::operator ()(int, int)' previously defined here
Matrix.h:1428: common_type called with uncommon method types (compiler error)
Matrix.h: At top level:
Matrix.h:1464: common_type called with uncommon method types (compiler error)
Matrix.h:1464: `ComplexColumnVector::elem(int)' is already defined in the class ComplexColumnVector
Matrix.h:1465: common_type called with uncommon method types (compiler error)
Matrix.h:1465: `ComplexColumnVector::checkelem(int)' is already defined in the class ComplexColumnVector
Matrix.h:1466: common_type called with uncommon method types (compiler error)
Matrix.h:1466: `ComplexColumnVector::operator ()(int)' is already defined in the class ComplexColumnVector
Matrix.h: In method `class Complex & ComplexColumnVector::elem(int)':
Matrix.h:1592: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex & ComplexColumnVector::checkelem(int)':
Matrix.h:1596: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex & ComplexColumnVector::operator ()(int)':
Matrix.h:1606: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexColumnVector::elem(int)':
Matrix.h:1608: redefinition of `class Complex ComplexColumnVector::elem(int)'
Matrix.h:1592: `class Complex & ComplexColumnVector::elem(int)' previously defined here
Matrix.h:1608: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexColumnVector::checkelem(int)':
Matrix.h:1612: redefinition of `class Complex ComplexColumnVector::checkelem(int)'
Matrix.h:1596: `class Complex & ComplexColumnVector::checkelem(int)' previously defined here
Matrix.h:1612: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexColumnVector::operator ()(int)':
Matrix.h:1622: redefinition of `class Complex ComplexColumnVector::operator ()(int)'
Matrix.h:1606: `class Complex & ComplexColumnVector::operator ()(int)' previously defined here
Matrix.h:1622: common_type called with uncommon method types (compiler error)
Matrix.h: At top level:
Matrix.h:1658: common_type called with uncommon method types (compiler error)
Matrix.h:1658: `ComplexRowVector::checkelem(int)' is already defined in the class ComplexRowVector
Matrix.h:1659: common_type called with uncommon method types (compiler error)
Matrix.h:1659: `ComplexRowVector::elem(int)' is already defined in the class ComplexRowVector
Matrix.h:1660: common_type called with uncommon method types (compiler error)
Matrix.h:1660: `ComplexRowVector::operator ()(int)' is already defined in the class ComplexRowVector
Matrix.h: In method `class Complex & ComplexRowVector::elem(int)':
Matrix.h:1787: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex & ComplexRowVector::checkelem(int)':
Matrix.h:1791: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex & ComplexRowVector::operator ()(int)':
Matrix.h:1800: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexRowVector::elem(int)':
Matrix.h:1802: redefinition of `class Complex ComplexRowVector::elem(int)'
Matrix.h:1787: `class Complex & ComplexRowVector::elem(int)' previously defined here
Matrix.h:1802: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexRowVector::checkelem(int)':
Matrix.h:1806: redefinition of `class Complex ComplexRowVector::checkelem(int)'
Matrix.h:1791: `class Complex & ComplexRowVector::checkelem(int)' previously defined here
Matrix.h:1806: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexRowVector::operator ()(int)':
Matrix.h:1816: redefinition of `class Complex ComplexRowVector::operator ()(int)'
Matrix.h:1800: `class Complex & ComplexRowVector::operator ()(int)' previously defined here
Matrix.h:1816: common_type called with uncommon method types (compiler error)
Matrix.h: At top level:
Matrix.h:1859: common_type called with uncommon method types (compiler error)
Matrix.h:1859: `ComplexDiagMatrix::checkelem(int, int)' is already defined in the class ComplexDiagMatrix
Matrix.h:1860: common_type called with uncommon method types (compiler error)
Matrix.h:1860: `ComplexDiagMatrix::elem(int, int)' is already defined in the class ComplexDiagMatrix
Matrix.h:1861: common_type called with uncommon method types (compiler error)
Matrix.h:1861: `ComplexDiagMatrix::operator ()(int, int)' is already defined in the class ComplexDiagMatrix
Matrix.h: In method `class Complex & ComplexDiagMatrix::elem(int, int)':
Matrix.h:2015: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex & ComplexDiagMatrix::checkelem(int, int)':
Matrix.h:2018: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex & ComplexDiagMatrix::operator ()(int, int)':
Matrix.h:2028: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexDiagMatrix::elem(int, int)':
Matrix.h:2031: redefinition of `class Complex ComplexDiagMatrix::elem(int, int)'
Matrix.h:2015: `class Complex & ComplexDiagMatrix::elem(int, int)' previously defined here
Matrix.h:2031: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexDiagMatrix::checkelem(int, int)':
Matrix.h:2034: redefinition of `class Complex ComplexDiagMatrix::checkelem(int, int)'
Matrix.h:2018: `class Complex & ComplexDiagMatrix::checkelem(int, int)' previously defined here
Matrix.h:2034: common_type called with uncommon method types (compiler error)
Matrix.h: In method `class Complex ComplexDiagMatrix::operator ()(int, int)':
Matrix.h:2044: redefinition of `class Complex ComplexDiagMatrix::operator ()(int, int)'
Matrix.h:2028: `class Complex & ComplexDiagMatrix::operator ()(int, int)' previously defined here
Matrix.h:2044: common_type called with uncommon method types (compiler error)
Matrix.h: At top level:
Matrix.h:2512: `SCHUR::operator =(SCHUR &, char *)' must take exactly one argument
Matrix.h:2538: `SCHUR::operator =(SCHUR &, char *)' must take exactly one argument
Matrix.h:2564: `ComplexSCHUR::operator =(ComplexSCHUR &, char *)' must take exactly one argument
Matrix.h:2593: `ComplexSCHUR::operator =(ComplexSCHUR &, char *)' must take exactly one argument
Bounds.cc: In method `class Bounds & Bounds::set_bound(int, double, double)':
Bounds.cc:124: invalid lvalue in assignment
Bounds.cc:125: invalid lvalue in assignment
Bounds.cc: In method `class Bounds & Bounds::set_lower_bound(int, double)':
Bounds.cc:155: invalid lvalue in assignment
Bounds.cc: In method `class Bounds & Bounds::set_upper_bound(int, double)':
Bounds.cc:163: invalid lvalue in assignment
make[1]: *** [Bounds.o] Error 1
From help-octave-request@che.utexas.edu Wed Jan 19 00:59:51 1994
Received: from localhost (daemon@localhost) by schoch.che.utexas.edu (8.6/8.6) id AAA14046 for help-octave-outgoing; Wed, 19 Jan 1994 00:59:32 -0600
Received: from localhost (jwe@localhost) by schoch.che.utexas.edu (8.6/8.6) with SMTP id AAA14008; Wed, 19 Jan 1994 00:53:10 -0600
Message-Id: <199401190653.AAA14008@schoch.che.utexas.edu>
To: help-octave
cc: jbraw, swinnea
Subject: Octave version 0.80 released
Date: Wed, 19 Jan 94 00:53:09 CST
From: John Eaton
Sender: help-octave-request@che.utexas.edu
Octave version 0.80 is now available for ftp from ftp.che.utexas.edu
in the directory /pub/octave. Gzipped tar files are available, as are
diffs relative to version 0.79.
Binaries for DECstation, SPARCstation, and IBM RS/6000 systems are
also available.
Binaries for other systems will be made available as time permits, or
as others make them available to us. If you would like help out by
making binaries available for other systems, please contact
bug-octave@che.utexas.edu.
For version 0.80, you must have the GNU C++ compiler (gcc) version
2.5.6 or later to compile Octave.
Summary of changes for version 0.80:
-----------------------------------
* I have started working on a manual for the C++ classes. At this
point, it is little more than a list of function names. If you
would like to volunteer to help work on this, please contact
bug-octave@che.utexas.edu.
* The patterns accepted by the save and clear commands now work like
file name globbing patterns instead of regular expressions. I
apologize for any inconvenience this change may cause, but file
name globbing seems like a more reasonable style of pattern
matching for this purpose.
* It is now possible to specify tolerances and other optional inputs
for dassl, fsolve, lsode, npsol, qpsol, and quad. For each of
these functions, there is a corresponding function X_options,
which takes a keyword and value arguments. If invoked without any
arguments, the X_options functions print a list of possible
keywords and current values. For example,
npsol_options ()
prints a list of possible options with values, and
npsol_options ("major print level", 10)
sets the major print level to 10.
The keyword match is not case sensitive, and the keywords may be
abbreviated to the shortest unique match. For example,
npsol_options ("ma p", 10)
is equivalent to the statement shown above.
* The new builtin variable save_precision can be used to set the
number of digits preserved by the ASCII save command.
* Assignment of [] now works in most cases to allow you to delete
rows or columns of matrices and vectors. For example, given a
4x5 matrix A, the assignment
A (3, :) = []
deletes the third row of A, and the assignment
A (:, 1:2:5) = []
deletes the first, third, and fifth columns.
* Variable argument lists. Octave now has a real mechanism for
handling functions that take an unspecified number of arguments,
so it is no longer necessary to place an upper bound on the number
of optional arguments that a function can accept.
Here is an example of a function that uses the new syntax to print
a header followed by an unspecified number of values:
function foo (heading, ...)
disp (heading);
va_start ();
while (--nargin)
disp (va_arg ());
endwhile
endfunction
Note that the argument list must contain at least one named
argument (this restriction may eventually be removed), and the
ellipsis must appear as the last element of the argument list.
Calling va_start() positions an internal pointer to the first
unnamed argument and allows you to cycle through the arguments
more than once. It is not necessary to call va_start() if you
do not plan to cycle through the arguments more than once.
* Recursive functions should work now.
* The environment variable OCTAVE_PATH is now handled in the same
way as TeX handles TEXINPUTS. If the path starts with `:', the
standard path is prepended to the value obtained from the
environment. If it ends with `:' the standard path is appended to
the value obtained from the environment.
* New functions, from Kurt Hornik (hornik@neuro.tuwien.ac.at) and
the Department of Probability Theory and Statistics TU Wien,
Austria:
corrcoef -- corrcoef (X, Y) is the correlation between the i-th
variable in X and the j-th variable in Y
corrcoef (X) is corrcoef (X, X)
cov -- cov (X, Y) is the covariance between the i-th
variable in X and the j-th variable in Y
cov (X) is cov (X, X)
gls -- generalized least squares estimation
kurtosis -- kurtosis(x) = N^(-1) std(x)^(-4) SUM_i (x(i)-mean(x))^4 - 3
If x is a matrix, return the row vector containing
the kurtosis of each column
mahalanobis -- returns Mahalanobis' D-square distance between the
multivariate samples X and Y, which must have the
same number of components (columns), but may have
a different number of observations (rows)
ols -- ordinary least squares estimation
pinv -- returns the pseudoinverse of X; singular values
less than tol are ignored
skewness -- skewness (x) = N^(-1) std(x)^(-3) SUM_i (x(i)-mean(x))^3
if x is a matrix, return the row vector containing
the skewness of each column
* Errors in user-supplied functions called from dassl, fsolve,
lsode, npsol, and quad are handled more gracefully.
* Programming errors in the use of the C++ classes within Octave
should no longer cause Octave to abort. Instead, Octave's error
handler function is called and execution continues as best as is
possible. This should result in eventually returning control to
the top-level Octave prompt. (It would be nice to have a real
exception handling mechanism...)
* A number of memory leaks have been eliminated. Thanks to
Fong Kin Fui for reporting them.
* The C++ matrix classes are now derived from a generic
template-based array class.
* The readline function operate-and-get-next (from bash) is now
available and bound to C-O by default.
* Octave now uses the version of readline currently distributed with
bash-1.13. On some systems, interactive invocations of Octave
will now blink the cursor to show matching parens.
* By default, include files are now installed in
$prefix/include/octave instead of $prefix/include.
* Octave now uses a config.h file instead of putting all defines on
the compiler command line.
--
John W. Eaton | Among other things, we have added the missing semicolon.
jwe@che.utexas.edu | -- Jim Blandy, announcing Emacs 19.15.
From help-octave-request@che.utexas.edu Fri Jan 21 11:52:18 1994
Received: from localhost (jwe@localhost) by ward.che.utexas.edu (8.6.5/8.6) id LAA09574 for help-octave-outgoing; Fri, 21 Jan 1994 11:52:18 -0600
Received: from ireq-robot.hydro.qc.ca (amadeus.ireq-robot.hydro.qc.ca [131.195.20.131]) by ward.che.utexas.edu (8.6.5/8.6) with SMTP id LAA09569 for ; Fri, 21 Jan 1994 11:52:15 -0600
Received: from catherine.ireq-robot (catherine.ireq-robot.hydro.qc.ca) by ireq-robot.hydro.qc.ca (4.1/IRBT-2.8)
id AA27164; Fri, 21 Jan 94 12:52:11 EST
Date: Fri, 21 Jan 94 12:52:11 EST
From: Martin Beaudoin
Message-Id: <9401211752.AA27164@ireq-robot.hydro.qc.ca>
To: help-octave@che.utexas.edu
Subject: Compiling octave-0.79 on Irix 4.0.5.H
Sender: help-octave-request@che.utexas.edu
I'm trying to compile octave-0.79 on Irix 4.0.5.H.
Here are my building tools:
g++ From gcc version 2.5.7
libg++ Version 2.5.3
gmake Version 3.70
flex Version 2.4.6
bison Version 1.22
f2c Recent enough...
I'm stuck here:
Any clue before I remove the dust from my C++ books? Thank you!
Martin Beaudoin
-------------------------------------------------------------------------
making all in liboctave
gmake[1]: Entering directory `/usr/people/linus/SRC/octave-0.79/liboctave'
g++ -c -I. -I. -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1
-DHAVE_ALLOCA_H=1 -DF77_APPEND_UNDERSCORE=1 -DHAVE_STRING_H=1
-DHAVE_VARARGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1
-DHAVE_UNISTD_H=1 -DDIRENT=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1
-DHAVE_BZERO=1 -DHAVE_RINDEX=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1
-DRETSIGTYPE=void -DHAVE_TERMIOS_H=1 -DHAVE_LIBM=1 -DHAVE_FINITE=1 -g
-O -Wall Bounds.cc
In file included from Bounds.h:32,
from Bounds.cc:29:
Matrix.h:2512: `SCHUR::operator =(const SCHUR &, const char *)' must
take exactly one argument
Matrix.h:2538: `SCHUR::operator =(const SCHUR &, const char *)' must
take exactly one argument
Matrix.h:2564: `ComplexSCHUR::operator =(const ComplexSCHUR &, const
char *)' must take exactly one argument
Matrix.h:2593: `ComplexSCHUR::operator =(const ComplexSCHUR &, const
char *)' must take exactly one argument
gmake[1]: *** [Bounds.o] Error 1
From help-octave-request@che.utexas.edu Fri Jan 28 16:46:59 1994
Received: from localhost (jwe@localhost) by schoch.che.utexas.edu (8.6.5/8.6) id QAA18895 for help-octave-outgoing; Fri, 28 Jan 1994 16:46:59 -0600
Received: from localhost (jwe@localhost) by schoch.che.utexas.edu (8.6.5/8.6) with SMTP id QAA18889; Fri, 28 Jan 1994 16:46:57 -0600
Message-Id: <199401282246.QAA18889@schoch.che.utexas.edu>
To: help-octave
cc: jbraw, swinnea
Subject: Octave version 0.81 released
Date: Fri, 28 Jan 94 16:46:56 CST
From: John Eaton
Sender: help-octave-request@che.utexas.edu
Octave version 0.81 is now available for ftp from ftp.che.utexas.edu
in the directory /pub/octave. Gzipped tar files are available, as are
diffs relative to version 0.80.
Binaries for DECstation and SPARCstation systems are also available.
Binaries for other systems will be made available as time permits, or
as others make them available to us. If you would like help out by
making binaries available for other systems, please contact
bug-octave@che.utexas.edu.
For version 0.81, you must have the GNU C++ compiler (gcc) version
2.5.6 or later to compile Octave.
There are no new features with this release, but the following serious
bugs have been fixed.
* Fixed bug in Array class that resulted in bogus off-diagonal
elements when computing eigenvalue and singular value
decompositions.
* Fixed bug that prevented lsode from working on the SPARCstation,
at least with some versions of Sun's f77. This bug was introduced
in 0.80, when I changed LSODE to allow the user to abort the
integration from within the RHS function.
* Fixed bug that prevented global attribute of variables from being
saved with save(), and another that prevented load() from working
at all.
* Octave no longer dumps core if you try to define a function in
your .octaverc file.
Version 0.81 should also come closer to building out of the box on
Solaris 2.x systems, but it may still be necessary to add -DUSG to
CFLAGS.
--
John W. Eaton | Among other things, we have added the missing semicolon.
jwe@che.utexas.edu | -- Jim Blandy, announcing Emacs 19.15.
From help-octave-request@che.utexas.edu Sun Jan 30 00:34:04 1994
Received: from localhost (jwe@localhost) by schoch.che.utexas.edu (8.6.5/8.6) id AAA27362 for help-octave-outgoing; Sun, 30 Jan 1994 00:34:04 -0600
Received: from localhost (jwe@localhost) by schoch.che.utexas.edu (8.6.5/8.6) with SMTP id AAA27356; Sun, 30 Jan 1994 00:34:02 -0600
Message-Id: <199401300634.AAA27356@schoch.che.utexas.edu>
To: help-octave
cc: jbraw, swinnea
Subject: Linux binary of Octave 0.81 now available
Date: Sun, 30 Jan 94 00:34:01 CST
From: John Eaton
Sender: help-octave-request@che.utexas.edu
A binary distribution of Octave 0.81 for Linux is now available for
ftp from ftp.che.utexas.edu in the directory /pub/octave/i486-linux.
This distribution was built with gcc 2.5.7 and has been statically
linked with IEEE floating point support.
Thanks to Phil Johnson for taking the
time to make the binaries.
Please report any problems to bug-octave@che.utexas.edu.
Thanks,
--
John W. Eaton | Among other things, we have added the missing semicolon.
jwe@che.utexas.edu | -- Jim Blandy, announcing Emacs 19.15.