help-octave
[Top][All Lists]
Advanced

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

libg++ problems building liboctave.a


From: Mark Lamourine
Subject: libg++ problems building liboctave.a
Date: Fri, 09 Sep 1994 11:53:56 -0400

I am trying to build octave 1.0 on a sparc-sun-sunos4.1.3 system.
I am using gcc-2.6.0 and libg++2.6.

the libloctave modules ColVector, DiagMatrix, Matrix-ext, Matrix and
RowVector fail to compile.

When trying to build liboctave/ColVector and others I get a number of warnings
like this one:

gnumake[1]: Entering directory `/m2/mlamouri/src/octave-1.0/liboctave'
g++ -c  -I. -I.. -I../liboctave -I. -I./liboctave  -DHAVE_CONFIG_H 
-fexternal-templates  -g -O -Wall ColVector.cc
/usr/local/lib/g++-include/Complex.h: In function `int operator ==(const class 
Complex &, const class Complex &)':
In file included from Matrix.h:40,
                 from ColVector.cc:30:
/usr/local/lib/g++-include/Complex.h:171: warning: `operator ==(const Complex 
&, const Complex &)' was declared `extern' and later `static'
/usr/local/lib/g++-include/Complex.h:92: warning: previous declaration of 
`operator ==(const Complex &, const Complex &)'
/usr/local/lib/g++-include/Complex.h: In function `int operator ==(const class 
Complex &, double)':

and I also get the following errors...

Matrix.h: In function `class ComplexColumnVector operator +(const class 
ColumnVector &, const class Complex &)':
Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class 
Complex *, int)' is private
ColVector.cc:253: within this context
ColVector.cc:254: warning: control reaches end of non-void function `operator 
+(const ColumnVector &, const Complex &)'

I have not yet dived into the sources to figure out how to fix this.
Has someone done it already?

- mark
-------------------------------------------------------------------
Mark Lamourine, Systems Administrator, Dept. 82
BBN Inc, 70 Fawcett St, Cambridge, MA 02138 MS 14/d
Internet: address@hidden   Voice: (617) 873-4306   Fax: (617) 873-2616


reply via email to

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