Hello, given the (reported and still unresolved) difficulties compiling 1.2.0pre5 with gcc 2.95.3 on Tru64 Unix 4.0D I switched to gcc 3.1. LyX still doesn't compile and now fails on src/support/DebugStream.C:
/net/bin/g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../.. -I../../boost -I/net/usr/include -I/net/usr/include -I/net/usr/include -W -Wall -c DebugStream.C -Wp,-MD,.deps/DebugStream.TPlo /net/pub/gcc-3.1/include/g++-v3/streambuf: In member function `virtual int teebuf::sync()': /net/pub/gcc-3.1/include/g++-v3/streambuf:424: `int std::basic_streambuf<_CharT, _Traits>::sync() [with _CharT = char, _Traits = std::char_traits<char>]' is protected DebugStream.C:102: within this context /net/pub/gcc-3.1/include/g++-v3/streambuf:424: `int std::basic_streambuf<_CharT, _Traits>::sync() [with _CharT = char, _Traits = std::char_traits<char>]' is protected DebugStream.C:103: within this context /net/pub/gcc-3.1/include/g++-v3/bits/streambuf.tcc: In member function `virtual streamsize teebuf::xsputn(const char*, long int)': /net/pub/gcc-3.1/include/g++-v3/bits/streambuf.tcc:162: `streamsize std::basic_streambuf<_CharT, _Traits>::xsputn(const _CharT*, long int) [with _CharT = char, _Traits = std::char_traits<char>]' is protected DebugStream.C:107: within this context /net/pub/gcc-3.1/include/g++-v3/bits/streambuf.tcc:162: `streamsize std::basic_streambuf<_CharT, _Traits>::xsputn(const _CharT*, long int) [with _CharT = char, _Traits = std::char_traits<char>]' is protected DebugStream.C:108: within this context /net/pub/gcc-3.1/include/g++-v3/streambuf: In member function `virtual int teebuf::overflow(int)': /net/pub/gcc-3.1/include/g++-v3/streambuf:464: `_Traits::int_type std::basic_streambuf<_CharT, _Traits>::overflow(_Traits::int_type = _Traits::eof()) [with _CharT = char, _Traits = std::char_traits<char>]' is protected DebugStream.C:112: within this context /net/pub/gcc-3.1/include/g++-v3/streambuf:464: `_Traits::int_type std::basic_streambuf<_CharT, _Traits>::overflow(_Traits::int_type = _Traits::eof()) [with _CharT = char, _Traits = std::char_traits<char>]' is protected DebugStream.C:113: within this context /net/pub/gcc-3.1/include/g++-v3/streambuf: In member function `virtual int debugbuf::sync()': /net/pub/gcc-3.1/include/g++-v3/streambuf:424: `int std::basic_streambuf<_CharT, _Traits>::sync() [with _CharT = char, _Traits = std::char_traits<char>]' is protected DebugStream.C:148: within this context /net/pub/gcc-3.1/include/g++-v3/bits/streambuf.tcc: In member function `virtual streamsize debugbuf::xsputn(const char*, long int)': /net/pub/gcc-3.1/include/g++-v3/bits/streambuf.tcc:162: `streamsize std::basic_streambuf<_CharT, _Traits>::xsputn(const _CharT*, long int) [with _CharT = char, _Traits = std::char_traits<char>]' is protected DebugStream.C:152: within this context /net/pub/gcc-3.1/include/g++-v3/streambuf: In member function `virtual int debugbuf::overflow(int)': /net/pub/gcc-3.1/include/g++-v3/streambuf:464: `_Traits::int_type std::basic_streambuf<_CharT, _Traits>::overflow(_Traits::int_type = _Traits::eof()) [with _CharT = char, _Traits = std::char_traits<char>]' is protected DebugStream.C:156: within this context DebugStream.C: At global scope: DebugStream.C:168: field `fbuf' has incomplete type DebugStream.C: In constructor `DebugStream::DebugStream(const char*, Debug::type)': DebugStream.C:184: `struct DebugStream::debugstream_internal' has no member named `fbuf' DebugStream.C:186: `struct DebugStream::debugstream_internal' has no member named `fbuf' DebugStream.C: In member function `void DebugStream::logFile(const char*)': DebugStream.C:202: `struct DebugStream::debugstream_internal' has no member named `fbuf' DebugStream.C:206: `struct DebugStream::debugstream_internal' has no member named `fbuf' DebugStream.C:208: `struct DebugStream::debugstream_internal' has no member named `fbuf' gmake[3]: *** [DebugStream.lo] Error 1 gmake[3]: Leaving directory `/tmp_mnt/net/hmi/dta/build/osf/lyx-1.2.0pre5/src/support' The configure line was: env CC=/net/bin/gcc CXX=/net/bin/g++ CPPFLAGS=-I/net/usr/include \ CFLAGS=-I/net/usr/include CXXFLAGS=-I/net/usr/include \ LDFLAGS=-L/net/usr/lib \ ./configure --prefix=/net/pub/lyx-1.2.0pre5 \ --exec-prefix=/net/pub/lyx-1.2.0pre5/osf \ --with-extra-prefix=/net/usr --with-included-string Configuration Host type: alpha-dec-osf4.0d Special build flags: warnings included-string assertions included-libsigc C Compiler: /net/bin/gcc C Compiler flags: -I/net/usr/include C++ Compiler: /net/bin/g++ (3.1) C++ Compiler flags: -I/net/usr/include -W -Wall Linker flags: -L/net/usr/lib -L/net/usr/lib Frontend: xforms libXpm version: 4.11 libforms version: 0.88.0 LyX binary dir: /net/pub/lyx-1.2.0pre5/osf/bin LyX files dir: /net/pub/lyx-1.2.0pre5/share/lyx Workarounds/fixes appreciated. Kind regards, Thomas -- Thomas Anders <[EMAIL PROTECTED]> Hahn-Meitner-Institut Berlin, Germany