lilypond-user
[Top][All Lists]
Advanced

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

Re: Compile Troubles


From: Jan Nieuwenhuizen
Subject: Re: Compile Troubles
Date: 04 Nov 2001 20:56:23 +0100

Alan McConnell <address@hidden> writes:


> lexer.ll:132: warning: `int yy_top_state()' declared `static' but never 
> defined
> make[1]: *** [out/lexer.o] Error 1
> rm out/lexer.cc
>
> I am running Debian Woody, gcc 3.0, and GNU make, version 3.79.1.
> 
> Has anyone else had trouble with this build?  any hints about how to
> proceed?

Have a look at INSTALL.txt:

    Debian GNU/Linux unstable gcc-3.0
    ---------------------------------

       Flex (2.5.4a-11) in unstable does not produce g++-3.0 compliant C++
    code.  To compile LilyPond with gcc-3.0 you may do:

                 CC=gcc-3.0 CXX=g++-3.0 ./configure --enable-config=gcc-3.0
                 make conf=gcc-3.0 -C lily out-gcc-3.0/lexer.cc
                 patch -p1 < lexer-gcc-3.0.patch
                 make conf=gcc-3.0 -C lily

List, this question has been answered more than once, although it's in
the install notes.

Any tips on how to avoid this (apart from searchable mailarchives...)?

Jan.

-- 
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]