Unidentified subject!

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

Unidentified subject!

buchanan-3
I'm trying to compile/install Octave 2.0.9 on the following Linux
system:

  * Linux kernel 1.2.13
  * gcc/g++ 2.6.3
  * g77 0.5.5
  * libg++/libstdc++ 2.6.2.4
  * libm 5.0.0
  * libc 5.0.9
  * libncurses 1.9.2
  * ld.so 1.8.5
  * binutils 2.5.2

(I know these aren't the latest version of the software components.)
I'm getting the following error message during compilation. Is there a
workaround or should I just get the pre-built statically linked
binary?

Thanks,
Bob Buchanan ([hidden email])
Phone: 717-872-3659, FAX: 717-871-2320, http://www.millersv.edu/~jbuchana
Mathematics Dept. Millersville University
P.O. Box 1002, Millersville, PA 17551-0302

#---------------------------------------------------------------------
In file included from /usr/include/bytesex.h:12,
                 from /usr/include/endian.h:34,
                 from /usr/include/huge_val.h:27,
                 from /usr/include/math.h:293,
                 from /usr/lib/g++-include/cmath:6,
                 from /usr/lib/g++-include/complext.hI:31,
                 from /usr/lib/g++-include/complex:7,
                 from oct-cmplx.h:26,
                 from mx-defs.h:72,
                 from dColVector.h:32,
                 from Bounds.h:32,
                 from Bounds.cc:33:
/usr/include/asm/byteorder.h:29: warning: `__ntohl(long unsigned int)' was declared `extern' and later `static'
/usr/include/asm/byteorder.h:22: warning: previous declaration of `__ntohl(long unsigned int)'
/usr/include/asm/byteorder.h: In function `short unsigned int __ntohs(short unsigned int)':
/usr/include/asm/byteorder.h:46: warning: `__ntohs(short unsigned int)' was declared `extern' and later `static'
/usr/include/asm/byteorder.h:23: warning: previous declaration of `__ntohs(short unsigned int)'
oct-cmplx.h: At top level:
In file included from mx-defs.h:72,
                 from dColVector.h:32,
                 from Bounds.h:32,
                 from Bounds.cc:33:
oct-cmplx.h:28: non-template type `complex' used as a template
oct-cmplx.h:28: warning: ANSI C++ forbids typedef which does not specify a type
oct-cmplx.h:28: conflicting types for `typedef int Complex'
/usr/lib/g++-include/complex:18: previous declaration as `class __complex<double>'
make[2]: *** [Bounds.o] Error 1
make[2]: Leaving directory `/home/buchanan/src/octave-2.0.9/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/home/buchanan/src/octave-2.0.9'
make: *** [all] Error 2


Reply | Threaded
Open this post in threaded view
|

Unidentified subject!

John W. Eaton-6
On 23-Sep-1997, buchanan <[hidden email]> wrote:

| I'm trying to compile/install Octave 2.0.9 on the following Linux
| system:
|
|   * Linux kernel 1.2.13
|   * gcc/g++ 2.6.3
|   * g77 0.5.5
|   * libg++/libstdc++ 2.6.2.4
|   * libm 5.0.0
|   * libc 5.0.9
|   * libncurses 1.9.2
|   * ld.so 1.8.5
|   * binutils 2.5.2
|
| (I know these aren't the latest version of the software components.)
| I'm getting the following error message during compilation. Is there a
| workaround or should I just get the pre-built statically linked
| binary?

It's not possible to build the current version of Octave with gcc
2.6.3.  You either need to upgrade your compiler and libraries or just
use the binary distribution.

jwe