help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IBM AIX4 Compile Problems


From: John Sherk
Subject: IBM AIX4 Compile Problems
Date: Thu, 20 Jun 1996 12:15:46 -0400 (EDT)

I have been working at compiling octave-1.1.1 on our systems running AIX 
4.1.4 and have encountered the following problem:

...compile runs fine until

ranlib libcruft.a
make[2]: Leaving directory `/usr/local/src/octave-1.1.1/libcruft'
echo making all in liboctave
making all in liboctave
cd liboctave ; /uwo/ccs/bin/make  all
make[2]: Entering directory `/usr/local/src/octave-1.1.1/liboctave'
c++ -c  -I. -I../src -I.. -I../liboctave -I../src -DHAVE_CONFIG_H  
-fno-implicic
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=
Array.h:234: confused by earlier errors, bailing out
make[2]: *** [CColVector.o] Error 1
make[2]: Leaving directory `/usr/local/src/octave-1.1.1/liboctave'
make[1]: *** [liboctave] Error 1
make[1]: Leaving directory `/usr/local/src/octave-1.1.1'
make: *** [all] Error 1

I am using:

        GNU Make version 3.70
        gcc(g++) version 2.7.0
        libg++-2.7.1
        Fortran/6000 3.2

Any ideas how to fix this?

...john

---------------------------------------------------------------------------
   John H. Sherk   |                                      | 
    UNIX System    | The University of Western Ontario    |     AIX
   Administrator   | Faculty of Engineering Science       | SunOS/Solaris
                   | London, Ontario N6A 5B7              |     IRIX
(519)679-2111 x8306|--------------------------------------|     Linux
(519)661-3808 FAX  |    address@hidden    |  
---------------------------------------------------------------------------


reply via email to

[Prev in Thread] Current Thread [Next in Thread]