installation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

installation

bosco.garcia
Hi,

   I'm trying to install octave-1.1.1 on a Ultra sparc
under Solaris 2.5.1. I've already installed the
GNU g77 package wich includes gcc.
After
    sh install --prifix=/usr/local
and
    make
every things runs smoothly unlti I get
In file included from dMatrix.h:32,
                 from mx-base.h:31,
                 from CColVector.cc:32:
mx-defs.h:59: conflicting types for `struct Complex'
/usr/local/lib/g++-include/Complex.h:8: previous declaration as `class complex<
mx-defs.h:59: conflicting types for `struct Complex'
/usr/local/lib/g++-include/Complex.h:82: previous declaration as `class complex
Array.h: In method `class Complex DiagArray<Complex>::get(int)':
In file included from mx-base.h:32,
                 from CColVector.cc:32:
Array.h:233: return-type `Complex' is an incomplete type
Array.h:233: cannot lookup method in incomplete type `Complex'
Array.h:233: in base initialization for class `Complex'
Array.h: In method `void DiagArray<Complex>::set(const class Complex &, int)':
Array.h:234: invalid use of undefined type `struct Complex'
Array.h:234: `Complex' does not define operator=
mx-inlines.cc: At top level:
In file included from CColVector.cc:33:
mx-inlines.cc:227: parameter `s' has incomplete type
mx-inlines.cc: In function `class Complex * add(const class Complex *, int, cla
mx-inlines.cc:227: confused by earlier errors, bailing out
make[2]: *** [CColVector.o] Error 1
make[2]: Leaving directory `/usr/local/temp/octave-1.1.1/liboctave'
make[1]: *** [liboctave] Error 2
make[1]: Leaving directory `/usr/local/temp/octave-1.1.1'
make: *** [all] Error 2



In config.log I got the following message
Undefined first referenced
 symbol      in file
sys_siglist                         /var/tmp/cca000GI1.o
ld: fatal: Symbol referencing errors. No output written to conftest


Can anyone help me?

Thanks

Bosco Garcia-Archilla,
Depto. Matematicas.
Universidad Autonoma de Madrid.
(Spain)