cpp0: warning: changing search order for system directory "/usr/include" cpp0: warning: as it has already been specified as a non-system directory lexer.ll: In member function `virtual int My_lily_lexer::yylex()': lexer.ll:509: cannot convert `std::istream*' to `istream*' in assignment lexer.ll: At global scope: lexer.ll:617: type specifier omitted for parameter `ostream' lexer.ll:617: parse error before `*' token lexer.ll:620: ISO C++ forbids declaration of `yyout' with no type lexer.ll:620: `arg_yyout' was not declared in this scope lexer.ll:621: ISO C++ forbids declaration of `yy_c_buf_p' with no type lexer.ll:622: ISO C++ forbids declaration of `yy_init' with no type lexer.ll:623: ISO C++ forbids declaration of `yy_start' with no type lexer.ll:624: ISO C++ forbids declaration of `yy_flex_debug' with no type lexer.ll:625: ISO C++ forbids declaration of `yylineno' with no type lexer.ll:627: ISO C++ forbids declaration of `yy_did_buffer_switch_on_eof' with no type lexer.ll:629: ISO C++ forbids declaration of `yy_looking_for_trail_begin' with no type lexer.ll:630: ISO C++ forbids declaration of `yy_more_flag' with no type lexer.ll:631: ISO C++ forbids declaration of `yy_more_len' with no type lexer.ll:632: ISO C++ forbids declaration of `yy_more_offset' with no type lexer.ll:632: invalid use of member `yyFlexLexer::yy_prev_more_offset' lexer.ll:634: ISO C++ forbids declaration of `yy_start_stack_ptr' with no type lexer.ll:634: redefinition of `int yy_start_stack_ptr' lexer.ll:127: `int yy_start_stack_ptr' previously defined here lexer.ll:634: invalid use of member `yyFlexLexer::yy_start_stack_depth' lexer.ll:635: ISO C++ forbids declaration of `yy_start_stack' with no type lexer.ll:635: conflicting types for `int yy_start_stack' lexer.ll:129: previous declaration as `int*yy_start_stack' lexer.ll:637: ISO C++ forbids declaration of `yy_current_buffer' with no type lexer.ll:642: ISO C++ forbids declaration of `yy_state_buf' with no type lexer.ll:644: parse error before `}' token lexer.ll:652: type specifier omitted for parameter `ostream' lexer.ll:652: parse error before `*' token lexer.ll:653: prototype for `void yyFlexLexer::switch_streams(...)' does not match any in class `yyFlexLexer' out/FlexLexer.h:117: candidate is: virtual void yyFlexLexer::switch_streams(std::istream*, std::ostream*) lexer.ll: In member function `void yyFlexLexer::switch_streams(...)': lexer.ll:654: `new_in' undeclared (first use this function) lexer.ll:654: (Each undeclared identifier is reported only once for each function it appears in.) lexer.ll:660: `new_out' undeclared (first use this function) lexer.ll: At global scope: lexer.ll:994: prototype for `void yyFlexLexer::yyrestart(istream*)' does not match any in class `yyFlexLexer' out/FlexLexer.h:114: candidate is: virtual void yyFlexLexer::yyrestart(std::istream*) lexer.ll: In member function `void yyFlexLexer::yyrestart(istream*)': lexer.ll:998: no matching function for call to `yyFlexLexer::yy_init_buffer( yy_buffer_state*&, istream*&)' out/FlexLexer.h:128: candidates are: void yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*) lexer.ll: In member function `void yyFlexLexer::yy_load_buffer_state()': lexer.ll:1032: cannot convert `istream*' to `std::istream*' in assignment lexer.ll: At global scope: lexer.ll:1038: prototype for `yy_buffer_state* yyFlexLexer::yy_create_buffer(istream*, int)' does not match any in class ` yyFlexLexer' out/FlexLexer.h:112: candidate is: virtual yy_buffer_state* yyFlexLexer::yy_create_buffer(std::istream*, int) lexer.ll: In member function `yy_buffer_state* yyFlexLexer::yy_create_buffer(istream*, int)': lexer.ll:1056: no matching function for call to `yyFlexLexer::yy_init_buffer( yy_buffer_state*&, istream*&)' out/FlexLexer.h:128: candidates are: void yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*) lexer.ll: At global scope: lexer.ll:1080: prototype for `void yyFlexLexer::yy_init_buffer(yy_buffer_state*, istream*)' does not match any in class `yyFlexLexer' out/FlexLexer.h:128: candidate is: void yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*) lexer.ll:127: warning: `int yy_start_stack_ptr' defined but not used lexer.ll:128: warning: `int yy_start_stack_depth' defined but not used lexer.ll:635: warning: `int yy_start_stack' defined but not used lexer.ll:131: warning: `void yy_push_state(int)' declared `static' but never defined lexer.ll:134: warning: `void yy_pop_state()' declared `static' but never defined lexer.ll:137: warning: `int yy_top_state()' declared `static' but never defined {standard input}: Assembler messages: {standard input}:192: Error: symbol `yy_start_stack_ptr' is already defined make[1]: *** [out/lexer.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/lilypond-1.6.0/work/lilypond-1.6.0/lily' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -153, Exitcode 2 !!! make failed