[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Almost built but not quite. Suggestions?
From: |
Jan Nieuwenhuizen |
Subject: |
Re: Almost built but not quite. Suggestions? |
Date: |
15 Dec 2001 09:45:48 +0100 |
"Jack J. Woehr" <address@hidden> writes:
> Well, I'm almost there.
> Each time bison ran, with the commands:
>
> bison parser.yy
> mv parser.yy.tab.c out/parser.cc
>
> The parser.yy.tab.c file would be missing. So I descended manually and ran
> bison there and then everything seemed okay.
Strange, what was the error you got; and what bison command did you
use that succeeded? It looks like both commands
were successful, and that's the cause of the link failure:
c++ -o out/lilypond ./out/a2-engraver.o ...
./out/paper-score.o ./out/parser.tab.o ./out/part-combine-music-iterator.o ...
./out/lexer.o ./out/parser.o ./out/../../flower/out/library.a ...
you have both parser.tab.o and parser.o. remove parser.tab.c from
./lily and rerun make
> ./out/parser.o: In function `regular_identifier_b(void *)':
> /usr/local/src/various/lilypond-stuff/lilypond-1.5.25/lily/parser.yy:67:
> multiple definition of `regular_identifier_b(void *)'
> ./out/parser.tab.o:/usr/local/src/various/lilypond-stuff/lilypond-1.5.25/lily/parser.yy:67:
> first defined here
you see, all parser definitions are double.
Jan.
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org
- Almost built but not quite. Suggestions?, Jack J. Woehr, 2001/12/14
- Re: Almost built but not quite. Suggestions?,
Jan Nieuwenhuizen <=
- Re: Almost built but not quite. Suggestions?, Jack J. Woehr, 2001/12/15
- Re: Almost built but not quite. Suggestions?, Jack J. Woehr, 2001/12/15
- Re: Almost built but not quite. Suggestions?, Jack J. Woehr, 2001/12/16
- Re: Almost built but not quite. Suggestions?, Mats Bengtsson, 2001/12/16
- Size, Gregory (Grisha) Trubetskoy, 2001/12/16
- Re: Size, Graham Percival, 2001/12/17
- Re: Size, Mats Bengtsson, 2001/12/17