lilypond-devel
[Top][All Lists]
Advanced

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

compiling with gcc-3.2.2


From: Sebastian J. Bronner
Subject: compiling with gcc-3.2.2
Date: Mon, 17 Mar 2003 02:04:05 -0700
User-agent: KMail/1.4.3

Previously, I successfully installed lilypond-1.6.6 with flex-2.5.23 and
gcc-3.2.  Now, when installing lilypond-1.7.14 with flex-2.5.27 and
gcc-3.2.2, I get the error included below from make.

configure runs with no errors, the configure line I used is:
./configure --prefix=/usr --sysconfdir=/etc --disable-debug

And just to be sure we're clear on this: flex-2.5.27 supports gcc-3.2 code
(I don't know what that means about gcc-3.2.2), and the second error (the
one that stops the compilation) appears to be generated by flex, not gcc.

===make log===
[snipped 366 lines]

bison -o./out/parser.cc -d parser.yy
parser.yy: conflicts: 2 shift/reduce
mv -f parser.yy.tab.h out/parser.hh  # bison < 1.30 ???
mv: cannot stat `parser.yy.tab.h': No such file or directory
make[1]: [out/parser.hh] Error 1 (ignored)
mv -f ./out/parser.cc.h out/parser.hh  # bison < 1.30
mv: cannot stat `./out/parser.cc.h': No such file or directory
make[1]: [out/parser.hh] Error 1 (ignored)
mv parser.tab.hh out/parser.hh
mv: cannot stat `parser.tab.hh': No such file or directory
make[1]: [out/parser.hh] Error 1 (ignored)

[snipped 161 lines]

flex -Cfe -p -p -t lexer.ll > out/lexer.cc
lexer.ll:486: warning, rule cannot be matched
lexer.ll:572: warning, -s option given but default rule can be matched
rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep ./out/lexer.o" g++ 
-c -O3 -march=athlon  -DHAVE_CONFIG_H  -DSTRING_UTILS_INLINED -Iinclude -I./out 
-I../flower/include -I../flower/./out -I../flower/include -O3 -march=athlon -O2 
-finline-functions -g        -O3 -march=athlon -O2 -finline-functions -g    
-Wall  -W -Wmissing-prototypes -Wconversion  -o out/lexer.o out/lexer.cc
lexer.ll: In function `void avoid_silly_flex_induced_gcc_warnings()':
lexer.ll:795: `yy_start_stack_ptr' undeclared (first use this function)
lexer.ll:795: (Each undeclared identifier is reported only once for each 
   function it appears in.)
lexer.ll:796: `yy_start_stack_depth' undeclared (first use this function)
lexer.ll:797: `yy_start_stack' undeclared (first use this function)
make[1]: *** [out/lexer.o] Error 1
rm out/lexer.cc
make[1]: Leaving directory `/data/software/src/lilypond-1.7.14/lily'
make: *** [all] Error 2

[compilation stops here]
===end make log===
-- 
Sebastian J. Bronner
address@hidden




reply via email to

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