[Dibbler-devel] FW: make parser issue

Sowmya Manjanatha smanjanatha at fortresstech.com
Thu Nov 20 18:37:52 CET 2008


Hi,

 

I need some help compiling the dibbler parser.  I encountered a problem
when compiling dibbler after having compiled the parser.  I did the
following:

 

Step 1) make bison

Step 2) touch SrvCfgMgr/SrvLexer.l  and then touch SrvCfgMgr/SrvParser.y

Step 3) make parser

Step 4) make server

 

I get the error below.  Note that I haven't actually made any changes to
SrvLexer.l or SrvParser.y, however I just recompiled the parser.
Eventually, I do want to add a new option to be accepted as part of
dibbler-server Config file.  I am using bison that is provided as part
of dibbler source tree.  The version of flex I am using is flex 2.5.4 on
a fedora core 3 SMP machine.  Let me know if there is a problem with the
version of flex I am using or my method of compilation.

 

Thanks ,

Sowmya.

 


In file included from SrvLexer.cpp:241:

../include/FlexLexer.h:130: error: declaration does not declare anything

../include/FlexLexer.h:130: error: virtual outside class declaration

../include/FlexLexer.h:130: error: parse error before numeric constant

SrvLexer.cpp: In member function `virtual int yyFlexLexer::yylex()':

SrvLexer.cpp:1428: error: `yy_current_buffer' undeclared (first use this

   function)

SrvLexer.cpp:1428: error: (Each undeclared identifier is reported only
once for

   each function it appears in.)

SrvLexer.cpp:1469: warning: label `find_rule' defined but not used

../include/Container.h: At top level:

SrvLexer.cpp:2863: warning: `void* yy_flex_realloc(void*, unsigned int)'

   defined but not used

make[1]: *** [SrvLexer.o] Err

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://klub.com.pl/pipermail/dibbler-devel/attachments/20081120/ba723ea5/attachment.html 


More information about the Dibbler-devel mailing list