Pierre wrote: > Yes the INSTALL.txt and the patches should certainly be updated as the > C++ ABI has changed with gcc-3.2 > But a better solution would be to have a new version of Flex... > Has Anybody contacted the Flex team about this ? >
Hello, Pierre, Thanks for the advice. I wrote to the maintainers of the flex project... Here is his reply : ----------------------------------------------------------------------- "this is a known issue and has already been resolved. Beta releases of flex already handle the gcc-3.2 issues. You can find beta releases of flex at: ftp://ftp.uncg.edu/people/wlestes/ ------------------------------------------------------------------------ So, I've tried the two last versions of flex to compile lilypond 1.6.2... Seems better (or less bad) (as far as I can understand the problems :), but does not work ! Here is the log : -------------------------------------------------------------------------- rm -f ./out/warn.dep; DEPENDENCIES_OUTPUT="./out/warn.dep ./out/warn.o" /usr/local/gcc/bin/g++ -c -O6 -march=athlon-tbird -pipe -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include -I../flower/./out -I../flower/include -O6 -march=athlon-tbird -pipe -O2 -finline-functions -g -I/usr/local/include -O6 -march=athlon-tbird -pipe -O2 -finline-functions -g -I/usr/local/include -Wall -W -Wmissing-prototypes -Wconversion -o out/warn.o warn.cc cc1plus: warning: changing search order for system directory "/usr/local/include" cc1plus: warning: as it has already been specified as a non-system directory flex -Cfe -p -p -t lexer.ll > out/lexer.cc lexer.ll: 485: warning, -s option given but default rule can be matched rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep ./out/lexer.o" /usr/local/gcc/bin/g++ -c -O6 -march=athlon-tbird -pipe -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include -I../flower/./out -I../flower/include -O6 -march=athlon-tbird -pipe -O2 -finline-functions -g -I/usr/local/include -O6 -march=athlon-tbird -pipe -O2 -finline-functions -g -I/usr/local/include -Wall -W -Wmissing-prototypes -Wconversion -o out/lexer.o out/lexer.cc cc1plus: warning: changing search order for system directory "/usr/local/include" cc1plus: 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:227: `cerr' undeclared (first use this function) lexer.ll:227: (Each undeclared identifier is reported only once for each function it appears in.) /usr/local/gcc/include/c++/3.2/bits/locale_facets.h: At top level: lexer.ll:163: warning: `int yy_start_stack_ptr' defined but not used lexer.ll:164: warning: `int yy_start_stack_depth' defined but not used lexer.ll:165: warning: `int*yy_start_stack' defined but not used lexer.ll:170: warning: `void yy_push_state(int)' declared `static' but never defined lexer.ll:173: warning: `void yy_pop_state()' declared `static' but never defined lexer.ll:176: warning: `int yy_top_state()' declared `static' but never defined make[1]: *** [out/lexer.o] Error 1 rm out/lexer.cc make[1]: Leaving directory `/usr/src/lilypond-1.6.2/lily' make: *** [all] Error 2 ------------------------------------------------------------------------- Is anybody knowing c++ and flex can give a fix/patch ??? Thanks in advance, Alex. _______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user