Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: Re: [Wireshark-users] dragonflyBSD compiling failing from trunk

From: jungle Boogie <jungleboogie0@xxxxxxxxx>
Date: Mon, 23 May 2016 07:02:24 -0700


On May 22, 2016 11:08 PM, "Guy Harris" <guy@xxxxxxxxxxxx> wrote:
>
> On May 22, 2016, at 8:51 PM, jungle Boogie <jungleboogie0@xxxxxxxxx> wrote:
>
> > ascend.c:38:20: warning: declaration of 'ascendlval' shadows a global
> > declaration [-Wshadow]
> > #define yylval     ascendlval
> >                    ^
> > ascend.c:684:14: note: in expansion of macro 'yylval'
> >     YYSTYPE  yylval;
> >              ^
> > In file included from ./ascend.y:163:0:
> > ascend.h:25:16: note: shadowed declaration is here
> > extern YYSTYPE ascendlval;
> >                ^
> > ./ascend.y:227:3: error: 'parser_state' undeclared (first use in this function)
> >   parser_state->wirelen += $11;
> >   ^
> > ./ascend.y:227:3: note: each undeclared identifier is reported only
>
> What do the commands
>
>         bison --version
>         yacc -V
>
> print?  You might have a version of Bison or Berkeley YACC that's too old for the master-branch version of Wireshark.
>

Bison:
2.7.12-4996

Yacc:
1.9 20141006