Wireshark mailing list archives

Re: dragonflyBSD compiling failing from trunk


From: Guy Harris <guy () alum mit edu>
Date: Sun, 22 May 2016 23:07:58 -0700

On May 22, 2016, at 8:51 PM, jungle Boogie <jungleboogie0 () gmail com> 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.
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: