help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bison 2.1 problems


From: Hans Aberg
Subject: Re: bison 2.1 problems
Date: Tue, 10 Jan 2006 15:42:15 +0100

[Replies: cc Help-Bison.] The skeleton file bison.simple was deprecateed with Bison 1.35 or something. So perhaps you haven't set your PATh correctly. What do you get by
  bison --version
  echo $PATH
PATH is set (see 'man bash') in '.profile' for login shells (Terminal) and '.bashrc' for non-login shells (X Window).

On 9 Jan 2006, at 17:33, Amjad Majid Ali wrote:

hi folks
I have installed bison 2.1 on mac os x tiger in /usr/local/bin

When i try to run make This is error i get

/usr/share/bison.simple: In function 'yyparse':
/usr/share/bison.simple:253: error: nested functions are not on MacOSX
/usr/share/bison.simple:253: error: syntax error before '*' token
/usr/share/bison.simple:258: error: 'YYSTYPE' undeclared (first use in this function) /usr/share/bison.simple:258: error: (Each undeclared identifier is reported only once
/usr/share/bison.simple:258: error: for each function it appears in.)
/usr/share/bison.simple:258: error: parse error before 'yyvsa'
/usr/share/bison.simple:261: error: 'yyvs' undeclared (first use in this function) /usr/share/bison.simple:261: error: 'yyvsa' undeclared (first use in this function)
/usr/share/bison.simple:278: error: parse error before 'yylval'
/usr/share/bison.simple:285: error: parse error before 'yyval'
/usr/share/bison.simple:307: error: 'yyvsp' undeclared (first use in this function) /usr/share/bison.simple:323: error: 'yyvs1' undeclared (first use in this function)
/usr/share/bison.simple:378: error: parse error before ')' token
/usr/share/bison.simple:432: error: 'yylval' undeclared (first use in this function) /usr/share/bison.simple:524: error: 'yyval' undeclared (first use in this function)
make[3]: *** [ncap_yacc.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any solutions



_______________________________________________
address@hidden http://lists.gnu.org/mailman/listinfo/help-bison





reply via email to

[Prev in Thread] Current Thread [Next in Thread]