Version: (using KDE KDE 3.2.1) Installed from: Compiled From Sources Compiler: gcc-3.3.3 OS: Linux Building kdesdk-3.2.1 fails: if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX /opt/gcc/bin/g++ -march=athlon -mmmx -m3dnow -DHAVE_CONFIG_H -I. -I/home/thomas/src/kde/3.2.1/kdesdk-3.2.1/kbabel/common/libgettext -I../../.. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -pipe -O3 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT pofiles.lo -MD -MP -MF ".deps/pofiles.Tpo" \ -c -o pofiles.lo `test -f 'pofiles.cc' || echo '/home/thomas/src/kde/3.2.1/kdesdk-3.2.1/kbabel/common/libgettext/'`pofiles.cc; \ then mv -f ".deps/pofiles.Tpo" ".deps/pofiles.Plo"; \ else rm -f ".deps/pofiles.Tpo"; exit 1; \ fi In file included from /opt/gcc-3.3.3/include/c++/3.3.3/backward/iostream.h:31, from /usr/include/FlexLexer.h:47, from pofiles.cc:241: /opt/gcc-3.3.3/include/c++/3.3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. In file included from /usr/include/FlexLexer.h:47, from pofiles.cc:241: /opt/gcc-3.3.3/include/c++/3.3.3/backward/iostream.h:36: error: `istream' is already declared in this scope /opt/gcc-3.3.3/include/c++/3.3.3/backward/iostream.h:36: error: using declaration `istream' introduced ambiguous type `istream' pofiles.cc:401:5: warning: "YY_STACK_USED" is not defined pofiles.cc: In member function `virtual int GettextBaseFlexLexer::yylex()': pofiles.cc:683: error: cannot convert `std::istream*' to `istream*' in assignment pofiles.cc: In member function `void GettextBaseFlexLexer::yy_load_buffer_state()': pofiles.cc:1216: error: cannot convert `istream*' to `std::istream*' in assignment pofiles.cc: In member function `void GettextBaseFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)': pofiles.cc:1267: error: cannot convert `std::istream*' to `istream*' in assignment pofiles.cc:1458:5: warning: "YY_MAIN" is not defined make[4]: *** [pofiles.lo] Error 1 make[4]: Leaving directory `/home/thomas/build/kde/3.2.1/kdesdk-3.2.1/kbabel/common/libgettext' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/thomas/build/kde/3.2.1/kdesdk-3.2.1/kbabel/common' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/thomas/build/kde/3.2.1/kdesdk-3.2.1/kbabel' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/thomas/build/kde/3.2.1/kdesdk-3.2.1' make: *** [all] Error 2
You flex does not support your gcc. *** This bug has been marked as a duplicate of 62895 ***