Re: VIS installation Problem

From: Mohammad.R Kakoee (kakoee_at_cad.ece.ut.ac.ir)
Date: Thu Jun 29 2006 - 02:03:50 MDT


Hi,
yytext is avariable that must be defined in the yacc or lex file. you can
define it in your yacc file or in the correspondence C file.
Add the following line at the first of ctlp.y file.
char* yytext;
>
> Hi all,
> I am getting an error while building the VIS.
> And i am getting this message in the end,when it quit the make
> script.
>
>
> ***************************************************************************
> ./src/ctlp/ctlp.y: In function `int CtlpYyparse()':
> ./src/ctlp/ctlp.y:296: error: `yytext' undeclared (first use this
> function)
> ./src/ctlp/ctlp.y:296: error: (Each undeclared identifier is reported
> only once
> for each function it appears in.)
> make: *** [obj/ctlpRead.o] Error 1
>
> ***************************************************
> and after that it stops.
>
> I have flex 2.5.31 and bison 2.0 and i even set the environment variable
> to share directory
> % setenv VIS_LIBRARY_PATH $cwd/share
>
> Does anybody have any idea,why it is so and what i can do in this
> case? to build the VIS?
>
> Thanks in advance
>
> Ravi Shankar

Mohammad.Reza kakoee
ECE Department, University of Tehran
http://cad.ece.ut.ac.ir/~kakoee



This archive was generated by hypermail 2.1.7 : Thu Jun 29 2006 - 03:17:11 MDT