bug-lilypond
[Top][All Lists]
Advanced

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

Re: compiling under mdk 9.0 beta, this time from cvs


From: Han-Wen Nienhuys
Subject: Re: compiling under mdk 9.0 beta, this time from cvs
Date: Fri, 9 Aug 2002 12:13:21 +0200

address@hidden writes:
> On Thu, 2002-08-08 at 00:13, Han-Wen Nienhuys wrote:
> 
> > I've upgraded to gcc-3 (nice speed improvements over here,
> > unfortunately not with lily), and fixed the sources so they compile
> > with gcc 3.
> 
> Sorry, still bad news :-)
> (today's cvs):
> 
> $ ./autogen.sh
> $ ./configure
> $ ./ make all
> 
> ...
> lexer.ll: In member function `virtual int My_lily_lexer::yylex()':
> lexer.ll:195: `cerr' undeclared (first use this function)
> lexer.ll:195: (Each undeclared identifier is reported only once for each
> function it appears in.)
> /usr/include/g++-v31/bits/locale_facets.h: At top level:
> lexer.ll:127: warning: `int yy_start_stack_ptr' defined but not used
> lexer.ll:128: warning: `int yy_start_stack_depth' defined but not used
> lexer.ll:129: warning: `int*yy_start_stack' defined but not used
> lexer.ll:131: warning: `void yy_push_state(int)' declared `static' but
> never defined
> lexer.ll:134: warning: `void yy_pop_state()' declared `static' but never
> definedlexer.ll:137: warning: `int yy_top_state()' declared `static' but
> never defined
> make[1]: *** [out/lexer.o] Error 1
> rm out/lexer.cc
> make[1]: Leaving directory `/home/carlo/z/lilypond/lily'
> make: *** [all] Error 2
> Command exited with non-zero status 2

Sorry, I can't duplicate this, directory. Please double-check that you
have the latest version of flex installed, and if you have, file a
bugreport with mandrake development.

> then tried:
> 
> $ make distclean
> $ ./lexer-gcc-3.1.sh  # btw: isn't the EOF message a bit recursive?

?

Copying and fixing /usr/include/FlexLexer.h... done
Generating and fixing /usr/include/FlexLexer.h... done

Remove config.cache before rerunning ./configure

Reconfigure, refix, and make doing something like:

    rm -f config.cache
    CPPFLAGS=-I/users/hanwen/usr/src/lilypond/lily/out ./configure
    ./lexer-gcc-3.1.sh
    make


-- 

Han-Wen Nienhuys   |   address@hidden    | http://www.cs.uu.nl/~hanwen/




reply via email to

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