Re: Can't compile HEAD
Stanislav Visnovsky <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kbabel |
|---|---|
| Message-ID | <[email protected]> |
Dňa Ne 8. Jún 2003 02:24 Marco Wegner napísal: > Hi, > > I have a problem compiling KBabel HEAD: > > gmake[4]: Entering directory `/usr/src/kde/kbabel/kbabel/common/libgettext' > if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ > -DHAVE_CONFIG_H -I. -I. -I../../.. -DQT_THREAD_SUPPORT -D_REENTRANT > -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W > -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE > -Wcast-align -Wconversion -Wchar-subscripts -O2 -O2 -march=athlon > -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new > -fno-common -DQT_CLEAN_NAMESPACE -UQT_NO_COMPAT -DQT_NO_ASCII_CAST -MT > pofiles.lo -MD -MP -MF ".deps/pofiles.Tpo" \ > -c -o pofiles.lo `test -f 'pofiles.cc' || echo './'`pofiles.cc; \ > then mv ".deps/pofiles.Tpo" ".deps/pofiles.Plo"; \ > else rm -f ".deps/pofiles.Tpo"; exit 1; \ > fi > In file included from /usr/include/c++/3.2.1/backward/iostream.h:31, > from /usr/include/FlexLexer.h:47, > from pofiles.cc:241: > /usr/include/c++/3.2.1/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: > /usr/include/c++/3.2.1/backward/iostream.h:36: 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: cannot convert `std::istream*' to `istream*' in assignment > pofiles.cc: In member function `void > GettextBaseFlexLexer::yy_load_buffer_state()': > pofiles.cc:1216: 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: cannot convert `std::istream*' to `istream*' in assignment > pofiles.cc:1458:5: warning: "YY_MAIN" is not defined > gmake[4]: *** [pofiles.lo] Error 1 > gmake[4]: Leaving directory `/usr/src/kde/kbabel/kbabel/common/libgettext' > gmake[3]: *** [all-recursive] Error 1 > gmake[3]: Leaving directory `/usr/src/kde/kbabel/kbabel/common' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/usr/src/kde/kbabel/kbabel' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/src/kde/kbabel' > gmake: *** [all] Error 2 > > What's wrong here? Flex should be invoked automatically now. Did you try to do a clean compile? Stanislav