[mira_talk] Re: Problem when compile mira 3.2.1

  • From: Robert Bruccoleri <bruc@xxxxxxxxxxxxxxxxxxxxx>
  • To: mira_talk@xxxxxxxxxxxxx
  • Date: Fri, 14 Jan 2011 09:08:10 -0500

Dear Xiaoli,
This could be due to a mismatch between Flex and Flex++ versions. Try the following:

flex -V
flex++ -V

The versions should match.

Also, prior to the configure, try the following:

rm `find . -iname '*flexer.cc'`

Cheers,
Bob

Xiaoli Zhang wrote:
Bastien Chevreux <bach@xxxxxxxxxxxx> wrote:

On Jan 14, 2011, at 14:43 , Xiaoli Zhang wrote:
I am trying to install mira 3.2.1 now. But when I compile it, I got
theses errors:
exp_flexer.cc:325: error: no 'int EXPFlexLexer::yywrap()' member function
declared in class 'EXPFlexLexer'
exp_flexer.cc: In member function 'virtual int EXPFlexLexer::yylex()': exp_flexer.cc:771: error: 'yy_buffer_stack' was not declared in this
scope
exp_flexer.cc:771: error: 'yy_buffer_stack_top' was not declared in this
scope
exp_flexer.cc:772: error: 'yyensure_buffer_stack' was not declared in
this scope
exp_flexer.cc:799: error: 'yy_buffer_stack' was not declared in this
scope
exp_flexer.cc:799: error: 'yy_buffer_stack_top' was not declared in this
scope
exp_flexer.cc: In constructor 'EXPFlexLexer::EXPFlexLexer(std::istream*,
std::ostream*)':
exp_flexer.cc:1390: error: 'yy_buffer_stack' was not declared in this
scope
exp_flexer.cc:1391: error: 'yy_buffer_stack_top' was not declared in this
scope
……
I installed mira 3.0.5 successfully before but don't know why cannot
compile mira 3.2.1 now.
My flex is flex 2.5.33
Does
 make distclean

and then

 ./configure (with whatever you have as options)

and then

 make

work?


No, still get the same errors.

Xiaoli



begin:vcard
fn:Robert Bruccoleri
n:Bruccoleri;Robert
org:Audacious Energy, LLC and Congenomics, LLC
adr:;;;;;;USA
email;internet:bruc@xxxxxxx
title:President
version:2.1
end:vcard

Other related posts: