Date: Thu, 2 Feb 2017 12:01:47 -0800 From: Manfred Antar <null@pozo.com> To: freebsd-current@freebsd.org Subject: tcpdump broken on current and64 Message-ID: <D6EFD8F3-2A26-4351-AE59-256A19E1B11D@pozo.com>
next in thread | raw e-mail | index | archive | help
tcpdump breaks buildworld since it was updated yesterday. this is on 12.0 C= urrent amd64 r313099 kernel Here is the error: (tcpdump)5026}make =3D=3D=3D> tcpdump (all) /usr/local/bin/ccache cc -O2 -pipe -I/usr/src/usr.sbin/tcpdump/tcpdump -= I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump -DHAVE_CONFIG_H= -D_U_=3D"__attribute__((unused))" -DINET6 -DHAVE_OS_IPV6_SUPPORT -DLBL_ALI= GN -I/usr/include/openssl -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H -DHAVE_NET_= PFVAR_H -DHAVE_NET_IF_PFLOG_H -MD -MF.depend.tcpdump.o -MTtcpdump.o -std= =3Dgnu99 -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W= -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-a= rith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-= int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value = -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-un= used-local-typedef -Qunused-arguments -c /usr/src/usr.sbin/tcpdump/tcpdum= p/../../../contrib/tcpdump/tcpdump.c -o tcpdump.o /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/tcpdump.c:1921:4= 1: warning: implicit declaration of function '_IOR' is invalid in C99 [-Wim= plicit-function-declaration] static const unsigned long cmds[] =3D { BIOCGSTATS, BIOCROT= ZBUF }; ^ /usr/include/net/bpf.h:128:20: note: expanded from macro 'BIOCGSTATS' #define BIOCGSTATS _IOR('B', 111, struct bpf_stat) ^ /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/tcpdump.c:1921:4= 1: error: expected expression /usr/include/net/bpf.h:128:35: note: expanded from macro 'BIOCGSTATS' #define BIOCGSTATS _IOR('B', 111, struct bpf_stat) ^ /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/tcpdump.c:1921:5= 3: error: expected expression static const unsigned long cmds[] =3D { BIOCGSTATS, BIOCROT= ZBUF }; ^ /usr/include/net/bpf.h:145:36: note: expanded from macro 'BIOCROTZBUF' #define BIOCROTZBUF _IOR('B', 128, struct bpf_zbuf) ^ /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/tcpdump.c:1934:1= 3: error: invalid application of 'sizeof' to an incomplete type 'const unsi= gned long []' sizeof(cmds) / sizeof(cmds[0])) < 0 && errno !=3D ENOSY= S) { ^~~~~~ 1 warning and 3 errors generated. *** Error code 1 Stop. make[1]: stopped in /usr/src/usr.sbin/tcpdump/tcpdump *** Error code 1 Stop. make: stopped in /usr/src/usr.sbin/tcpdump
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D6EFD8F3-2A26-4351-AE59-256A19E1B11D>