Wireshark mailing list archives

Re: dragonflyBSD compiling failing from trunk


From: jungle Boogie <jungleboogie0 () gmail com>
Date: Mon, 23 May 2016 07:02:24 -0700

On May 22, 2016 11:08 PM, "Guy Harris" <guy () alum mit edu> wrote:

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.


Bison:
2.7.12-4996

Yacc:
1.9 20141006
___________________________________________________________________________
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: