Lilypond wants FlexLexer
Pierre Abbat
phma at phma.optus.nu
Sun Dec 4 07:15:30 PST 2011
On Sunday 04 December 2011 05:55:47 Pierre Abbat wrote:
> I made a symlink to FlexLexer.h in /usr/include and it's compiling. That's
> not a fix to the package, but it shows that it's not looking for the
> include file in the right place.
Looks like it's including the wrong version of FlexLexer:
rm -f ./out/lexer.dep; DEPENDENCIES_OUTPUT="./out/lexer.dep ./out/lexer.o"
c++ -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -Woverloaded-virtual -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/python2.6 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -DHAVE_CONFIG_H -I./include -I./out -I../flower/include -I../flower/./out -I../flower/include -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -g -pipe -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -pthread -I/usr/pkg/i
nclude/freetype2 -I/usr/pkg/include -pthread -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -Wno-pmf-conversions -W -Wall -Wconversion -o
out/lexer.o out/lexer.cc
In file included from out/lexer.cc:242:
. /out/FlexLexer.h:130: error: expected unqualified-id before numeric constant
out/lexer.cc: In member function 'virtual int Lily_lexer::yylex()':
out/lexer.cc:3789: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc:4718: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc:4741: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In constructor 'yyFlexLexer::yyFlexLexer(std::istream*,
std::ostream*)':
out/lexer.cc:4858: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In destructor 'virtual yyFlexLexer::~yyFlexLexer()':
out/lexer.cc:4870: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'virtual void
yyFlexLexer::switch_streams(std::istream*, std::ostream*)':
out/lexer.cc:4877: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'int yyFlexLexer::yy_get_next_buffer()':
out/lexer.cc:4930: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'void yyFlexLexer::yyunput(int, char*)':
out/lexer.cc:5115: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'int yyFlexLexer::yyinput()':
out/lexer.cc:5156: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'virtual void
yyFlexLexer::yyrestart(std::istream*)':
out/lexer.cc:5215: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc:5218: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'virtual void
yyFlexLexer::yy_switch_to_buffer(yy_buffer_state*)':
out/lexer.cc:5225: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc:5228: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc:5236: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'void yyFlexLexer::yy_load_buffer_state()':
out/lexer.cc:5250: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'virtual void
yyFlexLexer::yy_delete_buffer(yy_buffer_state*)':
out/lexer.cc:5287: error: 'yy_current_buffer' was not declared in this scope
out/lexer.cc: In member function 'void
yyFlexLexer::yy_flush_buffer(yy_buffer_state*)':
out/lexer.cc:5329: error: 'yy_current_buffer' was not declared in this scope
gmake[1]: *** [out/lexer.o] Error 1
gmake[1]: Leaving directory
`/usr/obj/pkgsrc/print/lilypond/work/lilypond-2.14.2/lily'
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/print/lilypond
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/print/lilypond
Pierre
--
li ze te'a ci vu'u ci bi'e te'a mu du
li ci su'i ze te'a mu bi'e vu'u ci
More information about the Users
mailing list