Wireshark-users: Re: [Wireshark-users] ui/tap-tcp-stream.h build failure

From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Fri, 20 Jan 2017 08:16:57 +0100


2017-01-20 7:27 GMT+01:00 jungle boogie <jungleboogie0@xxxxxxxxx>:
Hi All,

Building on Ubuntu-like 64bit machine from Wireshark's master repo on github and failing here:

make[2]: Entering directory '/home/user/bin/wireshark/ui'
make  all-am
make[3]: Entering directory '/home/user/bin/wireshark/ui'
  CC       capture.o
  CC       commandline.o
  CC       decode_as_utils.o
  CC       export_pdu_ui_utils.o
  CC       mcast_stream.o
  CC       preference_utils.o
  CC       proto_hier_stats.o
  CC       rtp_media.o
  CC       rtp_stream.o
  CC       ssl_key_export.o
  CC       tap_export_pdu.o
  CC       tap-iax2-analysis.o
  CC       tap-rlc-graph.o
  CC       tap-rtp-common.o
  CC       tap-sequence-analysis.o
  CC       tap-tcp-stream.o
In file included from tap-tcp-stream.c:41:0:
tap-tcp-stream.h:135:1: error: redefinition of ‘tcp_seq_before’
 tcp_seq_before(guint32 s1, guint32 s2) {
 ^
tap-tcp-stream.h:120:1: note: previous definition of ‘tcp_seq_before’ was here
 tcp_seq_before(guint32 s1, guint32 s2) {
 ^
tap-tcp-stream.h:140:1: error: redefinition of ‘tcp_seq_eq_or_after’
 tcp_seq_eq_or_after(guint32 s1, guint32 s2) {
 ^
tap-tcp-stream.h:125:1: note: previous definition of ‘tcp_seq_eq_or_after’ was here
 tcp_seq_eq_or_after(guint32 s1, guint32 s2) {
 ^
tap-tcp-stream.h:145:1: error: redefinition of ‘tcp_seq_after’
 tcp_seq_after(guint32 s1, guint32 s2) {
 ^
tap-tcp-stream.h:130:1: note: previous definition of ‘tcp_seq_after’ was here
 tcp_seq_after(guint32 s1, guint32 s2) {
 ^
Makefile:835: recipe for target 'tap-tcp-stream.o' failed
make[3]: *** [tap-tcp-stream.o] Error 1
make[3]: Leaving directory '/home/user/bin/wireshark/ui'
Makefile:738: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/user/bin/wireshark/ui'
Makefile:3401: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/bin/wireshark'
Makefile:1730: recipe for target 'all' failed
make: *** [all] Error 2


I think it might be this commit:
https://github.com/wireshark/wireshark/commit/73b5e3d0082cc7ca65e5a085bd80264e5a0b1082

Anyone else experiencing this build failure?

Hi,

Note that I do not know how often the github mirror is synchronized, so it might take a bit of time before it appears.

Thanks for the report,
Pascal.