Compiling wireshark on Dfly
jungle Boogie
jungleboogie0 at gmail.com
Tue May 24 21:23:40 PDT 2016
Hi All,
Earlier in the week I posted this to the users group for wireshark:
https://www.wireshark.org/lists/wireshark-users/201605/msg00020.html
I'm on this dfly commit:
http://gitweb.dragonflybsd.org/dragonfly.git/commit/fd12d7abf774072de90123831266c42cfa5864a9
I'd like to compile wireshark from their trunk/master repo but it's failing:
ascend.c: In function 'ascendparse':
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
once for each function it appears in
Makefile:1008: recipe for target 'libwiretap_generated_la-ascend.lo' failed
gmake[3]: *** [libwiretap_generated_la-ascend.lo] Error 1
gmake[3]: Leaving directory '/home/user/bin/wireshark/wiretap'
Makefile:826: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/home/user/bin/wireshark/wiretap'
Makefile:3259: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/home/user/bin/wireshark'
Makefile:1782: recipe for target 'all' failed
gmake: *** [all] Error 2
user at fly% bison --version
bison (GNU Bison) 2.7.12-4996
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
user at fly% yacc -V
yacc - 1.9 20141006
Has anyone been adventurous enough to compile wireshark from source
before on Dfly?
--
-------
inum: 883510009027723
sip: jungleboogie at sip2sip.info
xmpp: jungle-boogie at jit.si
More information about the Users
mailing list