Re: A problem when install

From: Quer Stefano (stefano.quer_at_polito.it)
Date: Tue May 30 2006 - 07:07:49 MDT


ÕÔÑô wrote:

>Dear Sir:
> I encounter a problem when install the vis-2.1. After making and installing the glu, when make vis, it gives me the error information below:
>./src/ctlp/ctlp.y: In function `CtlpYyparse':
>./src/ctlp/ctlp.y:296: `yytext' undeclared (first use in this function)
>./src/ctlp/ctlp.y:296: (Each undeclared identifier is reported only once
>./src/ctlp/ctlp.y:296: for each function it appears in.)
>
> It seems that there may be something wrong in YACC. I'm sure that I have installed the flex and bison whose version is new enough. When ./configure, flex and bison are also found.
> How can I solve this problem? Thank you.
>
>
>
> Yours: Zhao,Yang
>
>
>
Your hypothesis is right.
The problem is due to the newer versions of flex and bison which fail to
generate the C source code for the ctlsp package.
My quickest and dirtiest fix: get C sources (of ctlpLex.c, ctlpRead.c,
ctlspLex.c,
ctlspRead.c) from old flex and bison versions.

Bye,
StQ

-- 
Stefano Quer, Politecnico di Torino, Dip. Automatica e Informatica
C.so Duca degli Abruzzi 24, I-10129 Torino Italy
Phone: +39 011 564 7076, Fax: +39 011 564 7099
Email: stefano.quer_at_polito.it, URL: http://staff.polito.it/stefano.quer/


This archive was generated by hypermail 2.1.7 : Tue May 30 2006 - 06:13:12 MDT