lilypond-user
[Top][All Lists]
Advanced

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

Errors building 1.7.22 & SuSE 87.2 (gcc 3.3)


From: Hans Forbrich
Subject: Errors building 1.7.22 & SuSE 87.2 (gcc 3.3)
Date: Sun, 22 Jun 2003 21:17:58 -0600

I'm attempting to build lilypond 1.7.22 on SuSE 8.2 Pro.

The results of the seconds attempt to "make all" are included at the end
(with sincere apologies to all for size).  My configuration is:

gcc 3.3
python 2.2.2
guile 1.6.2
gnu make 3.80
flex 2.5.4a
bison 1.875a

SuSE comes with gcc 3.3 prerelease, so this may be a symptom of a common
problem.   (SuSE 8.2 comes loaded with Lilypond 1.6.6, but I need the
features in 1.7 that I'd learned/used under SuSE 8.0 built with gcc
2.95)

In previous discussion (May 30) when this failed for 1.7.20, Graham
suggested downgrading to gcc 3.2.  I'd prefer not to get and build a
lower version if I can avoid it.

Ideas, suggestions appreciated.

/Hans

>>>>> output of 2nd run of make all >>>>>

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 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 /home/pops/SourceTarballs/lilypond-1.7.22/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
`/home/pops/SourceTarballs/lilypond-1.7.22/buildscripts'
true
make[1]: Leaving directory
`/home/pops/SourceTarballs/lilypond-1.7.22/buildscripts'
make[1]: Entering directory
`/home/pops/SourceTarballs/lilypond-1.7.22/python'
true
make[1]: Leaving directory
`/home/pops/SourceTarballs/lilypond-1.7.22/python'
make[1]: Entering directory
`/home/pops/SourceTarballs/lilypond-1.7.22/scripts'
true
true
make[1]: Leaving directory
`/home/pops/SourceTarballs/lilypond-1.7.22/scripts'
make[1]: Entering directory
`/home/pops/SourceTarballs/lilypond-1.7.22/flower'
make PACKAGE=LILYPOND package=lilypond -C include all && true
make[2]: Entering directory
`/home/pops/SourceTarballs/lilypond-1.7.22/flower/include'
true
make[2]: Leaving directory
`/home/pops/SourceTarballs/lilypond-1.7.22/flower/include'
make[1]: Leaving directory
`/home/pops/SourceTarballs/lilypond-1.7.22/flower'
make[1]: Entering directory
`/home/pops/SourceTarballs/lilypond-1.7.22/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        -O2
-finline-functions -g    -Wall  -W -Wmissing-prototypes -Wconversion  -o
out/lexer.o out/lexer.cc
In file included from /usr/local/include/c++/3.3/backward/iostream.h:31,

                 from /usr/local/include/FlexLexer.h:47,
                 from out/lexer.cc:241:
/usr/local/include/c++/3.3/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section
17.4.1.2 of the C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or <sstream> instead of
the deprecated header <strstream.h>. To disable this warning use
-Wno-deprecated.
In file included from /usr/local/include/FlexLexer.h:47,
                 from out/lexer.cc:241:
/usr/local/include/c++/3.3/backward/iostream.h:36: error: `istream' is
already
   declared in this scope
/usr/local/include/c++/3.3/backward/iostream.h:36: error: using
declaration `
   istream' introduced ambiguous type `istream'
lexer.ll: In member function `virtual int My_lily_lexer::yylex()':
lexer.ll:603: error: cannot convert `std::istream*' to `istream*' in
assignment
lexer.ll: In member function `void yyFlexLexer::yy_load_buffer_state()':

lexer.ll:1126: error: cannot convert `istream*' to `std::istream*' in
   assignment
lexer.ll: In member function `void
   yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
lexer.ll:1177: error: cannot convert `std::istream*' to `istream*' in
   assignment
/usr/local/include/c++/3.3/bits/locale_facets.h: At top level:
lexer.ll:135: warning: `int yy_start_stack_ptr' defined but not used
lexer.ll:136: warning: `int yy_start_stack_depth' defined but not used
lexer.ll:137: warning: `int*yy_start_stack' defined but not used
lexer.ll:139: warning: `void yy_push_state(int)' declared `static' but
never
   defined
lexer.ll:142: warning: `void yy_pop_state()' declared `static' but never

   defined
lexer.ll:145: warning: `int yy_top_state()' declared `static' but never
defined
make[1]: *** [out/lexer.o] Error 1
make[1]: Leaving directory
`/home/pops/SourceTarballs/lilypond-1.7.22/lily'
make: *** [all] Error 2





reply via email to

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