From help-request at octave dot org Fri Jan 6 06:05:56 2006 Subject: Re: installing octave/cvs under slack-10.1 From: Andy Adler To: David Bateman cc: Jorge Barros de Abreu , help@octave.org Date: Fri, 6 Jan 2006 07:03:53 -0500 (EST) On Fri, 6 Jan 2006, David Bateman wrote: > Jorge Barros de Abreu wrote: > > > Hi > > I am trying to install octave/cvs under slack-10.1 and was > > occuring the following error > > > > oct-map.cc: In member function `Octave_map Octave_map::transpose() > > const': > > oct-map.cc:95: error: parse error before `,' token > > oct-map.cc:98: error: request for member `assign' in `retval', which > > is of > > non-aggregate type `Octave_map ()(...)' > > oct-map.cc:100: error: conversion from `Octave_map (*)(...)' to > > non-scalar > > type > > `Octave_map' requested > > make[2]: ** [pic/oct-map.o] Erro 1 > > make[2]: Leaving directory `~/tmpdir/octave/src' > > make[1]: ** [src] Erro 2 > > make[1]: Leaving directory `~/tmp/octave' > > make: ** [all] Erro 2 > > > > The oct-map.cc file from cvs is also different to original file in the > > 2.9.4.tar.gz package. > > > > What to made for correct it? > > > > Thanks for your help. > > > I don't see this problem, though I introduced the change that is > responsible for the error. Is this a clean check out? Have you made any > local changes? I see this error when I try to compile with gcc-3.3.5. BTW, I'm seeing different errors when I try to compile gcc-3.4. g++-3.4 -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H oct-fstrm.cc -o pic/oct-fstrm.o oct-fstrm.cc: In constructor `octave_fstream::octave_fstream(const std::string&, std::_Ios_Openmode, oct_mach_info::float_format)': oct-fstrm.cc:55: error: no matching function for call to `std::basic_fstream >::open(const char*, std::_Ios_Openmode&, int)' /usr/include/c++/3.4/fstream:819: note: candidates are: void std::basic_fstream<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits] -- Andy Adler 1(613)562-5800x6218 ------------------------------------------------------------- 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 -------------------------------------------------------------