From owner-help-octave at bevo dot che dot wisc dot edu Tue Nov 28 09:11:25 1995 Subject: problem with compiling octave-1.1.1 under solaris-2.4 From: mixxel at majestetix dot medmicro dot aau dot dk (Mikkel Christiansen) To: help-octave at che dot utexas dot edu Date: Tue, 28 Nov 1995 17:13:19 GMT Hi, I have trouble with compiling octave using gcc-2.7.1 and libg++-2.7.1., gnu-make-3.74 on a sun running sun-solaris-2.4 The following dump is part of what came out while running "make" after doing a : > ./configure --prefix=/pack/octave-1.1.1 and changing the includepath and optimization flags in the octave-1.1.1/makeconf. make[3]: Entering directory `/home/mixxel/down/octave-1.1.1/libcruft/villad' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mixxel/down/octave-1.1.1/libcruft/villad' make[2]: Leaving directory `/home/mixxel/down/octave-1.1.1/libcruft' echo making all in liboctave making all in liboctave cd liboctave ; make all make[2]: Entering directory `/home/mixxel/down/octave-1.1.1/liboctave' c++ -c -I. -I../src -I.. -I../liboctave -I../src -I/pack/libg++-2.7.1/lib/g++-include -DHAVE_CONFIG_H -fno-implicit-templates -O2 CColVector.cc 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' /pack/libg++-2.7.1/lib/g++-include/Complex.h:8: previous declaration as `class complex' mx-defs.h:59: conflicting types for `struct Complex' /pack/libg++-2.7.1/lib/g++-include/Complex.h:82: previous declaration as `class complex' Array.h: In method `class Complex DiagArray::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::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, class Complex)': mx-inlines.cc:227: confused by earlier errors, bailing out make[2]: *** [CColVector.o] Error 1 make[2]: Leaving directory `/home/mixxel/down/octave-1.1.1/liboctave' make[1]: *** [liboctave] Error 2 make[1]: Leaving directory `/home/mixxel/down/octave-1.1.1' make: *** [all] Error 2 majestetix:~/down/octave-1.1.1;-> Thanks Mikkel Christiansen