lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Source compilation problems


From: Carter Brey
Subject: Source compilation problems
Date: Thu, 27 Jun 2002 15:18:41 +0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020501

Hi,

I'm trying to upgrade from a binary rpm version of 1.5.58 to compiling 1.5.63 from source. I run gcc-3.0.4 and ran the patch script to deal with Flex incompatibility as advised in the INSTALL file . The compile throws in the towel with this message after a good while, and I'm wondering if this means I'm still getting bad code from Flex:

In file included from /usr/include/FlexLexer.h:47,
from out-gcc-3.0/lexer.cc:240:
/usr/local/include/g++-v3/backward/iostream.h:36: using directive `istream'
introduced ambiguous type `istream'
lexer.ll: In member function `virtual int My_lily_lexer::yylex()':
lexer.ll:506: cannot convert `std::istream*' to `istream*' in assignment
lexer.ll: In member function `void yyFlexLexer::yy_load_buffer_state()':
lexer.ll:1029: cannot convert `istream*' to `std::istream*' in assignment
lexer.ll: In member function `void
yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
lexer.ll:1079: cannot convert `std::istream*' to `istream*' in assignment
/usr/local/include/g++-v3/bits/locale_facets.tcc: At top level:
lexer.ll:124: warning: `int yy_start_stack_ptr' defined but not used
lexer.ll:125: warning: `int yy_start_stack_depth' defined but not used
lexer.ll:126: warning: `int*yy_start_stack' defined but not used
lexer.ll:128: warning: `void yy_push_state(int)' declared `static' but never
defined
lexer.ll:131: warning: `void yy_pop_state()' declared `static' but never
defined
lexer.ll:134: warning: `int yy_top_state()' declared `static' but never defined
make: *** [out-gcc-3.0/lexer.o] Error 1
make: Leaving directory `/home/cbrey/archive/lilypond-1.5.63/lily'

Any suggestions would be most gratefully accepted.

Carter


--

+---------------------------------+
|Carter Brey (address@hidden)|
+---------------------------------+
Homepage:
http://www.nyplive.org/music/orchestra/index.cfm?page=profile&personNum=7
Never argue with a fool -- people might not be able to tell the difference.
 3:16pm  up  6:12,  3 users,  load average: 0.10, 0.16, 0.07





reply via email to

[Prev in Thread] Current Thread [Next in Thread]