help-octave
[Top][All Lists]
Advanced

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

g++ (compiler error) 's


From: Mike Rilee
Subject: g++ (compiler error) 's
Date: Thu, 17 Mar 1994 11:22:06 -0500



I am trying to compile octave on an ibm rs6k using gcc 2.5.8, gmake,
aix 3.2. -g flags have been deleted. liboctave fails to compile. I receive
the following errors when typing gmake in octave-1.0 directory:

gmake[1]: Entering directory `/afs/theory.cornell.edu/common/tmp/rilee/octave-1.
0/liboctave'
g++ -c  -I. -I.. -I../liboctave -I. -I./liboctave  -DHAVE_CONFIG_H -fexternal-te
mplates  -O -Wall Array.cc
Array.cc:42: warning: templates that are built with -fexternal-templates should
be in files that have #pragma interface/implementation
Array.h:70: common_type called with uncommon method types (compiler error)
Array.h:70: `ArrayRep<double>::elem(int)' is already defined in the class ArrayR
ep<double>
Array.h:79: inconsistent return types for method `elem' in class `ArrayRep<doubl
e>'
Array.h:117: common_type called with uncommon method types (compiler error)
Array.h:117: `Array<double>::elem(int)' is already defined in the class Array<do
uble>
Array.h:118: common_type called with uncommon method types (compiler error)
Array.h:118: `Array<double>::checkelem(int)' is already defined in the class Arr
ay<double>
Array.h:119: common_type called with uncommon method types (compiler error)
Array.h:119: `Array<double>::operator ()(int)' is already defined in the class A
rray<double>
Array.h:349: common_type called with uncommon method types (compiler error)
Array.h:349: `DiagArray<double>::elem(int, int)' is already defined in the class
 DiagArray<double>
Array.h:350: common_type called with uncommon method types (compiler error)
Array.h:350: `DiagArray<double>::checkelem(int, int)' is already defined in the
class DiagArray<double>
Array.h:351: common_type called with uncommon method types (compiler error)
Array.h:351: `DiagArray<double>::operator ()(int, int)' is already defined in th
e class DiagArray<double>
Array.h:167: common_type called with uncommon method types (compiler error)
Array.h:167: `Array2<double>::elem(int, int)' is already defined in the class Ar
ray2<double>
Array.h:168: common_type called with uncommon method types (compiler error)
Array.h:168: `Array2<double>::checkelem(int, int)' is already defined in the cla
ss Array2<double>
Array.h:169: common_type called with uncommon method types (compiler error)
Array.h:169: `Array2<double>::operator ()(int, int)' is already defined in the c
lass Array2<double>
Array.h: In method `void DiagArray<double>::set(double &, int)':
Array.h:234: invalid lvalue in assignment
/usr/local/lib/g++-include/streambuf.h: At top level:
In file included from /usr/local/lib/g++-include/iostream.h:31,
                 from /usr/local/lib/g++-include/Complex.h:26,
                 from Array.cc:996:
/usr/local/lib/g++-include/streambuf.h:199: `ios::_IO_fix_vtable()' is already d
efined in the class ios
/usr/local/lib/g++-include/streambuf.h:229: common_type called with uncommon met
hod types (compiler error)
/usr/local/lib/g++-include/streambuf.h:229: `ios::pword(int)' is already defined
 in the class ios
/usr/local/lib/g++-include/streambuf.h:231: common_type called with uncommon met
hod types (compiler error)
/usr/local/lib/g++-include/streambuf.h:231: `ios::iword(int)' is already defined
 in the class ios
^Cgmake[1]: *** [Array.o] Interrupt
gmake[1]: Leaving directory `/afs/theory.cornell.edu/common/tmp/rilee/octave-1.0
/liboctave'
gmake: *** [all] Error 1
%

Where I have ^C interrupted the process. Any advice?

Thanks,
Mike Rilee

Laboratory for Plasma Studies
369 Upson Hall
Cornell University
Ithaca, New York 14853-7501
Phone: 607 255 4723
Fax: 607 255 3004



reply via email to

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