lilypond-devel
[Top][All Lists]
Advanced

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

Re: Build propblems - parser (cvs)


From: Mats Bengtsson
Subject: Re: Build propblems - parser (cvs)
Date: Fri, 06 Dec 2002 18:18:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

This problem and a workaround has appeared a number of times on the
mailing list. Just rename lily/out/parser.cc.h to lily/out/parser.h
and rerun make. This seems to happen with older versions of bison
(I have 1.28 and had to do this manual step when upgrading to
Lilypond 1.7). I just submitted a patch to the latest CVS that
solves the problem, at least  on my installation.

   /Mats

Rune Zedeler wrote:
bison -o./out/parser.cc -d parser.yy
parser.yy contains 2 shift/reduce conflicts.
mv -f parser.yy.tab.h out/parser.hh  # bison < 1.30
mv: parser.yy.tab.h: No such file or directory
make[1]: [out/parser.hh] Error 1 (ignored)
mv parser.tab.hh out/parser.hh
mv: parser.tab.hh: No such file or directory
make[1]: [out/parser.hh] Error 1 (ignored)
rm -f parser.tab.c parser.tab.cc # bison < 1.30
rm -f ./out/parser.cc # avoid recompiling the .cc file rm -f ./out/my-lily-lexer.dep;
DEPENDENCIES_OUTPUT="./out/my-lily-lexer.dep ./out/my-lily-lexer.o" g++
-c   -DHAVE_CONFIG_H  -Iinclude -I./out -I../flower/include
-I../flower/./out -I../flower/include
-I/users/kaja/texlive/Master/include -I/users/rz/usr/i686/include -I/users/kaja/texlive/Master/include -I/users/rz/usr/i686/include -Wall -W -Wmissing-prototypes -Wconversion -o out/my-lily-lexer.o
my-lily-lexer.cc
my-lily-lexer.cc:10: warning: No include path in which to find sstream
my-lily-lexer.cc:17: parser.hh: No such file or directory
make[1]: *** [out/my-lily-lexer.o] Error 1
make[1]: Leaving directory `/users/rz/lilypond/lilypond/lily'
make: *** [all] Error 2
address@hidden:~/lilypond/lilypond]$ bison --version
GNU Bison version 1.28


-Rune


_______________________________________________
Lilypond-devel mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-devel


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~matsb
=============================================





reply via email to

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