lilypond-devel
[Top][All Lists]
Advanced

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

Re: CVS doesn't compile !


From: Jiba
Subject: Re: CVS doesn't compile !
Date: Sat, 28 Sep 2002 11:10:47 +0200
User-agent: KMail/1.4.3

Le Vendredi 27 Septembre 2002 00:20, Han-Wen Nienhuys a écrit :
> address@hidden writes:
> > Hi,
> >
> > I'm trying to compile the current CVS under Mandrake Linux 9.0 RC2 on x86
> > with GCC 3.2 and flex 2.5.4, and i get:
>
> have you tried the gcc-lexer-3.1.sh script?

No... But using it, i get a big bunch of error, maybe because i'm using GCC 
3.2 and not 3.1 ?

I have done:

        make clean
        rm -f config.cache
        CPPFLAGS=-I/home/jiba/src/lilypond/lily/out ./configure --prefix=/usr
        ./lexer-gcc-3.1.sh
        make all

and i get:

rm -f ./out/includable-lexer.dep; 
DEPENDENCIES_OUTPUT="./out/includable-lexer.dep ./out/includable-lexer.o" c++ 
-c   -DHAVE_CONFIG_H  -DSTRING_UTILS_INLINED -Iinclude -I./out 
-I../flower/include -I../flower/./out -I../flower/include -O2 
-finline-functions -g -I/home/jiba/src/lilypond/lily/out       -O2 
-finline-functions -g -I/home/jiba/src/lilypond/lily/out   -Wall  -W 
-Wmissing-prototypes -Wconversion  -o out/includable-lexer.o 
includable-lexer.cc
In file included from include/includable-lexer.hh:13,
                 from includable-lexer.cc:13:
out/FlexLexer.h:64: no class template named `std' in `std'
out/FlexLexer.h:64: `s' was not declared in this scope
out/FlexLexer.h:64: parse error before `)' token
out/FlexLexer.h:66: no class template named `std' in `std'
out/FlexLexer.h:66: `s' was not declared in this scope
out/FlexLexer.h:66: virtual outside class declaration
out/FlexLexer.h:66: variable or field `yyrestart' declared void
out/FlexLexer.h:71: no class template named `std' in `std'
out/FlexLexer.h:71: `new_in' was not declared in this scope
out/FlexLexer.h:71: no class template named `std' in `std'
out/FlexLexer.h:71: `new_out' was not declared in this scope
out/FlexLexer.h:72: initializer list being treated as compound expression
out/FlexLexer.h:72: syntax error before `{' token
out/FlexLexer.h: In member function `const char* FlexLexer::YYText()':
out/FlexLexer.h:58: `yytext' undeclared (first use this function)
out/FlexLexer.h:58: (Each undeclared identifier is reported only once for each 
function it appears in.)
out/FlexLexer.h: In member function `int FlexLexer::YYLeng()':
out/FlexLexer.h:59: `yyleng' undeclared (first use this function)
out/FlexLexer.h: At global scope:
out/FlexLexer.h:79: warning: `virtual' is not at beginning of declaration
out/FlexLexer.h:79: no class template named `std' in `std'
out/FlexLexer.h:79: `new_in' was not declared in this scope
out/FlexLexer.h:80: no class template named `std' in `std'
out/FlexLexer.h:80: `new_out' was not declared in this scope
out/FlexLexer.h:80: two or more data types in declaration of `switch_streams'
out/FlexLexer.h:80: virtual outside class declaration
out/FlexLexer.h:80: cannot declare variable `switch_streams' to be of type 
`FlexLexer'
out/FlexLexer.h:80:   because the following virtual functions are abstract:
out/FlexLexer.h:68:     virtual int FlexLexer::yylex()
out/FlexLexer.h:65:     virtual void 
FlexLexer::yy_delete_buffer(yy_buffer_state*)
out/FlexLexer.h:64:     virtual yy_buffer_state* 
FlexLexer::yy_create_buffer(...)
out/FlexLexer.h:62:     virtual void 
FlexLexer::yy_switch_to_buffer(yy_buffer_state*)
out/FlexLexer.h:80: assignment (not initialization) in declaration
out/FlexLexer.h:82: non-member function `int lineno()' cannot have `const' 
method qualifier
out/FlexLexer.h: In function `int lineno()':
out/FlexLexer.h:82: `yylineno' undeclared (first use this function)
out/FlexLexer.h: At global scope:
out/FlexLexer.h:84: non-member function `int debug()' cannot have `const' 
method qualifier
out/FlexLexer.h: In function `int debug()':
out/FlexLexer.h:84: `yy_flex_debug' undeclared (first use this function)
out/FlexLexer.h: At global scope:
out/FlexLexer.h:87: parse error before `protected'
out/FlexLexer.h:89: `int yyleng' used prior to declaration
out/FlexLexer.h:90: `int yylineno' used prior to declaration
out/FlexLexer.h:91: `int yy_flex_debug' used prior to declaration
out/FlexLexer.h:94: parse error before `}' token
out/FlexLexer.h:107: no class template named `std' in `std'
out/FlexLexer.h:107: parse error before `*' token
out/FlexLexer.h:112: no class template named `std' in `std'
out/FlexLexer.h:112: `s' was not declared in this scope
out/FlexLexer.h:112: parse error before `)' token
out/FlexLexer.h:114: no class template named `std' in `std'
out/FlexLexer.h:114: `s' was not declared in this scope
out/FlexLexer.h:114: invalid data member initialization
out/FlexLexer.h:114: (use `=' to initialize static data members)
out/FlexLexer.h:114: variable or field `yyrestart' declared void
out/FlexLexer.h:117: no class template named `std' in `std'
out/FlexLexer.h:117: `new_in' was not declared in this scope
out/FlexLexer.h:117: no class template named `std' in `std'
out/FlexLexer.h:117: `new_out' was not declared in this scope
out/FlexLexer.h:117: invalid data member initialization
out/FlexLexer.h:117: variable or field `switch_streams' declared void
out/FlexLexer.h:117: `switch_streams' declared as a `virtual' field
out/FlexLexer.h:128: no class template named `std' in `std'
out/FlexLexer.h:128: no type `istream' in `<type error>'
out/FlexLexer.h:128: parse error before `*' token
out/FlexLexer.h:143: no class template named `std' in `std'
out/FlexLexer.h:143: syntax error before `*' token
out/FlexLexer.h:144: no class template named `std' in `std'
out/FlexLexer.h:144: syntax error before `*' token
make[1]: *** [out/includable-lexer.o] Erreur 1
make[1]: Quitte le répertoire `/home/jiba/src/lilypond/lily'
make: *** [all] Erreur 2




reply via email to

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