help-octave
[Top][All Lists]
Advanced

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

[no subject]


From: R. Belch
Date: Wed, 30 Nov 1994 18:29:21 +0100

I have trouble installing Octave:

After
./configure --prefix=/usr/people/belch/GNU

my g++ compiler cannot produce the following objects when called from

make -k

                                Rudi

------------------------------------------------------------------
P.S.: I used

g++ -v
 gcc -v
Reading specs from
/usr/people/belch/GNU/lib/gcc-lib/mips-sgi-irix5.2/2.6.2/specs
gcc version 2.6.2
------------------------------------------------------------------


####################################################### ERROR MESSAGES ###

make[1]: *** [ColVector.o] Error 1
make[1]: *** [DiagMatrix.o] Error 1
make[1]: *** [Matrix-ext.o] Error 1
make[1]: *** [Matrix.o] Error 1
make[1]: *** [RowVector.o] Error 1
make[1]: Target `all' not remade because of errors.
make[1]: *** [f-hess.o] Error 1
make[1]: *** [f-schur.o] Error 1
make[1]: *** [builtins.o] Error 1
make[1]: *** [idx-vector.o] Error 1
make[1]: *** [input.o] Error 1
make[1]: *** [procstream.o] Error 1
make[1]: *** [symtab.o] Error 1
make[1]: *** [tc-extras.o] Error 1
make[1]: *** [token.o] Error 1
make[1]: *** [tree.o] Error 1
make[1]: *** [tree-const.o] Error 1
make[1]: *** [utils.o] Error 1
make[1]: *** [variables.o] Error 1
make[1]: Target `all' not remade because of errors.
make[1]: Target `all' not remade because of errors.

######################################################### More Details ...

The call of g++ is always like:

g++ -c  -I. -I.. -I../liboctave -I. -I./liboctave  -DHAVE_CONFIG_H
-fexternal-templates  -g -O -Wall ColVector.cc

The error messages in between are very lengthy, here is only one example:

g++ -c  -I. -I.. -I../liboctave -I. -I./liboctave  -DHAVE_CONFIG_H
-fexternal-templates  -g -O -Wall ColVector.cc
cc1plus: warning: `-g' option not supported on this version of GCC
/usr/people/belch/GNU/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/people/belch/GNU/lib/g++-include/Complex.h:171: warning: `operator
==(const Complex &, const Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:92: warning: previous
declaration of `operator ==(const Complex &, const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `int operator
==(const class Complex &, double)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:176: warning: `operator
==(const Complex &, double)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:93: warning: previous
declaration of `operator ==(const Complex &, double)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `int operator
!=(const class Complex &, const class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:181: warning: `operator
!=(const Complex &, const Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:94: warning: previous
declaration of `operator !=(const Complex &, const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `int operator
!=(const class Complex &, double)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:186: warning: `operator
!=(const Complex &, double)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:95: warning: previous
declaration of `operator !=(const Complex &, double)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
operator -(const class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:191: warning: `operator -(const
Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:97: warning: previous
declaration of `operator -(const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
conj(const class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:196: warning: `conj(const
Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:98: warning: previous
declaration of `conj(const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
operator +(const class Complex &, const class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:201: warning: `operator +(const
Complex &, const Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:99: warning: previous
declaration of `operator +(const Complex &, const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
operator +(const class Complex &, double)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:206: warning: `operator +(const
Complex &, double)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:100: warning: previous
declaration of `operator +(const Complex &, double)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
operator +(double, const class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:211: warning: `operator
+(double, const Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:101: warning: previous
declaration of `operator +(double, const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
operator -(const class Complex &, const class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:216: warning: `operator -(const
Complex &, const Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:102: warning: previous
declaration of `operator -(const Complex &, const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
operator -(const class Complex &, double)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:221: warning: `operator -(const
Complex &, double)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:103: warning: previous
declaration of `operator -(const Complex &, double)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
operator -(double, const class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:226: warning: `operator
-(double, const Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:104: warning: previous
declaration of `operator -(double, const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
operator (unary *)(const class Complex &, const class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:231: warning: `operator (unary
*)(const Complex &, const Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:105: warning: previous
declaration of `operator (unary *)(const Complex &, const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
operator (unary *)(const class Complex &, double)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:237: warning: `operator (unary
*)(const Complex &, double)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:106: warning: previous
declaration of `operator (unary *)(const Complex &, double)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
operator (unary *)(double, const class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:242: warning: `operator (unary
*)(double, const Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:107: warning: previous
declaration of `operator (unary *)(double, const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `double real(const
class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:247: warning: `real(const
Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:109: warning: previous
declaration of `real(const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `double imag(const
class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:252: warning: `imag(const
Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:110: warning: previous
declaration of `imag(const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `double abs(const
class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:257: warning: `abs(const
Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:111: warning: previous
declaration of `abs(const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `double norm(const
class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:262: warning: `norm(const
Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:112: warning: previous
declaration of `norm(const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `double arg(const
class Complex &)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:267: warning: `arg(const
Complex &)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:113: warning: previous
declaration of `arg(const Complex &)'
/usr/people/belch/GNU/lib/g++-include/Complex.h: In function `class Complex
polar(double, double)':
/usr/people/belch/GNU/lib/g++-include/Complex.h:272: warning: `polar(double,
double)' was declared `extern' and later `static'
/usr/people/belch/GNU/lib/g++-include/Complex.h:115: warning: previous
declaration of `polar(double, double)'
Array.h: In method `DiagArray<double>::Proxy::Proxy(DiagArray<double> *, int,
int)':
In file included from ColVector.cc:30:
Array.h:278: warning: member initializers for `int DiagArray<double>::Proxy::j'
Array.h:280: warning:   and `class DiagArray<double> *
DiagArray<double>::Proxy::object'
Array.h:242: warning:   will be re-ordered to match declaration order
Array.h: In method `DiagArray<Complex>::Proxy::Proxy(DiagArray<Complex> *, int,
int)':
In file included from ColVector.cc:30:
Array.h:278: warning: member initializers for `int
DiagArray<Complex>::Proxy::j'
Array.h:280: warning:   and `class DiagArray<Complex> *
DiagArray<Complex>::Proxy::object'
Array.h:242: warning:   will be re-ordered to match declaration order
ColVector.cc: In method `class ColumnVector & ColumnVector::operator +=(const
class ColumnVector &)':
ColVector.cc:215: warning: returning reference to temporary
ColVector.cc: In method `class ColumnVector & ColumnVector::operator -=(const
class ColumnVector &)':
ColVector.cc:235: warning: returning reference to temporary
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 &)'
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:260: within this context
ColVector.cc:261: warning: control reaches end of non-void function `operator
-(const ColumnVector &, const Complex &)'
Matrix.h: In function `class ComplexColumnVector operator (unary *)(const class
ColumnVector &, const class Complex &)':
Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class
Complex *, int)' is private
ColVector.cc:267: within this context
ColVector.cc:268: warning: control reaches end of non-void function `operator
(unary *)(const ColumnVector &, const Complex &)'
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:274: within this context
ColVector.cc:275: warning: control reaches end of non-void function `operator
/(const ColumnVector &, const Complex &)'
Matrix.h: In function `class ComplexColumnVector operator +(const class Complex
&, const class ColumnVector &)':
Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class
Complex *, int)' is private
ColVector.cc:283: within this context
ColVector.cc:284: warning: control reaches end of non-void function `operator
+(const Complex &, const ColumnVector &)'
Matrix.h: In function `class ComplexColumnVector operator -(const class Complex
&, const class ColumnVector &)':
Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class
Complex *, int)' is private
ColVector.cc:290: within this context
ColVector.cc:291: warning: control reaches end of non-void function `operator
-(const Complex &, const ColumnVector &)'
Matrix.h: In function `class ComplexColumnVector operator (unary *)(const class
Complex &, const class ColumnVector &)':
Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class
Complex *, int)' is private
ColVector.cc:297: within this context
ColVector.cc:298: warning: control reaches end of non-void function `operator
(unary *)(const Complex &, const ColumnVector &)'
Matrix.h: In function `class ComplexColumnVector operator /(const class Complex
&, const class ColumnVector &)':
Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class
Complex *, int)' is private
ColVector.cc:304: within this context
ColVector.cc:305: warning: control reaches end of non-void function `operator
/(const Complex &, const ColumnVector &)'
Matrix.h: In function `class Matrix operator (unary *)(const class ColumnVector
&, const class RowVector &)':
Matrix.h:294: constructor `Matrix::Matrix(double *, int, int)' is private
ColVector.cc:336: within this context
ColVector.cc:337: warning: control reaches end of non-void function `operator
(unary *)(const ColumnVector &, const RowVector &)'
Matrix.h: In function `class ComplexColumnVector operator +(const class
ColumnVector &, const class ComplexColumnVector &)':
Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class
Complex *, int)' is private
ColVector.cc:360: within this context
ColVector.cc:361: warning: control reaches end of non-void function `operator
+(const ColumnVector &, const ComplexColumnVector &)'
Matrix.h: In function `class ComplexColumnVector operator -(const class
ColumnVector &, const class ComplexColumnVector &)':
Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class
Complex *, int)' is private
ColVector.cc:377: within this context
ColVector.cc:378: warning: control reaches end of non-void function `operator
-(const ColumnVector &, const ComplexColumnVector &)'
Matrix.h: In function `class ComplexColumnVector product(const class
ColumnVector &, const class ComplexColumnVector &)':
Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class
Complex *, int)' is private
ColVector.cc:394: within this context
ColVector.cc:395: warning: control reaches end of non-void function
`product(const ColumnVector &, const ComplexColumnVector &)'
Matrix.h: In function `class ComplexColumnVector quotient(const class
ColumnVector &, const class ComplexColumnVector &)':
Matrix.h:1032: constructor `ComplexColumnVector::ComplexColumnVector(class
Complex *, int)' is private
ColVector.cc:411: within this context
ColVector.cc:412: warning: control reaches end of non-void function
`quotient(const ColumnVector &, const ComplexColumnVector &)'
Matrix.h: In function `class ColumnVector real(const class ComplexColumnVector
&)':
Matrix.h:410: constructor `ColumnVector::ColumnVector(double *, int)' is
private
ColVector.cc:681: within this context
Matrix.h: In function `class ColumnVector imag(const class ComplexColumnVector
&)':
Matrix.h:410: constructor `ColumnVector::ColumnVector(double *, int)' is
private
ColVector.cc:691: within this context
Matrix.h: In function `class ComplexMatrix operator (unary *)(const class
ComplexColumnVector &, const class ComplexRowVector &)':
Matrix.h:904: constructor `ComplexMatrix::ComplexMatrix(class Complex *, int,
int)' is private
ColVector.cc:894: within this context
ColVector.cc:895: warning: control reaches end of non-void function `operator
(unary *)(const ComplexColumnVector &, const ComplexRowVector &)'
make[1]: *** [ColVector.o] Error 1




reply via email to

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