Hi,
I can't get Lilypond 2.0.3 to compile.
It looks like this is due to the gcc/flex problem, but I'm not sure.
I'm using SuSE Linux 7.0, flex 2.5.31 and gcc 3.3.3 and have followed
the instructions in the install file (involving lexer-gcc-3.1.sh).
Output file attached.
Can anyone suggest a solution or confirm that downgrading to
gcc 2.95 is likely to help?
Thanks,
Koen
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 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 && true
make[1]: Entering directory `/usr/local/src/lilypond-2.0.3/buildscripts'
true
make[1]: Leaving directory `/usr/local/src/lilypond-2.0.3/buildscripts'
make[1]: Entering directory `/usr/local/src/lilypond-2.0.3/python'
true
make[1]: Leaving directory `/usr/local/src/lilypond-2.0.3/python'
make[1]: Entering directory `/usr/local/src/lilypond-2.0.3/scripts'
true
true
make[1]: Leaving directory `/usr/local/src/lilypond-2.0.3/scripts'
make[1]: Entering directory `/usr/local/src/lilypond-2.0.3/elisp'
true
make[1]: Leaving directory `/usr/local/src/lilypond-2.0.3/elisp'
make[1]: Entering directory `/usr/local/src/lilypond-2.0.3/flower'
make PACKAGE=LILYPOND package=lilypond -C include all && true
make[2]: Entering directory `/usr/local/src/lilypond-2.0.3/flower/include'
true
make[2]: Leaving directory `/usr/local/src/lilypond-2.0.3/flower/include'
make[1]: Leaving directory `/usr/local/src/lilypond-2.0.3/flower'
make[1]: Entering directory `/usr/local/src/lilypond-2.0.3/lily'
rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep ./out/lexer.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/local/src/lilypond-2.0.3/lily/out -I/usr/local/include/python2.2
-I/usr/local/include -O2 -finline-functions -g
-I/usr/local/src/lilypond-2.0.3/lily/out -I/usr/local/include/python2.2
-I/usr/local/include -Wall -W -Wmissing-prototypes -Wconversion -o out/lexer.o
out/lexer.cc
In file included from /usr/local/include/libguile/tags.h:58,
from /usr/local/include/libguile/__scm.h:327,
from /usr/local/include/libguile.h:50,
from /usr/local/include/guile/gh.h:50,
from include/lily-guile.hh:18,
from include/protected-scm.hh:14,
from include/source-file.hh:10,
from lexer.ll:36:
/usr/include/inttypes.h: In function `intmax_t imaxabs(long long int)':
/usr/include/inttypes.h:421: error: call of overloaded `llabs(intmax_t&)' is
ambiguous
/usr/include/inttypes.h:411: error: candidates are: long long int llabs(long
long int)
/usr/local/include/c++/3.3.3/cstdlib:152: error: long long int
__gnu_cxx::llabs(long long int)
/usr/include/inttypes.h: In function `imaxdiv_t imaxdiv(long long int, long
long int)':
/usr/include/inttypes.h:428: error: call of overloaded `lldiv(intmax_t&,
intmax_t&)' is ambiguous
/usr/include/inttypes.h:414: error: candidates are: lldiv_t lldiv(long long
int, long long int)
/usr/local/include/c++/3.3.3/cstdlib:161: error: lldiv_t
__gnu_cxx::lldiv(long long int, long long int)
out/lexer.cc: In member function `virtual int My_lily_lexer::yylex()':
out/lexer.cc:3470: error: no class template named `std' in `std'
out/lexer.cc:3477: error: no class template named `std' in `std'
out/lexer.cc:3532: error: no class template named `std' in `std'
out/lexer.cc:3534: error: no class template named `std' in `std'
out/lexer.cc:3537: error: no class template named `std' in `std'
out/lexer.cc:3539: error: no class template named `std' in `std'
out/lexer.cc:3541: error: no class template named `std' in `std'
out/lexer.cc: In member function `virtual void yyFlexLexer::LexerError(const
char*)':
out/lexer.cc:5259: error: no class template named `std' in `std'
make[1]: *** [out/lexer.o] Error 1
make[1]: Leaving directory `/usr/local/src/lilypond-2.0.3/lily'
make: *** [all] Error 2
_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user