Problems compiling octave on linux-1.3.78/gcc-2.7.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems compiling octave on linux-1.3.78/gcc-2.7.0

Dr. W. Meier
Hello,

compiling octave-1.1.1 on the above system I got the following errors:

...
making all in liboctave
cd liboctave ; make all
make[2]: Entering directory `/home/local/octave-1.1.1/liboctave'
c++ -c  -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H  -fno-implicit-templates -mieee-fp -g -O DAE.cc
DAE.cc: In function `int ddassl_f(double *, double *, double *, double *, int *, double *, int *)':
DAE.cc:212: `i' undeclared (first use this function)
DAE.cc:212: (Each undeclared identifier is reported only once
DAE.cc:212: for each function it appears in.)
DAE.cc: In method `class Matrix DAE::integrate(const class ColumnVector &, class Matrix &)':
DAE.cc:376: `i' undeclared (first use this function)
DAE.cc: In method `class Matrix DAE::integrate(const class ColumnVector &, class Matrix &, const class ColumnVector &)':
DAE.cc:465: `i' undeclared (first use this function)
make[2]: *** [DAE.o] Error 1
make[2]: Leaving directory `/home/local/octave-1.1.1/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/home/local/octave-1.1.1'
make: *** [all] Error 2

Compilation exited abnormally with code 2 at Fri Nov  8 21:49:44


Integrating the declaration of i is obviously necessary. But this
seems to be a general problem.
Is there a newer version of octave I don't know about ?

Wilhelm
--
Dr.-Ing. Wilhelm Meier                      e-mail: [hidden email]
Deutsche Bahn AG                               Tel: 069/9733-7356
Zentralbereich Informationssysteme, ZIS 322    Fax: 069/9733-7537
Stephensonstrasse 1, 60326 Frankfurt / Main

Reply | Threaded
Open this post in threaded view
|

Problems compiling octave on linux-1.3.78/gcc-2.7.0

John W. Eaton-6
On 11-Nov-1996, W. Meier <[hidden email]> wrote:

: compiling octave-1.1.1 on the above system I got the following errors:

To compile Octave 1.1.1 with gcc 2.7.x, one or both of the following
patches will probably help:

  ftp://ftp.che.wisc.edu/pub/octave/README-GCC-2.7.0
  ftp://ftp.che.wisc.edu/pub/octave/README-GCC-2.7.1

: Is there a newer version of octave I don't know about ?

There are also test releases of version 2.0 available from the same
site, in the directory /pub/octave/pre-2.0.  To build the test
releases, you will probably need gcc 2.7.2 and libg++ 2.7.1 or 2.7.2.

jwe