lilypond-devel
[Top][All Lists]
Advanced

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

Re: CVS doesn't compile !


From: Jiba
Subject: Re: CVS doesn't compile !
Date: Sat, 28 Sep 2002 11:30:31 +0200
User-agent: KMail/1.4.3

Le Vendredi 27 Septembre 2002 00:20, Han-Wen Nienhuys a écrit :
> address@hidden writes:
> > Hi,
> >
> > I'm trying to compile the current CVS under Mandrake Linux 9.0 RC2 on x86
> > with GCC 3.2 and flex 2.5.4, and i get:
>
> have you tried the gcc-lexer-3.1.sh script?

With GCC version 2.96 20000731 (Mandrake Linux 9.0 2.96-0.80mdk), i get 
trouble with the lexer too:

flex -Cfe -p -p -t lexer.ll > out/lexer.cc
"lexer.ll", line 503: warning, -s option given but default rule can be matched
rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep ./out/lexer.o" c++ 
-c   -DHAVE_CONFIG_H  -DSTRING_UTILS_INLINED -Iinclude -I./out 
-I../flower/include -I../flower/./out -I../flower/include -O2 
-finline-functions -g        -O2 -finline-functions -g    -Wall  -W 
-Wmissing-prototypes -Wconversion  -o out/lexer.o out/lexer.cc
lexer.ll: In member function `virtual int My_lily_lexer::yylex()':
lexer.ll:197: `cerr' undeclared (first use this function)
lexer.ll:197: (Each undeclared identifier is reported only once for each 
function it appears in.)
/usr/include/c++/3.2/bits/locale_facets.h: At top level:
lexer.ll:128: warning: `int yy_start_stack_ptr' defined but not used
lexer.ll:129: warning: `int yy_start_stack_depth' defined but not used
lexer.ll:130: warning: `int*yy_start_stack' defined but not used
lexer.ll:132: warning: `void yy_push_state(int)' declared `static' but never 
defined
lexer.ll:135: warning: `void yy_pop_state()' declared `static' but never 
defined
lexer.ll:138: warning: `int yy_top_state()' declared `static' but never 
defined
make[1]: *** [out/lexer.o] Erreur 1
rm out/lexer.cc
make[1]: Quitte le répertoire `/home/jiba/src/lilypond/lily'
make: *** [all] Erreur 2

Jiba




reply via email to

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