From bug-octave-request at bevo dot che dot wisc dot edu Tue Feb 12 13:42:52 2002 Subject: Can't compile octave-2.1.35 with gcc-3.0.3 From: Juergen Rose To: bug-octave at bevo dot che dot wisc dot edu Date: Tue, 12 Feb 2002 13:42:39 -0600 Hi again with a better e-mail address, after configuring with ./configure --with-g77 --enable-shared I get during compiling c++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob -I../glob -DHAVE_CONFIG_H -mieee-fp -g -O2 -Wall load-save.cc -o load-save.o load-save.cc: In constructor `hdf5_fstreambase::hdf5_fstreambase(const char*, int, int)': load-save.cc:1062: `set' undeclared (first use this function) load-save.cc:1062: (Each undeclared identifier is reported only once for each function it appears in.) load-save.cc: In constructor `hdf5_ifstream::hdf5_ifstream()': load-save.cc:1100: no matching function for call to `std::basic_istream >::basic_istream()' /usr/include/g++-v3/bits/std_istream.h:209: candidates are: std::basic_istream<_CharT, _Traits>::basic_istream(const std::basic_istream<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits] /usr/include/g++-v3/bits/std_istream.h:72: std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_streambuf<_CharT, _Traits>*) [with _CharT = char, _Traits = std::char_traits] load-save.cc: In constructor `hdf5_ifstream::hdf5_ifstream(const char*, int, int)': load-save.cc:1103: no matching function for call to `std::basic_istream >::basic_istream()' /usr/include/g++-v3/bits/std_istream.h:209: candidates are: std::basic_istream<_CharT, _Traits>::basic_istream(const std::basic_istream<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits] /usr/include/g++-v3/bits/std_istream.h:72: std::basic_istream<_CharT, _Traits>::basic_istream(std::basic_streambuf<_CharT, _Traits>*) [with _CharT = char, _Traits = std::char_traits] load-save.cc: In constructor `hdf5_ofstream::hdf5_ofstream()': load-save.cc:1113: no matching function for call to `std::basic_ostream >::basic_ostream()' /usr/include/g++-v3/bits/std_ostream.h:177: candidates are: std::basic_ostream<_CharT, _Traits>::basic_ostream(const std::basic_ostream<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits] /usr/include/g++-v3/bits/std_ostream.h:67: std::basic_ostream<_CharT, _Traits>::basic_ostream(std::basic_streambuf<_CharT, _Traits>*) [with _CharT = char, _Traits = std::char_traits] load-save.cc: In constructor `hdf5_ofstream::hdf5_ofstream(const char*, int, int)': load-save.cc:1116: no matching function for call to `std::basic_ostream >::basic_ostream()' /usr/include/g++-v3/bits/std_ostream.h:177: candidates are: std::basic_ostream<_CharT, _Traits>::basic_ostream(const std::basic_ostream<_CharT, _Traits>&) [with _CharT = char, _Traits = std::char_traits] /usr/include/g++-v3/bits/std_ostream.h:67: std::basic_ostream<_CharT, _Traits>::basic_ostream(std::basic_streambuf<_CharT, _Traits>*) [with _CharT = char, _Traits = std::char_traits] make[2]: *** [load-save.o] Error 1 make[2]: Leaving directory `/usr/src_molbio17/Mathematics/octave-2.1.35/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/usr/src_molbio17/Mathematics/octave-2.1.35' make: *** [all] Error 2 I suppose that the problem is connected with gcc-3.0.3. The header file std_istream.h comes from gcc-3.0.3. And I had no difficulties to compile with gcc-2.95.3. There are any hints? With best regards Juergen ------------------------------------------------------------- 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 -------------------------------------------------------------