From help-octave-request at bevo dot che dot wisc dot edu Tue Dec 21 17:17:17 1999 Subject: Solaris 2.6 compile errors From: "Doug Sturim" To: "Help-Octave" Date: Tue, 21 Dec 1999 18:17:06 -0500 We are kind of at the end of our ropes. I have had 2 sys-admins look at compiling Octave 2.1.xx on our suns. Here is the latest crop of errors trying to install octave 2.1.23 on Solaris 2.6. This is the result after the "make" command. Any help would be greatly appreciated. Thanks, BTW: Using version 2.0.xx is not an option. ERRORS 2.1.23 gmake -C src all gmake[2]: Entering directory `/opt/octave-2.1.23/src' gcc -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -fno-rtti -fno-implicit-templates -g -O2 -Wall ov.cc In file included from ov-file.h:37, from ov.cc:49: oct-stream.h:223: parse error before `::' oct-stream.h:226: missing ';' before right brace oct-stream.h:228: warning: `virtual' is not at beginning of declaration oct-stream.h:228: destructors must be member functions oct-stream.h:228: return type specification for destructor invalid oct-stream.h:228: virtual outside class declaration oct-stream.h:235: `streamoff' was not declared in this scope oct-stream.h:235: parse error before `,' oct-stream.h:235: virtual outside class declaration oct-stream.h:235: function `int seek(...)' is initialized like a variable oct-stream.h:239: virtual outside class declaration oct-stream.h:239: non-member function `tell()' cannot have `const' method qualifier oct-stream.h:239: function `long int tell()' is initialized like a variable oct-stream.h:243: virtual outside class declaration oct-stream.h:243: non-member function `eof()' cannot have `const' method qualifier oct-stream.h:243: function `bool eof()' is initialized like a variable oct-stream.h:247: virtual outside class declaration oct-stream.h:247: non-member function `name()' cannot have `const' method qualifier oct-stream.h:247: function `class basic_string > name()' is initialized like a variable oct-stream.h:253: virtual outside class declaration oct-stream.h:259: virtual outside class declaration oct-stream.h:263: non-member function `is_open()' cannot have `const' method qualifier oct-stream.h: In function `bool is_open()': oct-stream.h:263: `open_state' undeclared (first use this function) oct-stream.h:263: (Each undeclared identifier is reported only once oct-stream.h:263: for each function it appears in.) oct-stream.h:263: warning: control reaches end of non-void function `is_open()' oct-stream.h: In function `void close()': oct-stream.h:265: `open_state' undeclared (first use this function) oct-stream.h: At top level: oct-stream.h:269: non-member function `ok()' cannot have `const' method qualifier oct-stream.h: In function `bool ok()': oct-stream.h:269: `fail' undeclared (first use this function) oct-stream.h:269: warning: control reaches end of non-void function `ok()' oct-stream.h: At top level: oct-stream.h:289: parse error before `private' oct-stream.h:299: `enum oct_mach_info::float_format flt_fmt' used prior to declaration oct-stream.h:302: `bool fail' used prior to declaration oct-stream.h:305: `bool open_state' used prior to declaration oct-stream.h:368: parse error before `&' oct-stream.h:370: parse error before `&' oct-stream.h:370: parse error before `&' oct-stream.h:370: `operator =(...)' must be a nonstatic member function oct-stream.h:370: confused by earlier errors, bailing out gmake[2]: *** [ov.o] Error 1 gmake[2]: Leaving directory `/opt/octave-2.1.23/src' gmake[1]: *** [src] Error 2 gmake[1]: Leaving directory `/opt/octave-2.1.23' gmake: *** [all] Error 2 ------------------------------------------------------------ Douglas Sturim Information Systems Technology Group sturim at ll dot mit dot edu MIT Lincoln Laboratory (781) 981-4462 Lexington, MA 02420-9185 ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------