[OpenAFS-devel] OpenAFS 1.0.1 compile failure

Michael Nelson mikenel@iapetus.com
Sun, 21 Jan 2001 12:51:44 -0500 (EST)


On Sun, 21 Jan 2001, M. Hwang wrote:
> bison.simple(154) : error C2059: syntax error : 'do'
> bison.simple(168) : error C2059: syntax error : 'else'
> bison.simple(172) : error C2059: syntax error : 'while'
> bison.simple(325) : error C2065: 'yychar' : undeclared identifier
> bison.simple(563) : warning C4013: 'yylex' undefined; assuming extern returning
> int
> et_lex.lex.l(605) : warning C4013: 'fileno' undefined; assuming extern returning
>  int
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.

What version of Bison are you using? GNU Bison 1.22 works fine here. You
can get 1.25 if you install the Cygwin toolkit
(http://sourceware.cygnus.com).

-mike