------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/ncurses-6.1.20190525.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/libtextstyle-0.20.1.txz Installing /packages/All/gettext-runtime-0.20.1.txz Installing /packages/All/m4-1.4.18_1,1.txz Installing /packages/All/bison-3.5.2,1.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2019.2.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9,1.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libICE-1.0.10,1.txz Installing /packages/All/libSM-1.2.3,1.txz Installing /packages/All/libXt-1.2.0,1.txz Installing /packages/All/libXpm-3.5.13.txz Installing /packages/All/freetype2-2.10.1.txz ===== Message from freetype2-2.10.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed). Installing /packages/All/expat-2.2.8.txz Installing /packages/All/fontconfig-2.12.6,1.txz Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded Installing /packages/All/png-1.6.37.txz Installing /packages/All/jpeg-turbo-2.0.4.txz Installing /packages/All/libXmu-1.1.3,1.txz Installing /packages/All/libXaw-1.0.13_3,2.txz Installing /packages/All/xbitmaps-1.1.2.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/libXft-2.3.3.txz Installing /packages/All/open-motif-2.3.8_1.txz SUCCEEDED 00:00:06 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> tcpview-1.0_7 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> tcpview-1.0_7 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by tcpview-1.0_7 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> tcpview-1.0_7 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by tcpview-1.0_7 for building => SHA256 Checksum OK for tcpview-1.0.tar.Z. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> tcpview-1.0_7 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by tcpview-1.0_7 for building ===> Extracting for tcpview-1.0_7 ===> tcpview-1.0_7 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by tcpview-1.0_7 for building => SHA256 Checksum OK for tcpview-1.0.tar.Z. Extracted Memory Use: 1.36M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for tcpview-1.0_7 ===> Applying ports patches for tcpview-1.0_7 ===> Applying dragonfly patches for tcpview-1.0_7 /usr/bin/env WRKSRC=/construction/net/tcpview/tcpview-1.0 REWARNFILE=/construction/net/tcpview/reinplace_warnings.txt /xports/Tools/scripts/sed_checked.sh -e 's@ tcpview-1.0_7 depends on executable: bison - found ===> tcpview-1.0_7 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> tcpview-1.0_7 depends on shared library: libXm.so.4 - found (/usr/local/lib/libXm.so.4) SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> tcpview-1.0_7 depends on executable: bison - found ===> tcpview-1.0_7 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> tcpview-1.0_7 depends on shared library: libXm.so.4 - found (/usr/local/lib/libXm.so.4) ===> Configuring for tcpview-1.0_7 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for tcpview-1.0_7 + mkdir 386-bsd-tcpdump + chmod ug+w 386-bsd-tcpdump + ln -s ../snmp.h ../filter.h ../motif.h ../tcpview.h ../ospf.h ../extract.h ../gencode.h ../ntp.h ../etherent.h ../nametoaddr.h ../etherproto.h ../savefile.h ../bootp.h ../ip_icmp.h ../addrtoname.h ../appletalk.h ../interface.h ../search.c ../gwtm2secs.c ../tcpslice.c ../tcplex.l ../tcpgram.y ../sniffer_file.c ../bpf_image.c ../bpf_filter.c ../bpf_dump.c ../optimize.c ../gencode.c ../inet.c ../etherent.c ../util.c ../savefile.c ../print-sunrpc.c ../print-fddi.c ../print-ospf.c ../print-egp.c ../print-null.c ../print-ntp.c ../print-snmp.c ../print-rip.c ../print-ppp.c ../print-sl.c ../nametoaddr.c ../print-icmp.c ../print-nfs.c ../print-bootp.c ../print-tftp.c ../print-domain.c ../print-atalk.c ../print-udp.c ../print-tcp.c ../print-arp.c ../print-ip.c ../print-ether.c ../hd.c ../addrtoname.c ../tcpdump.c 386-bsd-tcpdump + ln -s ../md-386.c 386-bsd-tcpdump/md.c + ln -s ../md-386.h 386-bsd-tcpdump/md.h + ln -s ../os-bsd.c 386-bsd-tcpdump/os.c + ln -s ../os-bsd.h 386-bsd-tcpdump/os.h + ln -s ../pcap-bpf.c 386-bsd-tcpdump/pcap.c + ln -s ../VERSION 386-bsd-tcpdump/VERSION + ln -s ../TCPVIEW_VERSION 386-bsd-tcpdump/TCPVIEW_VERSION + ln -s ../net 386-bsd-tcpdump/net + sed -e /^all:/d -e 's/^#386-bsd-tcpdump#//' Makefile + chmod ug+w 386-bsd-tcpdump/Makefile + make -C 386-bsd-tcpdump depend1 + rm -f tokdefs.h tcpgram.c tcplex.c version.h version.c + grep '^#include' tcpgram.y + grep '^#include' tcplex.l + touch version.h tokdefs.h ../mkdep -UCSLIP -DPPP -I.. -I/usr/local/include tcpdump.c addrtoname.c hd.c print-ether.c print-ip.c print-arp.c print-tcp.c print-udp.c print-atalk.c print-domain.c print-tftp.c print-bootp.c print-nfs.c print-icmp.c nametoaddr.c print-sl.c print-ppp.c print-rip.c print-snmp.c print-ntp.c print-null.c print-egp.c print-ospf.c print-fddi.c print-sunrpc.c savefile.c util.c etherent.c inet.c gencode.c optimize.c bpf_dump.c bpf_filter.c bpf_image.c sniffer_file.c tcpslice.c gwtm2secs.c search.c tcpgram.c tcplex.c rm -f tokdefs.h tcpgram.c tcplex.c version.h version.c + make -C 386-bsd-tcpdump tcpdump tcpslice cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c tcpdump.c tcpdump.c: In function 'main': tcpdump.c:303:11: warning: implicit declaration of function 'initdevice'; did you mean 'initstate'? [-Wimplicit-function-declaration] if_fd = initdevice(device, pflag, &linktype); ^~~~~~~~~~ initstate tcpdump.c:304:3: warning: implicit declaration of function 'lookup_net'; did you mean 'lookup_printer'? [-Wimplicit-function-declaration] lookup_net(device, &localnet, &netmask); ^~~~~~~~~~ lookup_printer tcpdump.c:347:3: warning: implicit declaration of function 'readloop'; did you mean 'readlink'? [-Wimplicit-function-declaration] readloop(cnt, if_fd, fcode, printit); ^~~~~~~~ readlink tcpdump.c: In function 'cleanup': tcpdump.c:358:3: warning: implicit declaration of function 'wrapup' [-Wimplicit-function-declaration] wrapup(if_fd); ^~~~~~ bison -y -d tcpgram.y tcpgram.y:92.13-14: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 92 | %type ID | ^~ tcpgram.y:93.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 93 | %type EID | ^~~ tcpgram.y:94.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 94 | %type HID | ^~~ tcpgram.y:95.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 95 | %type NUM | ^~~ mv y.tab.c tcpgram.c mv y.tab.h tokdefs.h cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c tcpgram.c y.tab.c: In function 'yyparse': y.tab.c:1486:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] lex tcplex.l mv -f lex.yy.c tcplex.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c tcplex.c tcplex.l: In function 'yylex': tcplex.l:127:14: warning: implicit declaration of function 'stoi'; did you mean 'atoi'? [-Wimplicit-function-declaration] {N} { yylval.i = stoi(yytext); return NUM; } ^~~~ atoi tcplex.l:129:15: warning: implicit declaration of function 'atoin'; did you mean 'atoi'? [-Wimplicit-function-declaration] yylval.h = atoin(yytext); return HID; ^~~~~ atoi tcplex.l:132:3: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] {B}:+({B}:+)+ { error("bogus ethernet address %s", yytext); } ^~~~~ perror cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c addrtoname.c addrtoname.c: In function 'getname': addrtoname.c:145:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)ap & 3) { ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-ether.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-ip.c print-ip.c: In function 'ip_print': print-ip.c:206:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)ip & (sizeof(long)-1)) { ^ print-ip.c:268:7: warning: implicit declaration of function 'ospf_print'; did you mean 'egp_print'? [-Wimplicit-function-declaration] ospf_print((struct ospfhdr *)cp, len, ip); ^~~~~~~~~~ egp_print cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-arp.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-tcp.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-udp.c print-udp.c: In function 'udp_print': print-udp.c:161:4: warning: implicit declaration of function 'sunrpcrequest_print'; did you mean 'nfsreq_print'? [-Wimplicit-function-declaration] sunrpcrequest_print(rp, length, ip); ^~~~~~~~~~~~~~~~~~~ nfsreq_print cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-atalk.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-domain.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-tftp.c print-tftp.c: In function 'tftp_print': print-tftp.c:109:7: warning: implicit declaration of function 'printfn'; did you mean 'printf'? [-Wimplicit-function-declaration] if (printfn((u_char *)tp->th_stuff, ep)) { ^~~~~~~ printf cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-bootp.c print-bootp.c: In function 'bootp_print': print-bootp.c:152:7: warning: implicit declaration of function 'printfn'; did you mean 'printf'? [-Wimplicit-function-declaration] if (printfn(bp->bp_sname, ep)) { ^~~~~~~ printf cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-nfs.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-icmp.c print-icmp.c: In function 'icmp_print': print-icmp.c:172:10: warning: implicit declaration of function 'inet_ntoa'; did you mean 'intoa'? [-Wimplicit-function-declaration] inet_ntoa(dp->icmp_adv[0].addr), ^~~~~~~~~ intoa cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c nametoaddr.c nametoaddr.c:101:1: warning: return type defaults to 'int' [-Wimplicit-int] s_nametoport(name, port, proto) ^~~~~~~~~~~~ nametoaddr.c: In function 'xdtoi': nametoaddr.c:187:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] xdtoi(c) ^~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-sl.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-ppp.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-rip.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-snmp.c print-snmp.c:193:1: warning: useless storage class specifier in empty declaration }; ^ print-snmp.c: In function 'asn1_print': print-snmp.c:590:13: warning: implicit declaration of function 'printfn'; did you mean 'printf'? [-Wimplicit-function-declaration] (void)printfn(p, p+asnlen); ^~~~~~~ printf cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-ntp.c print-ntp.c: In function 'ntp_print': print-ntp.c:143:2: warning: implicit declaration of function 'p_sfix'; did you mean 'profil'? [-Wimplicit-function-declaration] p_sfix(&bp->distance); ^~~~~~ profil print-ntp.c:178:2: warning: implicit declaration of function 'p_ntp_time'; did you mean 'posix2time'? [-Wimplicit-function-declaration] p_ntp_time(&(bp->reftime)); ^~~~~~~~~~ posix2time print-ntp.c:186:2: warning: implicit declaration of function 'p_ntp_delta' [-Wimplicit-function-declaration] p_ntp_delta(&(bp->org), &(bp->rec)); ^~~~~~~~~~~ print-ntp.c: At top level: print-ntp.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] p_sfix(sfp) ^~~~~~ print-ntp.c:215:1: warning: return type defaults to 'int' [-Wimplicit-int] p_ntp_time(lfp) ^~~~~~~~~~ print-ntp.c:234:1: warning: return type defaults to 'int' [-Wimplicit-int] p_ntp_delta(olfp, lfp) ^~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-null.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-egp.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-ospf.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-fddi.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-sunrpc.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c pcap.c pcap.c: In function 'readloop': pcap.c:120:2: warning: implicit declaration of function 'wrapup' [-Wimplicit-function-declaration] wrapup(if_fd); ^~~~~~ pcap.c: At top level: pcap.c:123:1: warning: return type defaults to 'int' [-Wimplicit-int] wrapup(fd) ^~~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c md.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c os.c sed 's/.*/char version[] = "&";/' VERSION > version.c sed 's/.*/char tcpview_version[] = "&";/' TCPVIEW_VERSION >> version.c set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' VERSION` ; { echo '#define VERSION_MAJOR' $1 ; echo '#define VERSION_MINOR' $2 ; } > version.h cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c savefile.c savefile.c: In function 'sf_read': savefile.c:192:7: warning: implicit declaration of function 'bpf_filter' [-Wimplicit-function-declaration] if (bpf_filter(fcode, buf, h.len, h.caplen)) { ^~~~~~~~~~ savefile.c: In function 'sf_err': savefile.c:313:3: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error("archaic file format"); ^~~~~ perror cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c util.c util.c: In function 'xdtoi': util.c:79:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] xdtoi(c) ^~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c etherent.c etherent.c: In function 'xdtoi': etherent.c:37:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] xdtoi(c) ^~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c inet.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c gencode.c gencode.c: In function 'parse': gencode.c:219:2: warning: implicit declaration of function 'lex_init'; did you mean 'gen_not'? [-Wimplicit-function-declaration] lex_init(buf ? buf : ""); ^~~~~~~~ gen_not gencode.c:228:2: warning: implicit declaration of function 'yyparse'; did you mean 'parse'? [-Wimplicit-function-declaration] yyparse(); ^~~~~~~ parse cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c optimize.c optimize.c: In function 'opt_blk': optimize.c:1025:1: warning: type of 'do_stmts' defaults to 'int' [-Wimplicit-int] opt_blk(b, do_stmts) ^~~~~~~ optimize.c: In function 'opt_blks': optimize.c:1388:1: warning: type of 'do_stmts' defaults to 'int' [-Wimplicit-int] opt_blks(root, do_stmts) ^~~~~~~~ optimize.c: In function 'opt_root': optimize.c:1466:3: warning: implicit declaration of function 'sappend' [-Wimplicit-function-declaration] sappend(s, tmp); ^~~~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c bpf_dump.c bpf_dump.c: In function 'bpf_dump': bpf_dump.c:84:22: warning: implicit declaration of function 'bpf_image' [-Wimplicit-function-declaration] puts(bpf_image(insn, i)); ^~~~~~~~~ bpf_dump.c:84:22: warning: passing argument 1 of 'puts' makes pointer from integer without a cast [-Wint-conversion] puts(bpf_image(insn, i)); ^~~~~~~~~~~~~~~~~~ In file included from bpf_dump.c:26: /usr/include/stdio.h:229:11: note: expected 'const char *' but argument is of type 'int' int puts(const char *); ^~~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c bpf_filter.c bpf_filter.c: In function 'bpf_filter': bpf_filter.c:203:4: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] abort(); ^~~~~ bpf_filter.c:203:4: warning: incompatible implicit declaration of built-in function 'abort' bpf_filter.c:203:4: note: include '' or provide a declaration of 'abort' bpf_filter.c:52:1: +#include bpf_filter.c:203:4: abort(); ^~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c bpf_image.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c version.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c sniffer_file.c sniffer_file.c: In function 'sniff_write': sniffer_file.c:367:5: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write(2,".",1); ^~~~~ fwrite sniffer_file.c:370:5: warning: implicit declaration of function 'ether_if_print'; did you mean 'ver_print'? [-Wimplicit-function-declaration] ether_if_print(sp, tvp, length, caplen); ^~~~~~~~~~~~~~ ver_print sniffer_file.c: In function 'sniff_read': sniffer_file.c:393:9: warning: implicit declaration of function 'sniff_next_packet'; did you mean 'sf_next_packet'? [-Wimplicit-function-declaration] while(sniff_next_packet(&h, buf) == 0) { ^~~~~~~~~~~~~~~~~ sf_next_packet sniffer_file.c:394:9: warning: implicit declaration of function 'bpf_filter' [-Wimplicit-function-declaration] if (bpf_filter(fcode,buf,h.len,h.caplen)) { ^~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c hd.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -o tcpdump tcpdump.o tcpgram.o tcplex.o addrtoname.o print-ether.o print-ip.o print-arp.o print-tcp.o print-udp.o print-atalk.o print-domain.o print-tftp.o print-bootp.o print-nfs.o print-icmp.o nametoaddr.o print-sl.o print-ppp.o print-rip.o print-snmp.o print-ntp.o print-null.o print-egp.o print-ospf.o print-fddi.o print-sunrpc.o pcap.o md.o os.o savefile.o util.o etherent.o inet.o gencode.o optimize.o bpf_dump.o bpf_filter.o bpf_image.o version.o sniffer_file.o hd.o -ll cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c tcpslice.c tcpslice.c: In function 'main': tcpslice.c:102:15: warning: implicit declaration of function 'getopt'; did you mean 'cgetset'? [-Wimplicit-function-declaration] while ((op = getopt(argc, argv, "dRrtw:")) != EOF) ^~~~~~ cgetset tcpslice.c:134:3: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error( "only one of -R, -r, or -t can be specified" ); ^~~~~ perror tcpslice.c:185:8: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] isatty( fileno(stdout) ) ) ^~~~~~ tcpslice.c: In function 'get_file_range': tcpslice.c:442:9: warning: implicit declaration of function 'sf_find_end'; did you mean 'sniff_end'? [-Wimplicit-function-declaration] if ( ! sf_find_end( first_time, last_time ) ) ^~~~~~~~~~~ sniff_end tcpslice.c: In function 'extract_slice': tcpslice.c:519:7: warning: implicit declaration of function 'sf_timestamp_less_than'; did you mean 'timestamp_to_string'? [-Wimplicit-function-declaration] if ( sf_timestamp_less_than( start_time, &file_start_time ) ) ^~~~~~~~~~~~~~~~~~~~~~ timestamp_to_string tcpslice.c:526:2: warning: implicit declaration of function 'sf_find_packet'; did you mean 'sf_next_packet'? [-Wimplicit-function-declaration] sf_find_packet( &file_start_time, start_pos, ^~~~~~~~~~~~~~ sf_next_packet cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c gwtm2secs.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c search.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -o tcpslice tcpslice.o gwtm2secs.o search.o savefile.o bpf_filter.o md.o util.o + mkdir 386-bsd-tcpview + chmod ug+w 386-bsd-tcpview + ln -s ../telnet.c ../generic.c ../bgp.c ../hex.c ../snmp.h ../filter.h ../motif.h ../tcpview.h ../ospf.h ../extract.h ../gencode.h ../ntp.h ../etherent.h ../nametoaddr.h ../etherproto.h ../savefile.h ../bootp.h ../ip_icmp.h ../addrtoname.h ../appletalk.h ../interface.h ../tcplex.l ../tcpgram.y ../detail-snmp.c ../detail-domain.c ../detail-icmp.c ../detail-rip.c ../capture.c ../inet.c ../text.c ../filter-stream.c ../getservent.c ../bpf_filter.c ../print.c ../util.c ../hd.c ../sniffer_file.c ../tv_etherent.c ../savefile.c ../nametoaddr.c ../optimize.c ../gencode.c ../print-null.c ../print-sl.c ../print-ppp.c ../print-fddi.c ../detail-udp.c ../detail-tcp.c ../detail-ip.c ../detail-arp.c ../detail-ether.c ../tv_addrtoname.c ../print-egp.c ../print-ospf.c ../print-domain.c ../print-ntp.c ../print-snmp.c ../print-bootp.c ../print-icmp.c ../print-rip.c ../print-sunrpc.c ../print-tftp.c ../print-atalk.c ../print-nfs.c ../print-udp.c ../print-tcp.c ../print-ip.c ../print-arp.c ../print-ether.c ../filter-dialog.c ../dialogs.c ../motifutils.c ../callbacks.c ../tcpview.c 386-bsd-tcpview + ln -s ../md-386.c 386-bsd-tcpview/md.c + ln -s ../md-386.h 386-bsd-tcpview/md.h + ln -s ../os-bsd.c 386-bsd-tcpview/os.c + ln -s ../os-bsd.h 386-bsd-tcpview/os.h + ln -s ../pcap-bpf.c 386-bsd-tcpview/pcap.c + ln -s ../VERSION 386-bsd-tcpview/VERSION + ln -s ../TCPVIEW_VERSION 386-bsd-tcpview/TCPVIEW_VERSION + sed -e /^all:/d -e 's/^#386-bsd-tcpview#//' Makefile + chmod ug+w 386-bsd-tcpview/Makefile + make -C 386-bsd-tcpview depend2 + rm -f tokdefs.h tcpgram.c tcplex.c version.h version.c + grep '^#include' tcpgram.y + grep '^#include' tcplex.l + touch version.h tokdefs.h ../mkdep -UCSLIP -DPPP -I.. -I/usr/local/include tcpview.c callbacks.c motifutils.c dialogs.c filter-dialog.c print-ether.c print-arp.c print-ip.c print-tcp.c print-udp.c print-nfs.c print-atalk.c print-tftp.c print-sunrpc.c print-rip.c print-icmp.c print-bootp.c print-snmp.c print-ntp.c print-domain.c print-ospf.c print-egp.c tv_addrtoname.c detail-ether.c detail-arp.c detail-ip.c detail-tcp.c detail-udp.c print-fddi.c print-ppp.c print-sl.c print-null.c gencode.c optimize.c nametoaddr.c savefile.c tv_etherent.c sniffer_file.c hd.c util.c print.c bpf_filter.c getservent.c filter-stream.c text.c inet.c capture.c detail-rip.c detail-icmp.c detail-domain.c detail-snmp.c tcpgram.c tcplex.c rm -f tokdefs.h tcpgram.c tcplex.c version.h version.c + make -C 386-bsd-tcpview 'DEFINES=-UCSLIP -DPPP -DTCPVIEW' tcpview cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c tcpview.c sed 's/.*/char version[] = "&";/' VERSION > version.c sed 's/.*/char tcpview_version[] = "&";/' TCPVIEW_VERSION >> version.c set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' VERSION` ; { echo '#define VERSION_MAJOR' $1 ; echo '#define VERSION_MINOR' $2 ; } > version.h cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c version.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c motifutils.c motifutils.c: In function 'CreateHelpWidget': motifutils.c:171:17: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] present_help, ^~~~~~~~~~~~ In file included from motifutils.c:4: /usr/local/include/X11/Intrinsic.h:1247:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, char *, char *)' XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ motifutils.c: In function 'really_quit': motifutils.c:216:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit( 0 ); ^~~~ motifutils.c:216:3: warning: incompatible implicit declaration of built-in function 'exit' motifutils.c:216:3: note: include '' or provide a declaration of 'exit' motifutils.c:20:1: +#include motifutils.c:216:3: exit( 0 ); ^~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c dialogs.c dialogs.c: In function 'print_callback': dialogs.c:117:5: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink( filename ); ^~~~~~ unix dialogs.c: In function 'tog_callback': dialogs.c:130:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int i = (int)data; ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c filter-dialog.c filter-dialog.c: In function 'sel_callback': filter-dialog.c:182:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] d = (int)data>>1; ^ filter-dialog.c:185:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if( (int)data & 1 ) { /* address 2 */ ^ filter-dialog.c:218:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SetLabel(name[(int)data], str); ^ filter-dialog.c: In function 'addr_name_callback': filter-dialog.c:231:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int d = (int)data; ^ filter-dialog.c:235:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] n = (int)data & 1; ^ filter-dialog.c: In function 'port_sel_callback': filter-dialog.c:276:7: warning: implicit declaration of function 's_nametoport' [-Wimplicit-function-declaration] if( s_nametoport(string,&port,&proto) ) ^~~~~~~~~~~~ filter-dialog.c: In function 'addr_dir_callback': filter-dialog.c:324:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int d = (int)data; ^ filter-dialog.c: In function 'addr_level_callback': filter-dialog.c:339:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int d = (int)data; ^ filter-dialog.c:368:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SetLabel(name[(int)data<<1], Filter.addr[d].name1); ^ filter-dialog.c:369:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] SetLabel(name[((int)data<<1)+1], Filter.addr[d].name2); ^ filter-dialog.c: In function 'addr_include_callback': filter-dialog.c:378:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int d = (int)data; ^ filter-dialog.c: In function 'addr_and_callback': filter-dialog.c:393:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int d = (int)data; ^ filter-dialog.c: In function 'proto_callback': filter-dialog.c:432:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int d = (int)data; ^ filter-dialog.c: In function 'FilterDialog': filter-dialog.c:496:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] addr_and_callback, (caddr_t)i); ^ filter-dialog.c:500:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] addr_and_callback, (caddr_t)i); ^ filter-dialog.c:503:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] addr_level_callback, (caddr_t)i); ^ filter-dialog.c:506:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] name[i+i] = CreateSimpleButton( rc2, str, addr_name_callback,(caddr_t)(i+i) ); ^ filter-dialog.c:509:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] addr_dir_callback, (caddr_t)i); ^ filter-dialog.c:512:69: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] name[i+i+1] = CreateSimpleButton( rc2, str, addr_name_callback, (caddr_t)(i+i+1) ); ^ filter-dialog.c:514:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] addr_include_callback, (caddr_t)i); ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-ether.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-arp.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-ip.c print-ip.c: In function 'ip_print': print-ip.c:206:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)ip & (sizeof(long)-1)) { ^ print-ip.c:268:7: warning: implicit declaration of function 'ospf_print'; did you mean 'egp_print'? [-Wimplicit-function-declaration] ospf_print((struct ospfhdr *)cp, len, ip); ^~~~~~~~~~ egp_print cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-tcp.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-udp.c print-udp.c: In function 'udp_print': print-udp.c:161:4: warning: implicit declaration of function 'sunrpcrequest_print'; did you mean 'nfsreq_print'? [-Wimplicit-function-declaration] sunrpcrequest_print(rp, length, ip); ^~~~~~~~~~~~~~~~~~~ nfsreq_print cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-nfs.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-atalk.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-tftp.c print-tftp.c: In function 'tftp_print': print-tftp.c:109:7: warning: implicit declaration of function 'printfn'; did you mean 'printf'? [-Wimplicit-function-declaration] if (printfn((u_char *)tp->th_stuff, ep)) { ^~~~~~~ printf cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-sunrpc.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-rip.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-icmp.c print-icmp.c: In function 'icmp_print': print-icmp.c:172:10: warning: implicit declaration of function 'inet_ntoa'; did you mean 'intoa'? [-Wimplicit-function-declaration] inet_ntoa(dp->icmp_adv[0].addr), ^~~~~~~~~ intoa cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-bootp.c print-bootp.c: In function 'bootp_print': print-bootp.c:152:7: warning: implicit declaration of function 'printfn'; did you mean 'printf'? [-Wimplicit-function-declaration] if (printfn(bp->bp_sname, ep)) { ^~~~~~~ printf cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-snmp.c print-snmp.c:193:1: warning: useless storage class specifier in empty declaration }; ^ print-snmp.c: In function 'asn1_print': print-snmp.c:590:13: warning: implicit declaration of function 'printfn'; did you mean 'printf'? [-Wimplicit-function-declaration] (void)printfn(p, p+asnlen); ^~~~~~~ printf cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-ntp.c print-ntp.c: In function 'ntp_print': print-ntp.c:143:2: warning: implicit declaration of function 'p_sfix'; did you mean 'profil'? [-Wimplicit-function-declaration] p_sfix(&bp->distance); ^~~~~~ profil print-ntp.c:178:2: warning: implicit declaration of function 'p_ntp_time'; did you mean 'posix2time'? [-Wimplicit-function-declaration] p_ntp_time(&(bp->reftime)); ^~~~~~~~~~ posix2time print-ntp.c:186:2: warning: implicit declaration of function 'p_ntp_delta' [-Wimplicit-function-declaration] p_ntp_delta(&(bp->org), &(bp->rec)); ^~~~~~~~~~~ print-ntp.c: At top level: print-ntp.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] p_sfix(sfp) ^~~~~~ print-ntp.c:215:1: warning: return type defaults to 'int' [-Wimplicit-int] p_ntp_time(lfp) ^~~~~~~~~~ print-ntp.c:234:1: warning: return type defaults to 'int' [-Wimplicit-int] p_ntp_delta(olfp, lfp) ^~~~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-domain.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-ospf.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-egp.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c tv_addrtoname.c tv_addrtoname.c: In function 'getname': tv_addrtoname.c:416:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)ap & 3) { ^ tv_addrtoname.c:498:12: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] (void)alarm(20); ^~~~~ tv_addrtoname.c: In function 'init_etherarray': tv_addrtoname.c:783:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fp); ^~~~~ pclose cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c detail-ether.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c detail-arp.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c detail-ip.c detail-ip.c: In function 'detail_ip': detail-ip.c:46:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)ip & (sizeof(long)-1)) { ^ detail-ip.c:157:5: warning: implicit declaration of function 'detail_icmp'; did you mean 'detail_ip'? [-Wimplicit-function-declaration] detail_icmp((struct icmp *)cp, len); ^~~~~~~~~~~ detail_ip cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c detail-tcp.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c detail-udp.c detail-udp.c: In function 'detail_udp': detail-udp.c:152:5: warning: implicit declaration of function 'detail_rip'; did you mean 'detail_udp'? [-Wimplicit-function-declaration] detail_rip((u_char *)(up + 1), length); ^~~~~~~~~~ detail_udp detail-udp.c:154:5: warning: implicit declaration of function 'detail_domain'; did you mean 'detail_udp'? [-Wimplicit-function-declaration] detail_domain((u_char *)(up + 1), length); ^~~~~~~~~~~~~ detail_udp detail-udp.c:156:5: warning: implicit declaration of function 'detail_snmp'; did you mean 'detail_udp'? [-Wimplicit-function-declaration] detail_snmp((u_char *)(up + 1), length); ^~~~~~~~~~~ detail_udp cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-fddi.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-ppp.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-sl.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-null.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c gencode.c gencode.c:100:8: warning: type defaults to 'int' in declaration of 'eprintv' [-Wimplicit-int] extern eprintv(char *cp, va_list ap); ^~~~~~~ gencode.c: In function 'parse': gencode.c:219:2: warning: implicit declaration of function 'lex_init'; did you mean 'gen_not'? [-Wimplicit-function-declaration] lex_init(buf ? buf : ""); ^~~~~~~~ gen_not gencode.c:228:2: warning: implicit declaration of function 'yyparse'; did you mean 'parse'? [-Wimplicit-function-declaration] yyparse(); ^~~~~~~ parse cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c optimize.c optimize.c: In function 'opt_blk': optimize.c:1025:1: warning: type of 'do_stmts' defaults to 'int' [-Wimplicit-int] opt_blk(b, do_stmts) ^~~~~~~ optimize.c: In function 'opt_blks': optimize.c:1388:1: warning: type of 'do_stmts' defaults to 'int' [-Wimplicit-int] opt_blks(root, do_stmts) ^~~~~~~~ optimize.c: In function 'opt_root': optimize.c:1466:3: warning: implicit declaration of function 'sappend' [-Wimplicit-function-declaration] sappend(s, tmp); ^~~~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c nametoaddr.c nametoaddr.c:101:1: warning: return type defaults to 'int' [-Wimplicit-int] s_nametoport(name, port, proto) ^~~~~~~~~~~~ nametoaddr.c: In function 'xdtoi': nametoaddr.c:187:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] xdtoi(c) ^~~~~ bison -y -d tcpgram.y tcpgram.y:92.13-14: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 92 | %type ID | ^~ tcpgram.y:93.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 93 | %type EID | ^~~ tcpgram.y:94.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 94 | %type HID | ^~~ tcpgram.y:95.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 95 | %type NUM | ^~~ mv y.tab.c tcpgram.c mv y.tab.h tokdefs.h cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c tcpgram.c y.tab.c: In function 'yyparse': y.tab.c:1486:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c savefile.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c md.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c os.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c tv_etherent.c tv_etherent.c: In function 'xdtoi': tv_etherent.c:74:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] xdtoi(c) ^~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c sniffer_file.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c hd.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c util.c util.c: In function 'xdtoi': util.c:79:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] xdtoi(c) ^~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print.c print.c: In function 'printf': print.c:62:9: warning: implicit declaration of function 'vsprintf' [-Wimplicit-function-declaration] (void)vsprintf(StrPtr,fmt,args); ^~~~~~~~ print.c:64:5: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration] fprintf(Xfile,"%s",StrPtr); ^~~~~~~ print.c:64:5: warning: incompatible implicit declaration of built-in function 'fprintf' print.c:64:5: note: include '' or provide a declaration of 'fprintf' print.c:40:1: +#include print.c:64:5: fprintf(Xfile,"%s",StrPtr); ^~~~~~~ print.c: In function 'fputs': print.c:75:7: warning: argument 's' doesn't match built-in prototype char *s; ^ print.c:76:6: warning: argument 'foo' doesn't match built-in prototype long foo; ^~~ print.c:79:5: warning: incompatible implicit declaration of built-in function 'fprintf' fprintf(Xfile,"%s",s ); ^~~~~~~ print.c:79:5: note: include '' or provide a declaration of 'fprintf' print.c:80:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy( StrPtr, s ); ^~~~~~ print.c:80:3: warning: incompatible implicit declaration of built-in function 'strcpy' print.c:80:3: note: include '' or provide a declaration of 'strcpy' print.c:40:1: +#include print.c:80:3: strcpy( StrPtr, s ); ^~~~~~ print.c:81:13: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] StrPtr += strlen( s ); ^~~~~~ print.c:81:13: warning: incompatible implicit declaration of built-in function 'strlen' print.c:81:13: note: include '' or provide a declaration of 'strlen' print.c: In function 'putchar': print.c:89:5: warning: incompatible implicit declaration of built-in function 'fprintf' fprintf(Xfile,"%c",c ); ^~~~~~~ print.c:89:5: note: include '' or provide a declaration of 'fprintf' print.c: In function 'putc': print.c:96:6: warning: argument 'foo' doesn't match built-in prototype long foo; ^~~ print.c:99:5: warning: incompatible implicit declaration of built-in function 'fprintf' fprintf(Xfile,"%c",x ); ^~~~~~~ print.c:99:5: note: include '' or provide a declaration of 'fprintf' lex tcplex.l mv -f lex.yy.c tcplex.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c tcplex.c tcplex.l: In function 'yylex': tcplex.l:127:14: warning: implicit declaration of function 'stoi'; did you mean 'atoi'? [-Wimplicit-function-declaration] {N} { yylval.i = stoi(yytext); return NUM; } ^~~~ atoi tcplex.l:129:15: warning: implicit declaration of function 'atoin'; did you mean 'atoi'? [-Wimplicit-function-declaration] yylval.h = atoin(yytext); return HID; ^~~~~ atoi cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c bpf_filter.c bpf_filter.c: In function 'bpf_filter': bpf_filter.c:203:4: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] abort(); ^~~~~ bpf_filter.c:203:4: warning: incompatible implicit declaration of built-in function 'abort' bpf_filter.c:203:4: note: include '' or provide a declaration of 'abort' bpf_filter.c:52:1: +#include bpf_filter.c:203:4: abort(); ^~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c getservent.c getservent.c: In function 'GetServent': getservent.c:106:17: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] serv.s_port = htons((u_short)atoi(p)); ^~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c filter-stream.c filter-stream.c: In function 'dir_callback': filter-stream.c:316:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] filter_direction = (int)data; ^ filter-stream.c: In function 'filterstream': filter-stream.c:518:7: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink( Xfilename ); ^~~~~~ unix cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c text.c text.c: In function 'FillFileWithWidget': text.c:72:5: warning: implicit declaration of function 'xperror'; did you mean 'perror'? [-Wimplicit-function-declaration] xperror( filename ); ^~~~~~~ perror text.c: In function 'print_callback': text.c:99:3: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] system( str ); ^~~~~~ text.c:100:3: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] unlink( filename ); ^~~~~~ unix text.c: In function 'show_text': text.c:202:3: warning: implicit declaration of function 'FillMenu'; did you mean 'fileno'? [-Wimplicit-function-declaration] FillMenu( menu_widget, "Save As...", save_callback ); ^~~~~~~~ fileno cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c pcap.c pcap.c: In function 'readloop': pcap.c:120:2: warning: implicit declaration of function 'wrapup' [-Wimplicit-function-declaration] wrapup(if_fd); ^~~~~~ pcap.c: At top level: pcap.c:123:1: warning: return type defaults to 'int' [-Wimplicit-int] wrapup(fd) ^~~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c inet.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c capture.c capture.c: In function 'get_long': capture.c:243:40: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] XtAddCallback( w, XmNcancelCallback, cancel_callback, semaphore); ^~~~~~~~~~~~~~~ In file included from /usr/local/include/X11/IntrinsicP.h:51, from capture.c:45: /usr/local/include/X11/Intrinsic.h:1247:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, char *, char *)' XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ capture.c:244:39: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] XtAddCallback( w, XmNunmapCallback, cancel_callback, semaphore); ^~~~~~~~~~~~~~~ In file included from /usr/local/include/X11/IntrinsicP.h:51, from capture.c:45: /usr/local/include/X11/Intrinsic.h:1247:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, char *, char *)' XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ capture.c: In function 'device_callback': capture.c:422:40: warning: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] XtAddCallback( w, XmNcancelCallback, dev_cancel, (caddr_t)0); ^~~~~~~~~~ In file included from /usr/local/include/X11/IntrinsicP.h:51, from capture.c:45: /usr/local/include/X11/Intrinsic.h:1247:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(struct _WidgetRec *, char *, char *)' XtCallbackProc /* callback */, ^~~~~~~~~~~~~~ capture.c: In function 'end_capture': capture.c:432:5: warning: implicit declaration of function 'wrapup' [-Wimplicit-function-declaration] wrapup(if_fd); ^~~~~~ capture.c:434:3: warning: implicit declaration of function 'sf_write_end'; did you mean 'sf_write_init'? [-Wimplicit-function-declaration] sf_write_end(); ^~~~~~~~~~~~ sf_write_init capture.c: In function 'stop_capture_callback': capture.c:477:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if( kill( (pid_t)data, SIGINT ) < 0 ) ^ capture.c: In function 'timer_expired': capture.c:493:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (void)kill( (pid_t)data, SIGINT ); ^ capture.c: In function 'capture_callback': capture.c:534:3: warning: implicit declaration of function 'update_fstr' [-Wimplicit-function-declaration] update_fstr(&Filter); ^~~~~~~~~~~ capture.c:554:13: warning: implicit declaration of function 'initdevice'; did you mean 'initstate'? [-Wimplicit-function-declaration] if_fd = initdevice( Device, pflag, &Linktype ); ^~~~~~~~~~ initstate capture.c:555:5: warning: implicit declaration of function 'lookup_net'; did you mean 'lookup_device'? [-Wimplicit-function-declaration] lookup_net( Device, &localnet, &netmask ); ^~~~~~~~~~ lookup_device capture.c:565:5: warning: implicit declaration of function 'readloop'; did you mean 'readlink'? [-Wimplicit-function-declaration] readloop( NumberOfFrames, if_fd, bpf, sf_write ); ^~~~~~~~ readlink capture.c:573:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] TimeoutID = XtAddTimeOut( TimeLimit*1000, timer_expired, (caddr_t)pid ); ^ capture.c:584:63: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] XtAddCallback( Work, XmNokCallback,stop_capture_callback, (caddr_t)pid ); ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c callbacks.c callbacks.c: In function 'save_entire_list': callbacks.c:571:5: warning: implicit declaration of function 'sf_write_end'; did you mean 'sf_write_init'? [-Wimplicit-function-declaration] sf_write_end(); ^~~~~~~~~~~~ sf_write_init callbacks.c: In function 'xperror': callbacks.c:720:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] str2 = sys_errlist[errno]; ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c detail-rip.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c detail-icmp.c detail-icmp.c: In function 'detail_icmp': detail-icmp.c:112:5: warning: implicit declaration of function 'detail_ip'; did you mean 'detail_icmp'? [-Wimplicit-function-declaration] detail_ip(&icmp->icmp_ip); ^~~~~~~~~ detail_icmp detail-icmp.c:148:5: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] inet_ntoa(icmp->icmp_gwaddr)); ^~~~~~~~~ detail-icmp.c:281:48: warning: implicit declaration of function 'inet_addr'; did you mean 's6_addr'? [-Wimplicit-function-declaration] printf("%sAddress Mask = %s\n", PROTO_STR, inet_addr(icmp->icmp_mask)); ^~~~~~~~~ s6_addr cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c detail-domain.c detail-domain.c: In function 'p_cdname': detail-domain.c:125:14: warning: implicit declaration of function 'dn_expand' [-Wimplicit-function-declaration] if ((n = dn_expand(msg, eom, cp, name, sizeof(name))) <= 0) ^~~~~~~~~ detail-domain.c: In function 'p_ans': detail-domain.c:375:12: warning: implicit declaration of function '_getshort'; did you mean 'p_ushort'? [-Wimplicit-function-declaration] type = _getshort(cp); ^~~~~~~~~ p_ushort detail-domain.c:397:10: warning: implicit declaration of function '_getlong'; did you mean 'fgetln'? [-Wimplicit-function-declaration] ul = _getlong(cp); ^~~~~~~~ fgetln detail-domain.c:431:55: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] printf(" Internet address = %s\n", inet_ntoa(inaddr)); ^~~~~~~~~ detail-domain.c:449:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:460:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:471:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:482:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:493:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:504:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:517:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:528:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:539:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:573:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:583:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:626:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ detail-domain.c:633:13: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return NULL; ^~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c detail-snmp.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -o tcpview tcpview.o version.o motifutils.o dialogs.o filter-dialog.o print-ether.o print-arp.o print-ip.o print-tcp.o print-udp.o print-nfs.o print-atalk.o print-tftp.o print-sunrpc.o print-rip.o print-icmp.o print-bootp.o print-snmp.o print-ntp.o print-domain.o print-ospf.o print-egp.o tv_addrtoname.o detail-ether.o detail-arp.o detail-ip.o detail-tcp.o detail-udp.o print-fddi.o print-ppp.o print-sl.o print-null.o gencode.o optimize.o nametoaddr.o tcpgram.o savefile.o md.o os.o tv_etherent.o sniffer_file.o hd.o util.o print.o tcplex.o bpf_filter.o getservent.o filter-stream.o text.o pcap.o inet.o capture.o callbacks.o detail-rip.o detail-icmp.o detail-domain.o detail-snmp.o -L/usr/local/lib -lXm -lXt -lX11 -ll dialogs.o:dialogs.c:function print_callback: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() filter-stream.o:filter-stream.c:function filterstream: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() filter-stream.o:filter-stream.c:function filterstream: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() text.o:text.c:function print_callback: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() capture.o:capture.c:function capture_callback: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() capture.o:capture.c:function capture_callback: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() + make -C 386-bsd-tcpview FILTERS cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c bgp.c bgp.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ bgp.c: In function 'bgp_update': bgp.c:176:20: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] printf("\t%s ",inet_ntoa(htonl(ip))); ^~~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c hex.c cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -o BGP bgp.o hex.o cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c generic.c generic.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -o generic generic.o hex.o cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c telnet.c telnet.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -o telnet telnet.o hex.o SUCCEEDED 00:00:29 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> tcpview-1.0_7 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for tcpview-1.0_7 ===> tcpview-1.0_7 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> Generating temporary packing list mkdir -p /construction/net/tcpview/stage/usr/local/lib/tcpview mkdir -p /construction/net/tcpview/stage/usr/local/lib/tcpview/filters + install -s -m 555 -c 386-bsd-tcpview/tcpview /construction/net/tcpview/stage/usr/local/bin + install -s -m 555 -c 386-bsd-tcpview/BGP /construction/net/tcpview/stage/usr/local/lib/tcpview/filters + install -s -m 555 -c 386-bsd-tcpview/telnet /construction/net/tcpview/stage/usr/local/lib/tcpview/filters + install -s -m 555 -c 386-bsd-tcpview/generic /construction/net/tcpview/stage/usr/local/lib/tcpview/filters + install -m 0644 -c 386-bsd-tcpview/../DOC/hosts /construction/net/tcpview/stage/usr/local/lib/tcpview + install -m 0644 -c 386-bsd-tcpview/../DOC/manuf /construction/net/tcpview/stage/usr/local/lib/tcpview + install -m 444 -c 386-bsd-tcpview/../DOC/tcpview.1 /construction/net/tcpview/stage/usr/local/man/man1/tcpview.1 install -m 0644 /construction/net/tcpview/tcpview-1.0/DOC/Tcpview /construction/net/tcpview/stage/usr/local/lib/X11/app-defaults ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Error: /usr/local/bin/tcpview is linked to /usr/local/lib/libXt.so.6 from x11-toolkits/libXt but it is not declared as a dependency Warning: you need USE_XORG+=xt Error: /usr/local/bin/tcpview is linked to /usr/local/lib/libX11.so.6 from x11/libX11 but it is not declared as a dependency Warning: you need USE_XORG+=x11 Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks Warning: Possible REINPLACE_CMD issues sed failed: file content unchanged from backup: print-nfs.c SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for tcpview-1.0_7 file sizes/checksums [8]: 0% file sizes/checksums [8]: 100% packing files [8]: 0% packing files [8]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:40