This is my new target.

CC=gcc3 CXX=g++3 ./configure --program-suffix=-1.1.4 --disable-nls 
--with-included-string

[16:28][jamatos@rilke:~/lyx/lyx-1.1.4/src]$make -k
make  all-recursive
make[1]: Entering directory `/home/jamatos/lyx/lyx-1.1.4/src'
Making all in mathed
make[2]: Entering directory `/home/jamatos/lyx/lyx-1.1.4/src/mathed'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jamatos/lyx/lyx-1.1.4/src/mathed'
Making all in insets
make[2]: Entering directory `/home/jamatos/lyx/lyx-1.1.4/src/insets'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jamatos/lyx/lyx-1.1.4/src/insets'
Making all in support
make[2]: Entering directory `/home/jamatos/lyx/lyx-1.1.4/src/support'
/bin/sh ../../libtool --mode=compile g++3 -DHAVE_CONFIG_H -I. -I. -I../../src 
-I./../  -I/usr/X11R6/include  -g -O2 -fno-exceptions -fno-rtti -c 
DebugStream.C
g++3 -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I/usr/X11R6/include -g -O2 
-fno-exceptions -fno-rtti -c DebugStream.C -o DebugStream.o
/usr/include/g++-v3/bits/std_streambuf.h: In member function `virtual int
   teebuf::sync()':
/usr/include/g++-v3/bits/std_streambuf.h:461: `int 
std::basic_streambuf<_CharT,
   _Traits>::sync() [with _CharT = char, _Traits = std::char_traits<char>]' is
   protected
DebugStream.C:96: within this context
/usr/include/g++-v3/bits/std_streambuf.h:461: `int 
std::basic_streambuf<_CharT,
   _Traits>::sync() [with _CharT = char, _Traits = std::char_traits<char>]' is
   protected
DebugStream.C:97: within this context
/usr/include/g++-v3/bits/streambuf.tcc: In member function `virtual streamsize
   teebuf::xsputn(const char*, int)':
/usr/include/g++-v3/bits/streambuf.tcc:155: `streamsize
   std::basic_streambuf<_CharT, _Traits>::xsputn(const _CharT*, int) [with
   _CharT = char, _Traits = std::char_traits<char>]' is protected
DebugStream.C:101: within this context
/usr/include/g++-v3/bits/streambuf.tcc:155: `streamsize
   std::basic_streambuf<_CharT, _Traits>::xsputn(const _CharT*, int) [with
   _CharT = char, _Traits = std::char_traits<char>]' is protected
DebugStream.C:102: within this context
/usr/include/g++-v3/bits/std_streambuf.h: In member function `virtual int
   teebuf::overflow(int)':
/usr/include/g++-v3/bits/std_streambuf.h:501: `typename _Traits::int_type
   std::basic_streambuf<_CharT, _Traits>::overflow(typename _Traits::int_type 
=
   _Traits::eof()) [with _CharT = char, _Traits = std::char_traits<char>]' is
   protected
DebugStream.C:106: within this context
/usr/include/g++-v3/bits/std_streambuf.h:501: `typename _Traits::int_type
   std::basic_streambuf<_CharT, _Traits>::overflow(typename _Traits::int_type 
=
   _Traits::eof()) [with _CharT = char, _Traits = std::char_traits<char>]' is
   protected
DebugStream.C:107: within this context
/usr/include/g++-v3/bits/std_streambuf.h: In member function `virtual int
   debugbuf::sync()':
/usr/include/g++-v3/bits/std_streambuf.h:461: `int 
std::basic_streambuf<_CharT,
   _Traits>::sync() [with _CharT = char, _Traits = std::char_traits<char>]' is
   protected
DebugStream.C:142: within this context
/usr/include/g++-v3/bits/streambuf.tcc: In member function `virtual streamsize
   debugbuf::xsputn(const char*, int)':
/usr/include/g++-v3/bits/streambuf.tcc:155: `streamsize
   std::basic_streambuf<_CharT, _Traits>::xsputn(const _CharT*, int) [with
   _CharT = char, _Traits = std::char_traits<char>]' is protected
DebugStream.C:146: within this context
/usr/include/g++-v3/bits/std_streambuf.h: In member function `virtual int
   debugbuf::overflow(int)':
/usr/include/g++-v3/bits/std_streambuf.h:501: `typename _Traits::int_type
   std::basic_streambuf<_CharT, _Traits>::overflow(typename _Traits::int_type 
=
   _Traits::eof()) [with _CharT = char, _Traits = std::char_traits<char>]' is
   protected
DebugStream.C:150: within this context
DebugStream.C: At global scope:
DebugStream.C:162: field `fbuf' has incomplete type
DebugStream.C: In constructor `DebugStream::DebugStream(const char*,
   Debug::type)':
DebugStream.C:178: `struct DebugStream::debugstream_internal' has no member
   named `fbuf'
DebugStream.C:180: `struct DebugStream::debugstream_internal' has no member
   named `fbuf'
DebugStream.C: In member function `void DebugStream::logFile(const char*)':
DebugStream.C:197: `struct DebugStream::debugstream_internal' has no member
   named `fbuf'
DebugStream.C:201: `struct DebugStream::debugstream_internal' has no member
   named `fbuf'
DebugStream.C:203: `struct DebugStream::debugstream_internal' has no member
   named `fbuf'
make[2]: *** [DebugStream.lo] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/home/jamatos/lyx/lyx-1.1.4/src/support'
make[2]: Entering directory `/home/jamatos/lyx/lyx-1.1.4/src'
g++3 -DHAVE_CONFIG_H -I. -I. -I. -I../images  -I/usr/X11R6/include  -g -O2 
-fno-exceptions -fno-rtti -c buffer.C
buffer.C: In member function `void Buffer::writeFileAscii(const string&, 
int)':
buffer.C:1362: choosing `std::fpos<_StateT> std::fpos<_StateT>::operator-(long
   int) [with _StateT = mbstate_t]' over `operator-'
buffer.C:1362:   because worst conversion for the former is better than worst
   conversion for the latter
buffer.C:1447: choosing `std::fpos<_StateT> std::fpos<_StateT>::operator-(long
   int) [with _StateT = mbstate_t]' over `operator-'
buffer.C:1447:   because worst conversion for the former is better than worst
   conversion for the latter
make[2]: *** [buffer.o] Error 1
g++3 -DHAVE_CONFIG_H -I. -I. -I. -I../images  -I/usr/X11R6/include  -g -O2 
-fno-exceptions -fno-rtti -c lyxrc.C
lyxrc.C:20: `cout' not declared
lyxrc.C: In member function `void LyXRC::print() const':
lyxrc.C:935: `cout' undeclared (first use this function)
lyxrc.C:935: (Each undeclared identifier is reported only once for each
   function it appears in.)
make[2]: *** [lyxrc.o] Error 1
make[2]: *** No rule to make target `support/libsupport.la', needed by `lyx'.
make[2]: Target `all-am' not remade because of errors.
make[2]: Leaving directory `/home/jamatos/lyx/lyx-1.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jamatos/lyx/lyx-1.1.4/src'
make: *** [all-recursive-am] Error 2
make: Target `all' not remade because of errors.

  In lyxrc.C the directive using std::cout; is in the begin, I have also added
#include "iostream"

  but the error remains.

  Help! ;-)
-- 
José Abílio

Reply via email to