On Thursday 09 September 2004 16:01,
From: Dave Phillips <dlphilp(a)bright.net>
Greetings:
I'm trying to debug a problem that occurs at the link stage in
compiling CVS sources for Denemo. Here's the moment in question:
Any suggestions for fixing ?
Flex 2.5.4, bison 1.35, gcc 3.2.2.
Upgrade flex. 2.5.4 has known bugs for generating incorrect C++ code that gcc
3.2 and later have problems with.
f.i. from the lilypond documentation
<quote>
WARNING: plain Flex 2.5.4(a) generates invalid C++ code. GCC 3.x chokes on
this. If you wish to use GCC 3.x, make sure that your distribution supports
g++ 3.x and flex. For workarounds, see lexer-gcc-3.1.sh in the source
directory.
</quote>
So I guess you could look at the lilypond sources for workarounds as well.
Alternatively get flex at
http://lex.sourceforge.net/
There are however also bugs with the most recent version(2.5.31), so the
linuxfromscratch folks recommend the patches from debian:
you can get the patch from:
http://www.linuxfromscratch.org/patches/lfs/cvs/unstable/flex-2.5.31-debian…
Hope this helps
Gerard
--
electronic & acoustic musics--
http://www.xs4all.nl/~gml