lilypond-devel
[Top][All Lists]
Advanced

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

[Eric Gebhart] Re: 1.8 compile - syntax error.


From: Jan Nieuwenhuizen
Subject: [Eric Gebhart] Re: 1.8 compile - syntax error.
Date: Sun, 17 Aug 2003 23:34:31 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Sorry for not checking the bison version.  I checked flex, but when
it was so old I assumed bison probably was too. 

anyway, I'm getting further but it looks like I need to upgrade
kpathsea But I haven't been able to find a new version.  Every place
I look is ancient.

Eric

/usr/local/bin/python /home/eric/lilypond-1.8.0/stepmake/bin/make-version.py 
out/VERSION > out/version.hh
rm -f ./out/kpath.dep; DEPENDENCIES_OUTPUT="./out/kpath.dep ./out/kpath.o" g++ 
-c   -DHAVE_CONFIG_H  -DSTRING_UTILS_INLINED -Iinclude -I./out 
-I../flower/include -I../flower/./out -I../flower/include -O2 
-finline-functions -g -I/usr/share/texmf/include  -I/usr/local/include/kpathsea 
-I/usr/local/include/python2.3 -I/usr/local/include     -O2 -finline-functions 
-g -I/usr/share/texmf/include  -I/usr/local/include/kpathsea 
-I/usr/local/include/python2.3 -I/usr/local/include -Wall  -W 
-Wmissing-prototypes -Wconversion  -o out/kpath.o kpath.cc
kpath.cc: In function `class String kpathsea_find_afm(const char *)':
kpath.cc:47: `kpse_afm_format' undeclared (first use this function)
kpath.cc:47: (Each undeclared identifier is reported only once
kpath.cc:47: for each function it appears in.)
kpath.cc:47: implicit declaration of function `int kpse_find_file(...)'
kpath.cc: In function `class String kpathsea_find_tfm(const char *)':
kpath.cc:73: `kpse_tfm_format' undeclared (first use this function)
kpath.cc: In function `void init_kpath(char *)':
kpath.cc:88: warning: unused parameter `char * av0'
gmake[1]: *** [out/kpath.o] Error 1
gmake[1]: Leaving directory `/home/eric/lilypond-1.8.0/lily'
gmake: *** [all] Error 2


----- Eric Gebhart's Original Message -----
> 
> Ok.  Will do.  I'll let you know how it goes.
> 
> thanks,
> 
> Eric
> 
> ----- Jan Nieuwenhuizen's Original Message -----
> > Eric Gebhart writes:
> > 
> > [please keep on list]
> > 
> > > bison --version
> > > bison (GNU Bison) 1.75
> > > Written by Robert Corbett and Richard Stallman.
> > >
> > > gcc --version
> > > 2.95.4
> > 
> > I dowgraded my bison to 1.75, and parser won't compile.  It looks like
> > you should upgrade bison.
> > 
> > Greetings,
> > Jan.
> > 
> > 
> > $ make out/parser.cc
> > bison -o out/parser.cc parser.yy
> > parser.yy: let op: 2 shift/reductie conflicten
> > mv -f parser.yy.tab.c out/parser.cc # bison < 1.30
> > mv: cannot stat `parser.yy.tab.c': Onbekend bestand of map
> > make: [out/parser.cc] Fout 1 (genegeerd)
> > $ bison --version
> > bison (GNU Bison) 1.75
> > Written by Robert Corbett and Richard Stallman.
> >  
> > Copyright (C) 2002 Free Software Foundation, Inc.
> > Dit is vrije software; zie de broncode voor kopieercondities.  Er is GEEN
> > garantie; zelfs niet voor VERKOOPBAARHEID of GESCHIKTHEID VOOR EEN BEPAALD
> > DOEL.
> > $ rm out/parser*
> > $ make out/parser.cc
> > bison -o out/parser.cc parser.yy
> > parser.yy: let op: 2 shift/reductie conflicten
> > mv -f parser.yy.tab.c out/parser.cc # bison < 1.30
> > mv: cannot stat `parser.yy.tab.c': Onbekend bestand of map
> > make: [out/parser.cc] Fout 1 (genegeerd)
> > $ make out/parser.o CXX=g++-2.95
> > rm -f ./out/parser.dep; DEPENDENCIES_OUTPUT="./out/parser.dep 
> > ./out/parser.o" g++-2.95 -c   -DHAVE_CONFIG_H  -Iinclude -I./out 
> > -I../flower/include -I../flower/./out -I../flower/include -g   
> > -I/usr/include/python2.2 -I/home/janneke/usr/pkg/guile-1.7/include     -g   
> > -I/usr/include/python2.2 -I/home/janneke/usr/pkg/guile-1.7/include -Wall  
> > -W -Wmissing-prototypes -Wconversion  -o out/parser.o out/parser.cc
> > parser.yy: In function `int yyparse(void *)':
> > parser.yy:1882: parse error before `}'
> > make: *** [out/parser.o] Fout 1
> > $ sudo dpkg -i /var/cache/apt/archives/bison_1%3a1.875a-1_i386.deb 
> > (Database inlezen ... 168148 bestanden en mappen ge?nstalleerd.)
> > Voorbereiden om bison 1:1.75-1.1 te vervangen (met 
> > .../bison_1%3a1.875a-1_i386.deb) ...
> > Uitpakken van vervangende bison ...
> > Instellen van bison (1.875a-1) ...
> > $ rm out/parser*
> > $ make out/parser.o CXX=g++-2.95
> > bison -o out/parser.cc parser.yy
> > parser.yy: conflicts: 2 shift/reduce
> > mv -f parser.yy.tab.c out/parser.cc # bison < 1.30
> > mv: cannot stat `parser.yy.tab.c': Onbekend bestand of map
> > make: [out/parser.cc] Fout 1 (genegeerd)
> > rm -f ./out/parser.dep; DEPENDENCIES_OUTPUT="./out/parser.dep 
> > ./out/parser.o" g++-2.95 -c   -DHAVE_CONFIG_H  -Iinclude -I./out 
> > -I../flower/include -I../flower/./out -I../flower/include -g   
> > -I/usr/include/python2.2 -I/home/janneke/usr/pkg/guile-1.7/include     -g   
> > -I/usr/include/python2.2 -I/home/janneke/usr/pkg/guile-1.7/include -Wall  
> > -W -Wmissing-prototypes -Wconversion  -o out/parser.o out/parser.cc
> > rm out/parser.cc
> > 
> > -- 
> > Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
> > http://www.xs4all.nl/~jantien       | http://www.lilypond.org


-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

reply via email to

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