I'm building lilypond-2.7.8 on Linux and it dies compiling the parser
(the output of make is attached).  Googling for the error got me a
suggestion to downgrade bison to 1.75 which I'm loath to do.  I see
there's now a bison 2.0 - is it worth upgrading to that?  If not, how
else can I get round this?

Details:
Linux 2.4.31
gcc 3.2.1
flex 2.5.31
bison 1.875

Cheers, 

Jeremy Henty 
make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C buildscripts all 
&&  make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C python all &&  
make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C scripts all &&  
make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C elisp all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C flower all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C kpath-guile all &&  
make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C lily all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C mf all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ly all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C tex all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C ps all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C scm all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C po all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C make all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C cygwin all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C debian all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C stepmake all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C Documentation all &&  
make --no-builtin-rules PACKAGE=LILYPOND package=lilypond -C input all &&  make 
--no-builtin-rules PACKAGE=LILYPOND package=lilypond -C vim all && true
make[1]: Entering directory `/data/build/Local/lilypond-2.7.8/buildscripts'
true
make[1]: Leaving directory `/data/build/Local/lilypond-2.7.8/buildscripts'
make[1]: Entering directory `/data/build/Local/lilypond-2.7.8/python'
true
make[1]: Leaving directory `/data/build/Local/lilypond-2.7.8/python'
make[1]: Entering directory `/data/build/Local/lilypond-2.7.8/scripts'
true
true
make[1]: Leaving directory `/data/build/Local/lilypond-2.7.8/scripts'
make[1]: Entering directory `/data/build/Local/lilypond-2.7.8/elisp'
true
make[1]: Leaving directory `/data/build/Local/lilypond-2.7.8/elisp'
make[1]: Entering directory `/data/build/Local/lilypond-2.7.8/flower'
make PACKAGE=LILYPOND package=lilypond -C include all && true
make[2]: Entering directory `/data/build/Local/lilypond-2.7.8/flower/include'
true
make[2]: Leaving directory `/data/build/Local/lilypond-2.7.8/flower/include'
make[1]: Leaving directory `/data/build/Local/lilypond-2.7.8/flower'
make[1]: Entering directory `/data/build/Local/lilypond-2.7.8/kpath-guile'
true
make[1]: Leaving directory `/data/build/Local/lilypond-2.7.8/kpath-guile'
make[1]: Entering directory `/data/build/Local/lilypond-2.7.8/lily'
rm -f ./out/parser.dep; DEPENDENCIES_OUTPUT="./out/parser.dep ./out/parser.o" 
g++ -c   -DHAVE_CONFIG_H  -DNDEBUG -DSTRING_UTILS_INLINED -Iinclude -I./out 
-I../flower/include -I../flower/./out -I../flower/include -DNDEBUG 
-I/usr/include/python2.4  -O2 -finline-functions -g -pipe  
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include    -I/usr/include/freetype2       -DNDEBUG 
-I/usr/include/python2.4  -O2 -finline-functions -g -pipe  
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include    -I/usr/include/freetype2   -W -Wall -Wconversion 
-Wno-pmf-conversions -o out/parser.o out/parser.cc
out/parser.cc: In function `int yyparse(void*)':
out/parser.cc:5583: ISO C++ forbids declaration of `yylerrsp' with no type
out/parser.cc:5583: conflicting types for `int yylerrsp'
out/parser.cc:2198: previous declaration as `Input*yylerrsp'
out/parser.cc:5583: invalid conversion from `Input*' to `int'
out/parser.cc:5584: invalid type argument of `unary *'
out/parser.cc:5626: invalid operands of types `int' and `Input*' to binary `
   operator-'
out/parser.cc:5575: warning: label `yyerrlab1' defined but not used
make[1]: *** [out/parser.o] Error 1
make[1]: Leaving directory `/data/build/Local/lilypond-2.7.8/lily'
make: *** [all] Error 2
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to