[Uml-devel] umbrello compile problem on Solaris (kdesdk-3.1.95)

Jonathan Riddell jr at jriddell.org
Sat Jan 31 16:21:08 UTC 2004


On Fri, Jan 30, 2004 at 09:03:29AM +0000, Nicolas.Brisset at eurocopter.com wrote:
> 
> I am trying to install KDE 3.2 RC1 from sources on a Solaris machine using gcc 
> 3.3.2 compiled from sources, and I get the following error with pofiles.cc as 
> well as tokenizer.cc. Surely not such a big thing, but I do not have so much 
> time/skill to investigate it. So I thought maybe you could help :-)
> 
> pofiles.cc:148: error: syntax error before `*' token
> In file included from /S/eval/include/c++/3.3.2/backward/iostream.h:31,
>                  from /S/eval/include/FlexLexer.h:47,
>                  from pofiles.cc:241:
> /S/eval/include/c++/3.3.2/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.
> pofiles.cc:401:5: warning: "YY_STACK_USED" is not defined
> pofiles.cc: In member function `virtual int GettextBaseFlexLexer::yylex()':
> pofiles.cc:683: error: 'struct yy_buffer_state' has no member named '
>    yy_input_file'
> pofiles.cc: In member function `void
>    GettextBaseFlexLexer::yy_load_buffer_state()':
> pofiles.cc:1216: error: 'struct yy_buffer_state' has no member named '
>    yy_input_file'
> pofiles.cc: In member function `void
>    GettextBaseFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
> pofiles.cc:1267: error: 'struct yy_buffer_state' has no member named '
>    yy_input_file'
> pofiles.cc:1458:5: warning: "YY_MAIN" is not defined
> gmake: *** [pofiles.lo] Error 1

What is the context of this error?  I don't think there should  be any
file called pofiles.cc.

What version of flex are you using?
http://uml.sourceforge.net/faq.php lists some issues with old flex
version.

Jonathan Riddell




More information about the umbrello-devel mailing list