From bug-request at octave dot org Wed Sep 22 11:33:53 2004 Subject: Re: Compilation V2.1.59 failed on Cygwin From: Mats Jansson To: bug at octave dot org Date: 22 Sep 2004 16:05:35 +0000 "John W. Eaton" writes: > On 22-Sep-2004, Fabian at isas-berlin dot de wrote: > > | Tried to compile V2.1.59 on Cygwin system (version 2.340.2.5), > | but unfortunately, this failed. > | > | Dr. Rolf Fabian Institute for Analytical Sciences > | > > What versions of gcc and g++ are you using? > > jwe I have the same problem on Mandrake Linux release 9.1 (Bamboo) for i586 Kernel 2.4.21-0.13mdk on an i686. Mats Jansson [mj at chimay mj]$ gcc --version gcc (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [mj at chimay mj]$ g++ --version g++ (GCC) 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [mj at chimay octave-2.1.59]$ make ... snip ... g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 mx-nda-i8.cc -o mx-nda-i8.o mx-nda-i8.cc: In function `boolNDArray mx_el_lt(const NDArray&, const octave_int8&)': mx-nda-i8.cc:11: no match for `double < const octave_int&' operator mx-nda-i8.cc: In function `boolNDArray mx_el_le(const NDArray&, const octave_int8&)': mx-nda-i8.cc:11: no match for `double <= const octave_int&' operator mx-nda-i8.cc: In function `boolNDArray mx_el_ge(const NDArray&, const octave_int8&)': mx-nda-i8.cc:11: no match for `double >= const octave_int&' operator mx-nda-i8.cc: In function `boolNDArray mx_el_gt(const NDArray&, const octave_int8&)': mx-nda-i8.cc:11: no match for `double > const octave_int&' operator mx-nda-i8.cc: In function `boolNDArray mx_el_eq(const NDArray&, const octave_int8&)': mx-nda-i8.cc:11: no match for `double == const octave_int&' operator dim-vector.h:435: candidates are: bool operator==(const dim_vector&, const dim_vector&) mx-nda-i8.cc: In function `boolNDArray mx_el_ne(const NDArray&, const octave_int8&)': mx-nda-i8.cc:11: no match for `double != const octave_int&' operator dim-vector.h:460: candidates are: bool operator!=(const dim_vector&, const dim_vector&) make[2]: *** [mx-nda-i8.o] Error 1 make[2]: Leaving directory `/usr/local/src/octave/octave-2.1.59/liboctave' make[1]: *** [liboctave] Error 2 make[1]: Leaving directory `/usr/local/src/octave/octave-2.1.59' make: *** [all] Error 2 [mj at chimay octave-2.1.59]$ ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------