octave-maintainers
[Top][All Lists]
Advanced

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

Re: Error building CVS with Sun C++ compiler


From: Albert Chin
Subject: Re: Error building CVS with Sun C++ compiler
Date: Mon, 10 Nov 2003 17:57:05 -0600
User-agent: Mutt/1.4i

On Mon, Nov 10, 2003 at 11:26:51AM -0600, John W. Eaton wrote:
> On  7-Nov-2003, Albert Chin <address@hidden> wrote:
> 
> | Octave 2.1.50 built fine with the Sun C++ compiler (from Forte 6 or
> | Forte 7). I just synced with CVS and now I get:
> | 
> | CC -c -I/opt/TWWfsw/readline42a/include -L/opt/TWWfsw/ncurses5/include
> | -I/opt/TWWfsw/libfftw21/include -I. -I.. -I../liboctave -I../src
> | -I../libcruft/misc  -I../glob -I../glob -DHAVE_CONFIG_H  -dalign -xO2
> | -xtarget=generic -xarch=v8 ODESSA.cc -o ODESSA.o
> | ...
> | "Array.cc", line 1991: Error: The name get_elt_idx(const
> | Array<idx_vector>&, const Array<int>&) is unusable in
> | Array<Matrix>::index(Array<idx_vector>&, int, const Matrix&) const.
> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> | ...
> 
> I've checked in changes that I think should fix these problems.

Ok, updated and now I get stuck here:

CC -c -I/opt/TWWfsw/readline42a/include -L/opt/TWWfsw/ncurses5/include
-I/opt/TWWfsw/libfftw21/include -I. -I.. -I../liboctave -I../src
-I../libcruft/misc  -I../glob -I../glob -DHAVE_CONFIG_H  -dalign -xO2
-xtarget=generic -xarch=v8 Cell.cc -o Cell.o
"../liboctave/ArrayN.h", line 49: Error: The base class
Array<octave_value> is included more than once.
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 52: Error: Multiple declaration for
ArrayN<octave_value>::ArrayN(octave_value*, const dim_vector&).
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 60: Error: Multiple declaration for
ArrayN<octave_value>::ArrayN().
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 62: Error: Multiple declaration for
ArrayN<octave_value>::ArrayN(const dim_vector&).
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 65: Error: Multiple declaration for
ArrayN<octave_value>::ArrayN(const dim_vector&, const octave_value&).
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 67: Error: Multiple declaration for
ArrayN<octave_value>::ArrayN(const Array2<octave_value>&).
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 69: Error: Multiple declaration for
ArrayN<octave_value>::ArrayN(const ArrayN<octave_value>&).
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 71: Error: Multiple declaration for
ArrayN<octave_value>::ArrayN(const Array<octave_value>&).
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 73: Error: Multiple declaration for
ArrayN<octave_value>::ArrayN(const Array<octave_value>&, const
dim_vector&).
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 75: Error: Multiple declaration for
ArrayN<octave_value>::~ArrayN().
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 78: Error: Multiple declaration for
ArrayN<octave_value>::operator=(const ArrayN<octave_value>&).
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 86: Error: Multiple declaration for
ArrayN<octave_value>::resize(const dim_vector&).
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 89: Error: Multiple declaration for
ArrayN<octave_value>::resize(const dim_vector&, const octave_value&).
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 91: Error: Multiple declaration for
ArrayN<octave_value>::squeeze() const.
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 94: Error: Multiple declaration for
ArrayN<octave_value>::insert(const ArrayN<octave_value>&, const
dim_vector&).
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 101: Error: Multiple declaration for
ArrayN<octave_value>::index(idx_vector&, int, const octave_value&)
const.
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 101: Error: A previously specified
default argument value cannot be changed.
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 101: Error: A previously specified
default argument value cannot be changed.
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 108: Error: Multiple declaration for
ArrayN<octave_value>::index(idx_vector&, idx_vector&, int, const
octave_value&) const.
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 108: Error: A previously specified
default argument value cannot be changed.
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 108: Error: A previously specified
default argument value cannot be changed.
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 115: Error: Multiple declaration for
ArrayN<octave_value>::index(Array<idx_vector>&, int, const
octave_value&) const.
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 115: Error: A previously specified
default argument value cannot be changed.
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
"../liboctave/ArrayN.h", line 115: Error: A previously specified
default argument value cannot be changed.
"ov.h", line 665:     Where: While specializing
"ArrayN<octave_value>".
"ov.h", line 665:     Where: Specialized in non-template code.
24 Error(s) detected.
gmake[2]: *** [Cell.o] Error 24
gmake[2]: Leaving directory `/opt/build/octave-2.1.50/src'

-- 
albert chin (address@hidden)



reply via email to

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