Wireshark-users: [Wireshark-users] ui/tap-tcp-stream.h build failure
From: jungle boogie <jungleboogie0@xxxxxxxxx>
Date: Thu, 19 Jan 2017 22:27:35 -0800
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?

Thanks!