lilypond-user
[Top][All Lists]
Advanced

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

Build 1.7.15 on Linux fails?


From: Rutger Hofman
Subject: Build 1.7.15 on Linux fails?
Date: Tue, 08 Apr 2003 13:27:21 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126

Hi

I am trying to build lilypind 1.7.15 on a RedHat 7.2 (I think)
700 MHz Athlon.

I'm running:

gcc-3.2.2 (used to be 2.95, but the build breaks earlier)
bison 1.28
flex 2.5.4a (could not get a newer one)

but I get

--------------------------------------------------------------------
gmake[1]: Entering directory `/home/rutger/3rdparty/lilypond/lilypond-1.7.15/lily' rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep ./out/lexer.o" g++ -c -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include -I../flower/./out -I../flower/include -O2 -finline-functions -g -I/usr/local/include -O2 -finline-functions -g -I/usr/local/include -Wall -W -Wmissing-prototypes -Wconversion -o out/lexer.o out/lexer.cc
In file included from /usr/local/include/c++/3.2.2/backward/iostream.h:31,
                 from /usr/local/include/FlexLexer.h:47,
                 from out/lexer.cc:241:
/usr/local/include/c++/3.2.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.
In file included from /usr/local/include/FlexLexer.h:47,
                 from out/lexer.cc:241:
/usr/local/include/c++/3.2.2/backward/iostream.h:36: using declaration `istream
   ' introduced ambiguous type `istream'
lexer.ll: In member function `virtual int My_lily_lexer::yylex()':
lexer.ll:596: cannot convert `std::istream*' to `istream*' in assignment
lexer.ll: In member function `void yyFlexLexer::yy_load_buffer_state()':
lexer.ll:1119: 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:1170: cannot convert `std::istream*' to `istream*' in assignment
gmake[1]: *** [out/lexer.o] Error 1
gmake[1]: Leaving directory `/home/rutger/3rdparty/lilypond/lilypond-1.7.15/lily'
gmake: *** [all] Error 2
--------------------------------------------------------------------

Any clue?

Rutger






reply via email to

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