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: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 22 May 2016 23:07:58 -0700
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.