=> Building net/tcpview build started at Sun Oct 9 11:17:20 PDT 2016 port directory: /usr/ports/net/tcpview building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: cy@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../04//usr/ports/net/tcpview/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400600 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release46-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=tcpview-1.0_6 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release46-default/ref/.p/pool MASTERNAME=Release46-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/net/tcpview XDG_CONFIG_HOME=/wrkdirs/net/tcpview HOME=/wrkdirs/net/tcpview TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 --End CONFIGURE_ENV-- --MAKE_ENV-- MOTIFLIB="-L/usr/local/lib -lXm -lXp" XDG_DATA_HOME=/wrkdirs/net/tcpview XDG_CONFIG_HOME=/wrkdirs/net/tcpview HOME=/wrkdirs/net/tcpview TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/tcpview" EXAMPLESDIR="share/examples/tcpview" DATADIR="share/tcpview" WWWDIR="www/tcpview" ETCDIR="etc/tcpview" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/tcpview DOCSDIR=/usr/local/share/doc/tcpview EXAMPLESDIR=/usr/local/share/examples/tcpview WWWDIR=/usr/local/www/tcpview ETCDIR=/usr/local/etc/tcpview --End SUB_LIST-- ---Begin make.conf--- NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> tcpview-1.0_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> tcpview-1.0_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of tcpview-1.0_6 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by tcpview-1.0_6 for building =========================================================================== =================================================== ===> Fetching all distfiles required by tcpview-1.0_6 for building => SHA256 Checksum OK for tcpview-1.0.tar.Z. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by tcpview-1.0_6 for building ===> Extracting for tcpview-1.0_6 => SHA256 Checksum OK for tcpview-1.0.tar.Z. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for tcpview-1.0_6 ===> Applying ports patches for tcpview-1.0_6 ===> Applying DragonFly patches for tcpview-1.0_6 =========================================================================== =================================================== ===> tcpview-1.0_6 depends on executable: bison - not found ===> Installing existing package /packages/All/bison-2.7.1,1.txz Installing bison-2.7.1,1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done `-- Installing m4-1.4.17_1,1... `-- Extracting m4-1.4.17_1,1: .......... done Extracting bison-2.7.1,1: .......... done ===> tcpview-1.0_6 depends on executable: bison - found ===> Returning to build of tcpview-1.0_6 ===> tcpview-1.0_6 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Installing existing package /packages/All/libXpm-3.5.11_4.txz Installing libXpm-3.5.11_4... `-- Installing xproto-7.0.28... `-- Extracting xproto-7.0.28: .......... done `-- Installing libXt-1.1.5,1... | `-- Installing libSM-1.2.2_3,1... | | `-- Installing libICE-1.0.9_1,1... | | `-- Extracting libICE-1.0.9_1,1: .......... done | `-- Extracting libSM-1.2.2_3,1: .......... done | `-- Installing libX11-1.6.3,1... | | `-- Installing kbproto-1.0.7... | | `-- Extracting kbproto-1.0.7: .......... done | | `-- Installing libXdmcp-1.1.2... | | `-- Extracting libXdmcp-1.1.2: ......... done | | `-- Installing libxcb-1.11.1... | | `-- Installing libxml2-2.9.4... | | `-- Extracting libxml2-2.9.4: .......... done | | `-- Installing libpthread-stubs-0.3_6... | | `-- Extracting libpthread-stubs-0.3_6: ..... done | | `-- Installing libXau-1.0.8_3... | | `-- Extracting libXau-1.0.8_3: .......... done | | `-- Extracting libxcb-1.11.1: .......... done | `-- Extracting libX11-1.6.3,1: .......... done `-- Extracting libXt-1.1.5,1: .......... done `-- Installing libXext-1.3.3_1,1... | `-- Installing xextproto-7.3.0... | `-- Extracting xextproto-7.3.0: .......... done `-- Extracting libXext-1.3.3_1,1: .......... done Extracting libXpm-3.5.11_4: .......... done ===> tcpview-1.0_6 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> Returning to build of tcpview-1.0_6 =========================================================================== =================================================== ===> tcpview-1.0_6 depends on shared library: libXm.so.4 - not found ===> Installing existing package /packages/All/open-motif-2.3.6_1.txz Installing open-motif-2.3.6_1... `-- Installing libXft-2.3.2_1... | `-- Installing fontconfig-2.12.1,1... | | `-- Installing expat-2.2.0... | | `-- Extracting expat-2.2.0: .......... done | | `-- Installing freetype2-2.6.3... | | `-- Extracting freetype2-2.6.3: .......... done | `-- Extracting fontconfig-2.12.1,1: .......... done 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 libXrender-0.9.9... | | `-- Installing renderproto-0.11.1... | | `-- Extracting renderproto-0.11.1: .... done | `-- Extracting libXrender-0.9.9: .......... done `-- Extracting libXft-2.3.2_1: ......... done `-- Installing libXaw-1.0.13,2... | `-- Installing libXmu-1.1.2_3,1... | `-- Extracting libXmu-1.1.2_3,1: .......... done | `-- Installing printproto-1.0.5... | `-- Extracting printproto-1.0.5: .... done | `-- Installing libXp-1.0.3,1... | `-- Extracting libXp-1.0.3,1: .......... done `-- Extracting libXaw-1.0.13,2: .......... done `-- Installing xbitmaps-1.1.1... `-- Extracting xbitmaps-1.1.1: .......... done `-- Installing png-1.6.23... `-- Extracting png-1.6.23: .......... done `-- Installing jpeg-turbo-1.4.2... `-- Extracting jpeg-turbo-1.4.2: .......... done Extracting open-motif-2.3.6_1: .......... done ===> tcpview-1.0_6 depends on shared library: libXm.so.4 - found (/usr/local/lib/libXm.so.4) ===> Returning to build of tcpview-1.0_6 =========================================================================== =================================================== ===> Configuring for tcpview-1.0_6 =========================================================================== =================================================== ===> Building for tcpview-1.0_6 + 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:140:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero(UserOpt,10*sizeof(int)); ^ tcpdump.c:140:2: warning: incompatible implicit declaration of built-in function 'bzero' tcpdump.c:143:15: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] while ((op = getopt(argc, argv, "ac:defF:i:lnNOpqr:Rs:Stvw:WxXYzZ0123456789")) != EOF) { ^ tcpdump.c:144:6: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if(isdigit(op)) { ^ tcpdump.c:153:10: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] cnt = atoi(optarg); ^ tcpdump.c:263:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ tcpdump.c:263:4: warning: incompatible implicit declaration of built-in function 'exit' tcpdump.c:263:4: note: include '' or provide a declaration of 'exit' tcpdump.c:276:3: warning: implicit declaration of function 'setuid' [-Wimplicit-function-declaration] setuid(getuid()); ^ tcpdump.c:276:10: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] setuid(getuid()); ^ tcpdump.c:303:11: warning: implicit declaration of function 'initdevice' [-Wimplicit-function-declaration] if_fd = initdevice(device, pflag, &linktype); ^ tcpdump.c:304:3: warning: implicit declaration of function 'lookup_net' [-Wimplicit-function-declaration] lookup_net(device, &localnet, &netmask); ^ tcpdump.c:319:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ tcpdump.c:319:3: note: include '' or provide a declaration of 'exit' tcpdump.c:347:3: warning: implicit declaration of function 'readloop' [-Wimplicit-function-declaration] readloop(cnt, if_fd, fcode, printit); ^ tcpdump.c: In function 'cleanup': tcpdump.c:358:3: warning: implicit declaration of function 'wrapup' [-Wimplicit-function-declaration] wrapup(if_fd); ^ tcpdump.c:363:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ tcpdump.c:363:2: note: include '' or provide a declaration of 'exit' tcpdump.c: In function 'default_print': tcpdump.c:376:22: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buffer = (char *)malloc(10000); ^ tcpdump.c:376:22: warning: incompatible implicit declaration of built-in function 'malloc' tcpdump.c:376:22: note: include '' or provide a declaration of 'malloc' tcpdump.c: In function 'usage': tcpdump.c:401:2: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ tcpdump.c:401:2: note: include '' or provide a declaration of 'exit' bison -y -d tcpgram.y 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:899:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] y.tab.c:1550:16: note: in expansion of macro 'YYLEX' 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' [-Wimplicit-function-declaration] {N} { yylval.i = stoi(yytext); return NUM; } ^ tcplex.l:129:15: warning: implicit declaration of function 'atoin' [-Wimplicit-function-declaration] yylval.h = atoin(yytext); return HID; ^ tcplex.l:132:3: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration] {B}:+({B}:+)+ { error("bogus ethernet address %s", yytext); } ^ 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) { ^ addrtoname.c:182:30: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] p->nxt = (struct hnamemem *)calloc(1, sizeof (*p)); ^ addrtoname.c:182:30: warning: incompatible implicit declaration of built-in function 'calloc' addrtoname.c:182:30: note: include '' or provide a declaration of 'calloc' addrtoname.c:197:10: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] (void)alarm(20); ^ addrtoname.c:203:17: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] u_int len = strlen(hp->h_name) + 1; ^ addrtoname.c:203:17: warning: incompatible implicit declaration of built-in function 'strlen' addrtoname.c:203:17: note: include '' or provide a declaration of 'strlen' addrtoname.c:204:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] p->name = (char *)malloc(len); ^ addrtoname.c:204:23: warning: incompatible implicit declaration of built-in function 'malloc' addrtoname.c:204:23: note: include '' or provide a declaration of 'malloc' addrtoname.c:205:11: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(p->name, hp->h_name); ^ addrtoname.c:205:11: warning: incompatible implicit declaration of built-in function 'strcpy' addrtoname.c:205:11: note: include '' or provide a declaration of 'strcpy' addrtoname.c:217:20: warning: incompatible implicit declaration of built-in function 'malloc' p->name = (char *)malloc((unsigned)(strlen(cp) + 1)); ^ addrtoname.c:217:20: note: include '' or provide a declaration of 'malloc' addrtoname.c:217:38: warning: incompatible implicit declaration of built-in function 'strlen' p->name = (char *)malloc((unsigned)(strlen(cp) + 1)); ^ addrtoname.c:217:38: note: include '' or provide a declaration of 'strlen' addrtoname.c:218:8: warning: incompatible implicit declaration of built-in function 'strcpy' (void)strcpy(p->name, cp); ^ addrtoname.c:218:8: note: include '' or provide a declaration of 'strcpy' addrtoname.c: In function 'lookup_emem': addrtoname.c:249:33: warning: incompatible implicit declaration of built-in function 'calloc' tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp)); ^ addrtoname.c:249:33: note: include '' or provide a declaration of 'calloc' addrtoname.c: In function 'etheraddr_string': addrtoname.c:275:28: warning: incompatible implicit declaration of built-in function 'malloc' tp->e_name = cp = (char *)malloc(sizeof("00:00:00:00:00:00")); ^ addrtoname.c:275:28: note: include '' or provide a declaration of 'malloc' addrtoname.c: In function 'etherproto_string': addrtoname.c:302:26: warning: incompatible implicit declaration of built-in function 'malloc' tp->name = cp = (char *)malloc(sizeof("0000")); ^ addrtoname.c:302:26: note: include '' or provide a declaration of 'malloc' addrtoname.c:304:31: warning: incompatible implicit declaration of built-in function 'calloc' tp->nxt = (struct hnamemem *)calloc(1, sizeof (*tp)); ^ addrtoname.c:304:31: note: include '' or provide a declaration of 'calloc' addrtoname.c: In function 'tcpport_string': addrtoname.c:326:21: warning: incompatible implicit declaration of built-in function 'malloc' tp->name = (char *)malloc(sizeof("00000")); ^ addrtoname.c:326:21: note: include '' or provide a declaration of 'malloc' addrtoname.c:328:31: warning: incompatible implicit declaration of built-in function 'calloc' tp->nxt = (struct hnamemem *)calloc(1, sizeof (*tp)); ^ addrtoname.c:328:31: note: include '' or provide a declaration of 'calloc' addrtoname.c: In function 'udpport_string': addrtoname.c:345:21: warning: incompatible implicit declaration of built-in function 'malloc' tp->name = (char *)malloc(sizeof("00000")); ^ addrtoname.c:345:21: note: include '' or provide a declaration of 'malloc' addrtoname.c:347:31: warning: incompatible implicit declaration of built-in function 'calloc' tp->nxt = (struct hnamemem *)calloc(1, sizeof(*tp)); ^ addrtoname.c:347:31: note: include '' or provide a declaration of 'calloc' addrtoname.c: In function 'init_servarray': addrtoname.c:364:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(sv->s_proto, "tcp") == 0) ^ addrtoname.c:377:26: warning: incompatible implicit declaration of built-in function 'malloc' table->name = (char *)malloc((unsigned)strlen(buf)+1); ^ addrtoname.c:377:26: note: include '' or provide a declaration of 'malloc' addrtoname.c:377:43: warning: incompatible implicit declaration of built-in function 'strlen' table->name = (char *)malloc((unsigned)strlen(buf)+1); ^ addrtoname.c:377:43: note: include '' or provide a declaration of 'strlen' addrtoname.c:378:10: warning: incompatible implicit declaration of built-in function 'strcpy' (void)strcpy(table->name, buf); ^ addrtoname.c:378:10: note: include '' or provide a declaration of 'strcpy' addrtoname.c:381:13: warning: incompatible implicit declaration of built-in function 'malloc' (char *)malloc((unsigned)strlen(sv->s_name)+1); ^ addrtoname.c:381:13: note: include '' or provide a declaration of 'malloc' addrtoname.c:381:30: warning: incompatible implicit declaration of built-in function 'strlen' (char *)malloc((unsigned)strlen(sv->s_name)+1); ^ addrtoname.c:381:30: note: include '' or provide a declaration of 'strlen' addrtoname.c:382:10: warning: incompatible implicit declaration of built-in function 'strcpy' (void)strcpy(table->name, sv->s_name); ^ addrtoname.c:382:10: note: include '' or provide a declaration of 'strcpy' addrtoname.c:385:35: warning: incompatible implicit declaration of built-in function 'calloc' table->nxt = (struct hnamemem *)calloc(1, sizeof(*table)); ^ addrtoname.c:385:35: note: include '' or provide a declaration of 'calloc' addrtoname.c: In function 'init_eprotoarray': addrtoname.c:431:35: warning: incompatible implicit declaration of built-in function 'calloc' table->nxt = (struct hnamemem *)calloc(1, sizeof(*table)); ^ addrtoname.c:431:35: note: include '' or provide a declaration of 'calloc' addrtoname.c: In function 'init_etherarray': addrtoname.c:451:24: warning: incompatible implicit declaration of built-in function 'malloc' tp->e_name = (char *)malloc((unsigned)strlen(ep->name)+1); ^ addrtoname.c:451:24: note: include '' or provide a declaration of 'malloc' addrtoname.c:451:41: warning: incompatible implicit declaration of built-in function 'strlen' tp->e_name = (char *)malloc((unsigned)strlen(ep->name)+1); ^ addrtoname.c:451:41: note: include '' or provide a declaration of 'strlen' addrtoname.c:452:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(tp->e_name, ep->name); ^ addrtoname.c:452:3: note: include '' or provide a declaration of 'strcpy' cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-ether.c print-ether.c: In function 'ether_print': print-ether.c:57:11: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] (void)printf("%s %s %d: ", ^ print-ether.c:57:11: warning: incompatible implicit declaration of built-in function 'printf' print-ether.c:57:11: note: include '' or provide a declaration of 'printf' print-ether.c:62:11: warning: incompatible implicit declaration of built-in function 'printf' (void)printf("%s %s %s %d: ", ^ print-ether.c:62:11: note: include '' or provide a declaration of 'printf' print-ether.c: In function 'ether_if_print': print-ether.c:87:5: warning: incompatible implicit declaration of built-in function 'printf' printf("[|ether]"); ^ print-ether.c:87:5: note: include '' or provide a declaration of 'printf' print-ether.c:100:7: warning: incompatible implicit declaration of built-in function 'printf' printf("[|trailer %d]",et-ETHERTYPE_TRAIL); ^ print-ether.c:100:7: note: include '' or provide a declaration of 'printf' print-ether.c:102:7: warning: incompatible implicit declaration of built-in function 'printf' printf("[trailer %d]",et-ETHERTYPE_TRAIL); ^ print-ether.c:102:7: note: include '' or provide a declaration of 'printf' print-ether.c:136:16: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration] if( !zflag ) putchar('\n'); ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-ip.c print-ip.c: In function 'igmp_print': print-ip.c:54:15: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] (void)printf("%s > %s: ", ^ print-ip.c:54:15: warning: incompatible implicit declaration of built-in function 'printf' print-ip.c:54:15: note: include '' or provide a declaration of 'printf' print-ip.c: In function 'ip_printroute': print-ip.c:104:2: warning: incompatible implicit declaration of built-in function 'printf' printf(" %s{", type); ^ print-ip.c:104:2: note: include '' or provide a declaration of 'printf' print-ip.c:117:3: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)&cp[len], (char *)&addr, sizeof(addr)); ^ print-ip.c:117:3: warning: incompatible implicit declaration of built-in function 'bcopy' print-ip.c: In function 'ip_optprint': print-ip.c:142:7: warning: incompatible implicit declaration of built-in function 'printf' printf("[|ip]"); ^ print-ip.c:142:7: note: include '' or provide a declaration of 'printf' print-ip.c:148:7: warning: incompatible implicit declaration of built-in function 'printf' printf(" EOL"); ^ print-ip.c:148:7: note: include '' or provide a declaration of 'printf' 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:211:24: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] abuf = (u_char *)malloc(snaplen); ^ print-ip.c:211:24: warning: incompatible implicit declaration of built-in function 'malloc' print-ip.c:211:24: note: include '' or provide a declaration of 'malloc' print-ip.c:213:5: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)ip, (char *)abuf, min(length, snaplen)); ^ print-ip.c:220:5: warning: incompatible implicit declaration of built-in function 'printf' printf("[|ip]"); ^ print-ip.c:220:5: note: include '' or provide a declaration of 'printf' print-ip.c:224:11: warning: incompatible implicit declaration of built-in function 'printf' (void)printf("truncated-ip %d", length); ^ print-ip.c:224:11: note: include '' or provide a declaration of 'printf' print-ip.c:235:11: warning: incompatible implicit declaration of built-in function 'printf' (void)printf("truncated-ip - %d bytes missing!", ^ print-ip.c:235:11: note: include '' or provide a declaration of 'printf' print-ip.c:256:13: warning: incompatible implicit declaration of built-in function 'printf' (void)printf("%s > %s:", ipaddr_string(&ip->ip_src), ^ print-ip.c:256:13: note: include '' or provide a declaration of 'printf' print-ip.c:268:7: warning: implicit declaration of function 'ospf_print' [-Wimplicit-function-declaration] ospf_print((struct ospfhdr *)cp, len, ip); ^ print-ip.c:295:13: warning: incompatible implicit declaration of built-in function 'printf' (void)printf("%s > %s:", ipaddr_string(&ip->ip_src), ^ print-ip.c:295:13: note: include '' or provide a declaration of 'printf' print-ip.c:297:11: warning: incompatible implicit declaration of built-in function 'printf' (void)printf(" (frag %d:%d@%d%s)", ip_id, len, ^ print-ip.c:297:11: note: include '' or provide a declaration of 'printf' print-ip.c:301:11: warning: incompatible implicit declaration of built-in function 'printf' (void)printf(" (DF)"); ^ print-ip.c:301:11: note: include '' or provide a declaration of 'printf' print-ip.c:304:11: warning: incompatible implicit declaration of built-in function 'printf' (void)printf(" [tos 0x%x]", (int)ip->ip_tos); ^ print-ip.c:304:11: note: include '' or provide a declaration of 'printf' print-ip.c:306:11: warning: incompatible implicit declaration of built-in function 'printf' (void)printf(" [ttl %d]", (int)ip->ip_ttl); ^ print-ip.c:306:11: note: include '' or provide a declaration of 'printf' print-ip.c:311:5: warning: incompatible implicit declaration of built-in function 'printf' printf(" ("); ^ print-ip.c:311:5: note: include '' or provide a declaration of 'printf' cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-arp.c print-arp.c: In function 'arp_print': print-arp.c:48:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf("[|arp]"); ^ print-arp.c:48:5: warning: incompatible implicit declaration of built-in function 'printf' print-arp.c:48:5: note: include '' or provide a declaration of 'printf' print-arp.c:52:11: warning: incompatible implicit declaration of built-in function 'printf' (void)printf("truncated-arp"); ^ print-arp.c:52:11: note: include '' or provide a declaration of 'printf' print-arp.c:63:11: warning: incompatible implicit declaration of built-in function 'printf' (void)printf("arp-req #%d for proto #%d (%d) hardware %d (%d)", ^ print-arp.c:63:11: note: include '' or provide a declaration of 'printf' print-arp.c:68:11: warning: incompatible implicit declaration of built-in function 'printf' (void)printf("trailer"); ^ print-arp.c:68:11: note: include '' or provide a declaration of 'printf' print-arp.c:72:11: warning: incompatible implicit declaration of built-in function 'printf' (void)printf("arp who-has %s tell %s", ^ print-arp.c:72:11: note: include '' or provide a declaration of 'printf' cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-tcp.c print-tcp.c: In function 'tcp_print': print-tcp.c:206:9: warning: implicit declaration of function 'bcmp' [-Wimplicit-function-declaration] if (!bcmp((char *)&tha, (char *)&th->addr, ^ print-tcp.c:214:6: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] calloc(1, sizeof (*th)); ^ print-tcp.c:214:6: warning: incompatible implicit declaration of built-in function 'calloc' print-tcp.c:214:6: note: include '' or provide a declaration of 'calloc' print-tcp.c:300:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)cp + 1, (char *)&mss, ^ print-tcp.c:300:5: warning: incompatible implicit declaration of built-in function 'bcopy' print-tcp.c:336:5: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)cp + 1, (char *)&v, ^ print-tcp.c:352:5: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)cp + 1, (char *)&v, ^ print-tcp.c: In function 'assemble': print-tcp.c:492:30: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] t = (struct tcp_frag *)malloc(sizeof(struct tcp_frag)); ^ print-tcp.c:492:30: warning: incompatible implicit declaration of built-in function 'malloc' print-tcp.c:492:30: note: include '' or provide a declaration of 'malloc' print-tcp.c:496:7: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy(data,t->data,len); ^ print-tcp.c: In function 'check_frags': print-tcp.c:534:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(t->data); ^ print-tcp.c:534:7: warning: incompatible implicit declaration of built-in function 'free' print-tcp.c:534:7: note: include '' or provide a declaration of 'free' 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:132:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf("[|udp]"); ^ print-udp.c:132:3: warning: incompatible implicit declaration of built-in function 'printf' print-udp.c:132:3: note: include '' or provide a declaration of 'printf' print-udp.c:136:9: warning: incompatible implicit declaration of built-in function 'printf' (void)printf(" truncated-udp %d", length); ^ print-udp.c:136:9: note: include '' or provide a declaration of 'printf' print-udp.c:161:4: warning: implicit declaration of function 'sunrpcrequest_print' [-Wimplicit-function-declaration] sunrpcrequest_print(rp, length, ip); ^ print-udp.c:171:8: warning: incompatible implicit declaration of built-in function 'printf' (void)printf("%s.%s > %s.%s:", ^ print-udp.c:171:8: note: include '' or provide a declaration of 'printf' cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-atalk.c print-atalk.c: In function 'ataddr_string': print-atalk.c:449:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] i3 = strlen(nambuf) + 1; ^ print-atalk.c:449:9: warning: incompatible implicit declaration of built-in function 'strlen' print-atalk.c:449:9: note: include '' or provide a declaration of 'strlen' print-atalk.c:450:15: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] tp->name = strcpy(malloc((unsigned) i3), nambuf); ^ print-atalk.c:450:15: warning: incompatible implicit declaration of built-in function 'strcpy' print-atalk.c:450:15: note: include '' or provide a declaration of 'strcpy' print-atalk.c:466:8: warning: incompatible implicit declaration of built-in function 'strlen' i = strlen(nambuf) + 1; ^ print-atalk.c:466:8: note: include '' or provide a declaration of 'strlen' print-atalk.c:467:15: warning: incompatible implicit declaration of built-in function 'strcpy' tp->name = strcpy(malloc((unsigned) i), nambuf); ^ print-atalk.c:467:15: note: include '' or provide a declaration of 'strcpy' print-atalk.c:478:6: warning: incompatible implicit declaration of built-in function 'strlen' i = strlen(nambuf) + 1; ^ print-atalk.c:478:6: note: include '' or provide a declaration of 'strlen' print-atalk.c:479:13: warning: incompatible implicit declaration of built-in function 'strcpy' tp->name = strcpy(malloc((unsigned) i), nambuf); ^ print-atalk.c:479:13: note: include '' or provide a declaration of 'strcpy' cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c print-domain.c print-domain.c: In function 'ns_nprint': print-domain.c:88:2: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration] putchar(' '); ^ print-domain.c: In function 'ns_qprint': print-domain.c:125:12: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] case T_A: printf(" A"); break; ^ print-domain.c:125:12: warning: incompatible implicit declaration of built-in function 'printf' print-domain.c:125:12: note: include '' or provide a declaration of 'printf' print-domain.c:155:4: warning: incompatible implicit declaration of built-in function 'printf' printf("(c_any)"); ^ print-domain.c:155:4: note: include '' or provide a declaration of 'printf' print-domain.c:157:4: warning: incompatible implicit declaration of built-in function 'printf' printf("(Class %d)", i); ^ print-domain.c:157:4: note: include '' or provide a declaration of 'printf' print-domain.c: In function 'ns_rprint': print-domain.c:185:4: warning: incompatible implicit declaration of built-in function 'printf' printf("(c_any)"); ^ print-domain.c:185:4: note: include '' or provide a declaration of 'printf' print-domain.c:187:4: warning: incompatible implicit declaration of built-in function 'printf' printf("(Class %d)", i); ^ print-domain.c:187:4: note: include '' or provide a declaration of 'printf' print-domain.c:192:12: warning: incompatible implicit declaration of built-in function 'printf' case T_A: printf(" A %s", ipaddr_string(cp)); break; ^ print-domain.c:192:12: note: include '' or provide a declaration of 'printf' print-domain.c: In function 'ns_print': print-domain.c:247:3: warning: incompatible implicit declaration of built-in function 'printf' printf(" %d%s%s%s%s%s", ^ print-domain.c:247:3: note: include '' or provide a declaration of 'printf' print-domain.c:263:3: warning: incompatible implicit declaration of built-in function 'printf' printf(" %d%s%s", ^ print-domain.c:263:3: note: include '' or provide a declaration of 'printf' print-domain.c:291:2: warning: incompatible implicit declaration of built-in function 'printf' printf(" (%d)", length); ^ print-domain.c:291:2: note: include '' or provide a declaration of 'printf' 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' [-Wimplicit-function-declaration] if (printfn((u_char *)tp->th_stuff, ep)) { ^ 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' [-Wimplicit-function-declaration] if (printfn(bp->bp_sname, ep)) { ^ 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:73:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(str, "[?]"); ^ print-icmp.c:73:2: warning: incompatible implicit declaration of built-in function 'strcpy' print-icmp.c:73:2: note: include '' or provide a declaration of 'strcpy' print-icmp.c:172:10: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] inet_ntoa(dp->icmp_adv[0].addr), ^ 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 's_nametoeproto': nametoaddr.c:178:7: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] if (strcasecmp(p->s, s) == 0) ^ nametoaddr.c: In function 'xdtoi': nametoaddr.c:187:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] xdtoi(c) ^ nametoaddr.c: In function 'ETHER_aton': nametoaddr.c:229:21: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] e = ep = (u_char *)malloc(6); ^ nametoaddr.c:229:21: warning: incompatible implicit declaration of built-in function 'malloc' nametoaddr.c:229:21: note: include '' or provide a declaration of 'malloc' nametoaddr.c: In function 'ETHER_hostton': nametoaddr.c:261:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(ep->name, name) == 0) { ^ nametoaddr.c:262:20: warning: incompatible implicit declaration of built-in function 'malloc' ap = (u_char *)malloc(6); ^ nametoaddr.c:262:20: note: include '' or provide a declaration of 'malloc' nametoaddr.c:263:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy(ep->addr, ap, 6); ^ nametoaddr.c:263:5: warning: incompatible implicit declaration of built-in function 'bcopy' 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:541:7: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] if (!memcmp(a->oid, p, strlen(a->oid))) { ^ print-snmp.c:541:25: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (!memcmp(a->oid, p, strlen(a->oid))) { ^ print-snmp.c:541:25: warning: incompatible implicit declaration of built-in function 'strlen' print-snmp.c:541:25: note: include '' or provide a declaration of 'strlen' print-snmp.c:590:13: warning: implicit declaration of function 'printfn' [-Wimplicit-function-declaration] (void)printfn(p, p+asnlen); ^ print-snmp.c: In function 'snmp_print': print-snmp.c:1002:6: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(elem.data.str, DEF_COMMUNITY, sizeof(DEF_COMMUNITY)-1)) ^ print-snmp.c: In function 'init_mib': print-snmp.c:1051:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2); ^ print-snmp.c:1051:5: warning: incompatible implicit declaration of built-in function 'exit' print-snmp.c:1051:5: note: include '' or provide a declaration of 'exit' print-snmp.c: In function 'read_mib': print-snmp.c:1088:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(name,buf,sizeof(name)); ^ print-snmp.c:1088:5: warning: incompatible implicit declaration of built-in function 'strncpy' print-snmp.c:1088:5: note: include '' or provide a declaration of 'strncpy' print-snmp.c:1099:7: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ print-snmp.c:1099:7: note: include '' or provide a declaration of 'exit' print-snmp.c:1110:23: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] if(hp->subid==atoi(stp)) ^ print-snmp.c:1114:11: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ print-snmp.c:1114:11: note: include '' or provide a declaration of 'exit' print-snmp.c:1128:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(!strcmp(stp,"INTEGER")) ^ print-snmp.c: In function 'enter': print-snmp.c:1192:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] hp = (struct tree *)malloc(sizeof(struct tree)); ^ print-snmp.c:1192:23: warning: incompatible implicit declaration of built-in function 'malloc' print-snmp.c:1192:23: note: include '' or provide a declaration of 'malloc' print-snmp.c:1195:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(hp->label,name); ^ print-snmp.c:1195:3: warning: incompatible implicit declaration of built-in function 'strcpy' print-snmp.c:1195:3: note: include '' or provide a declaration of 'strcpy' 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' [-Wimplicit-function-declaration] p_sfix(&bp->distance); ^ print-ntp.c:156:3: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(rclock, (char *)&(bp->refid), 4); ^ print-ntp.c:156:3: warning: incompatible implicit declaration of built-in function 'strncpy' print-ntp.c:156:3: note: include '' or provide a declaration of 'strncpy' print-ntp.c:178:2: warning: implicit declaration of function 'p_ntp_time' [-Wimplicit-function-declaration] p_ntp_time(&(bp->reftime)); ^ 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 print-null.c: In function 'null_print': print-null.c:67:2: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy(p, &family, sizeof(family)); ^ print-null.c:67:2: warning: incompatible implicit declaration of built-in function 'bcopy' 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 print-ospf.c: In function 'ospf_print_seqage': print-ospf.c:92:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] printf(" S %X age ", ^ print-ospf.c:92:5: warning: incompatible implicit declaration of built-in function 'printf' print-ospf.c:92:5: note: include '' or provide a declaration of 'printf' print-ospf.c: In function 'ospf_print_bits': print-ospf.c:119:6: warning: incompatible implicit declaration of built-in function 'printf' printf("%c%s", ^ print-ospf.c:119:6: note: include '' or provide a declaration of 'printf' print-ospf.c: In function 'ospf_print_lshdr': print-ospf.c:152:5: warning: incompatible implicit declaration of built-in function 'printf' printf(" {"); ^ print-ospf.c:152:5: note: include '' or provide a declaration of 'printf' print-ospf.c: In function 'ospf_print_lsa': print-ospf.c:195:2: warning: incompatible implicit declaration of built-in function 'printf' printf(" }"); ^ print-ospf.c:195:2: note: include '' or provide a declaration of 'printf' print-ospf.c:211:6: warning: incompatible implicit declaration of built-in function 'printf' printf(" {"); ^ print-ospf.c:211:6: note: include '' or provide a declaration of 'printf' print-ospf.c:255:2: warning: incompatible implicit declaration of built-in function 'printf' printf(" mask %s rtrs", ^ print-ospf.c:255:2: note: include '' or provide a declaration of 'printf' print-ospf.c:331:5: warning: incompatible implicit declaration of built-in function 'printf' printf(" }"); ^ print-ospf.c:331:5: note: include '' or provide a declaration of 'printf' print-ospf.c: In function 'ospf_print': print-ospf.c:352:12: warning: incompatible implicit declaration of built-in function 'printf' (void) printf(" %s > %s:", ^ print-ospf.c:352:12: note: include '' or provide a declaration of 'printf' 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:72:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ pcap.c:72:3: warning: incompatible implicit declaration of built-in function 'exit' pcap.c:72:3: note: include '' or provide a declaration of 'exit' pcap.c:74:18: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buf = (u_char *)malloc(bufsize); ^ pcap.c:74:18: warning: incompatible implicit declaration of built-in function 'malloc' pcap.c:74:18: note: include '' or provide a declaration of 'malloc' pcap.c:78:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ pcap.c:78:3: note: include '' or provide a declaration of 'exit' pcap.c:83:13: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] if ((cc = read(if_fd, (char *)buf, (int)bufsize)) < 0) { ^ pcap.c:100:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ pcap.c:100:4: note: include '' or provide a declaration of 'exit' 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) ^ pcap.c: In function 'wrapup': pcap.c:127:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^ pcap.c: In function 'bpf_open': pcap.c:148:3: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ pcap.c:148:3: note: include '' or provide a declaration of 'exit' pcap.c: In function 'initdevice': pcap.c:178:3: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ pcap.c:178:3: note: include '' or provide a declaration of 'exit' pcap.c:183:3: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ pcap.c:183:3: note: include '' or provide a declaration of 'exit' pcap.c:190:3: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ pcap.c:190:3: note: include '' or provide a declaration of 'exit' pcap.c:204:5: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ pcap.c:204:5: note: include '' or provide a declaration of 'exit' 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_init': savefile.c:126:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ savefile.c:126:4: warning: incompatible implicit declaration of built-in function 'exit' savefile.c:126:4: note: include '' or provide a declaration of 'exit' savefile.c:137:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ savefile.c:137:3: note: include '' or provide a declaration of 'exit' savefile.c: In function 'sf_read': savefile.c:176:18: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buf = (u_char *)malloc(snaplen); ^ savefile.c:176:18: warning: incompatible implicit declaration of built-in function 'malloc' savefile.c:176:18: note: include '' or provide a declaration of 'malloc' 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:203:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)buf); ^ savefile.c:203:2: warning: incompatible implicit declaration of built-in function 'free' savefile.c:203:2: note: include '' or provide a declaration of 'free' savefile.c: In function 'sf_write_init': savefile.c:270:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ savefile.c:270:4: note: include '' or provide a declaration of 'exit' savefile.c: In function 'sf_err': savefile.c:313:3: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration] error("archaic file format"); ^ savefile.c:332:2: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] abort(); ^ savefile.c:332:2: warning: incompatible implicit declaration of built-in function 'abort' savefile.c:332:2: note: include '' or provide a declaration of 'abort' 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) ^ util.c: In function 'error': util.c:290:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] cp += strlen(cp); ^ util.c:290:9: warning: incompatible implicit declaration of built-in function 'strlen' util.c:290:9: note: include '' or provide a declaration of 'strlen' util.c: In function 'warning': util.c:311:9: warning: incompatible implicit declaration of built-in function 'strlen' cp += strlen(cp); ^ util.c:311:9: note: include '' or provide a declaration of 'strlen' util.c: In function 'copy_argv': util.c:336:10: warning: incompatible implicit declaration of built-in function 'strlen' len += strlen(*p++) + 1; ^ util.c:336:10: note: include '' or provide a declaration of 'strlen' util.c: In function 'read_infile': util.c:369:6: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] if (read(fd, p, (int)buf.st_size) != buf.st_size) ^ 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 inet.c: In function 'lookup_device': inet.c:65:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ inet.c:65:3: warning: incompatible implicit declaration of built-in function 'exit' inet.c:65:3: note: include '' or provide a declaration of 'exit' inet.c:73:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ inet.c:73:3: note: include '' or provide a declaration of 'exit' inet.c:92:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ inet.c:92:4: note: include '' or provide a declaration of 'exit' inet.c:97:8: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] n = atoi(cp); ^ inet.c:113:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^ inet.c:117:8: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(device, mp->ifr_name); ^ inet.c:117:8: warning: incompatible implicit declaration of built-in function 'strcpy' inet.c:117:8: note: include '' or provide a declaration of 'strcpy' inet.c: In function 'lookup_net': inet.c:152:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ inet.c:152:3: note: include '' or provide a declaration of 'exit' inet.c:154:8: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void)strncpy(ifr.ifr_name, device, sizeof ifr.ifr_name); ^ inet.c:154:8: warning: incompatible implicit declaration of built-in function 'strncpy' inet.c:154:8: note: include '' or provide a declaration of 'strncpy' cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c gencode.c gencode.c: In function 'newchunk': gencode.c:130:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)cp->m, size); ^ gencode.c:130:3: warning: incompatible implicit declaration of built-in function 'bzero' gencode.c: In function 'parse': gencode.c:219:2: warning: implicit declaration of function 'lex_init' [-Wimplicit-function-declaration] lex_init(buf ? buf : ""); ^ gencode.c:228:2: warning: implicit declaration of function 'yyparse' [-Wimplicit-function-declaration] yyparse(); ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c optimize.c optimize.c: In function 'find_levels': optimize.c:179:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)levels, n_blocks * sizeof(*levels)); ^ optimize.c:179:2: warning: incompatible implicit declaration of built-in function 'bzero' optimize.c: In function 'find_edom': optimize.c:247:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero(root->et.edom, edgewords * sizeof(*(uset)0)); ^ optimize.c: In function 'find_closure': optimize.c:274:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)all_closure_sets, ^ optimize.c: In function 'atomuse': optimize.c:330:2: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] abort(); ^ optimize.c:330:2: warning: incompatible implicit declaration of built-in function 'abort' optimize.c:330:2: note: include '' or provide a declaration of 'abort' optimize.c: In function 'compute_local_ud': optimize.c:391:5: warning: incompatible implicit declaration of built-in function 'abort' abort(); ^ optimize.c:391:5: note: include '' or provide a declaration of 'abort' optimize.c: In function 'init_val': optimize.c:472:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)vmap, maxval * sizeof(*vmap)); ^ optimize.c: In function 'fold_op': optimize.c:573:3: warning: incompatible implicit declaration of built-in function 'abort' abort(); ^ optimize.c:573:3: note: include '' or provide a declaration of 'abort' optimize.c: In function 'opt_peep': optimize.c:774:4: warning: incompatible implicit declaration of built-in function 'abort' abort(); ^ optimize.c:774:4: note: include '' or provide a declaration of 'abort' optimize.c: In function 'opt_deadstores': optimize.c:1011:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)last, sizeof last); ^ 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:1042:3: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)b->val, sizeof(b->val)); ^ optimize.c:1044:3: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)p->pred->val, (char *)b->val, sizeof(b->val)); ^ optimize.c:1044:3: warning: incompatible implicit declaration of built-in function 'bcopy' optimize.c: In function 'opt_j': optimize.c:1178:8: warning: implicit declaration of function 'ffs' [-Wimplicit-function-declaration] k = ffs(x) - 1; ^ 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); ^ optimize.c: In function 'opt_cleanup': optimize.c:1623:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((void *)vnode_base); ^ optimize.c:1623:2: warning: incompatible implicit declaration of built-in function 'free' optimize.c:1623:2: note: include '' or provide a declaration of 'free' optimize.c: In function 'opt_init': optimize.c:1717:28: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] blocks = (struct block **)malloc(n * sizeof(*blocks)); ^ optimize.c:1717:28: warning: incompatible implicit declaration of built-in function 'malloc' optimize.c:1717:28: note: include '' or provide a declaration of 'malloc' optimize.c: In function 'icode_to_fcode': optimize.c:1848:26: warning: incompatible implicit declaration of built-in function 'malloc' fp = (struct bpf_insn *)malloc(sizeof(*fp) * n); ^ optimize.c:1848:26: note: include '' or provide a declaration of 'malloc' optimize.c:1849:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)fp, sizeof(*fp) * n); ^ 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] In file included from bpf_dump.c:26:0: /usr/include/stdio.h:207:6: 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' 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_winit': sniffer_file.c:259:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ sniffer_file.c:259:5: warning: incompatible implicit declaration of built-in function 'exit' sniffer_file.c:259:5: note: include '' or provide a declaration of 'exit' sniffer_file.c: In function 'sniff_write': sniffer_file.c:367:5: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write(2,".",1); ^ sniffer_file.c:370:5: warning: implicit declaration of function 'ether_if_print' [-Wimplicit-function-declaration] ether_if_print(sp, tvp, length, caplen); ^ sniffer_file.c: In function 'sniff_read': sniffer_file.c:389:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buf = (u_char *)malloc(snaplen); ^ sniffer_file.c:389:19: warning: incompatible implicit declaration of built-in function 'malloc' sniffer_file.c:389:19: note: include '' or provide a declaration of 'malloc' sniffer_file.c:393:9: warning: implicit declaration of function 'sniff_next_packet' [-Wimplicit-function-declaration] while(sniff_next_packet(&h, buf) == 0) { ^ sniffer_file.c:394:9: warning: implicit declaration of function 'bpf_filter' [-Wimplicit-function-declaration] if (bpf_filter(fcode,buf,h.len,h.caplen)) { ^ sniffer_file.c:400:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)buf); ^ sniffer_file.c:400:3: warning: incompatible implicit declaration of built-in function 'free' sniffer_file.c:400:3: note: include '' or provide a declaration of 'free' 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' [-Wimplicit-function-declaration] while ((op = getopt(argc, argv, "dRrtw:")) != EOF) ^ tcpslice.c:134:3: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration] error( "only one of -R, -r, or -t can be specified" ); ^ tcpslice.c:185:8: warning: implicit declaration of function 'isatty' [-Wimplicit-function-declaration] isatty( fileno(stdout) ) ) ^ tcpslice.c: In function 'local_time_zone': tcpslice.c:226:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ tcpslice.c:226:3: warning: incompatible implicit declaration of built-in function 'exit' tcpslice.c:226:3: note: include '' or provide a declaration of 'exit' tcpslice.c: In function 'parse_time': tcpslice.c:259:19: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] result.tv_sec = atoi( time_string ); ^ tcpslice.c: In function 'get_file_range': tcpslice.c:442:9: warning: implicit declaration of function 'sf_find_end' [-Wimplicit-function-declaration] if ( ! sf_find_end( first_time, last_time ) ) ^ tcpslice.c: In function 'first_packet_time': tcpslice.c:462:18: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buf = (u_char *)malloc((unsigned)snaplen); ^ tcpslice.c:462:18: warning: incompatible implicit declaration of built-in function 'malloc' tcpslice.c:462:18: note: include '' or provide a declaration of 'malloc' tcpslice.c:467:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)buf); ^ tcpslice.c:467:2: warning: incompatible implicit declaration of built-in function 'free' tcpslice.c:467:2: note: include '' or provide a declaration of 'free' tcpslice.c: In function 'extract_slice': tcpslice.c:496:18: warning: incompatible implicit declaration of built-in function 'malloc' buf = (u_char *)malloc((unsigned)snaplen); ^ tcpslice.c:496:18: note: include '' or provide a declaration of 'malloc' tcpslice.c:519:7: warning: implicit declaration of function 'sf_timestamp_less_than' [-Wimplicit-function-declaration] if ( sf_timestamp_less_than( start_time, &file_start_time ) ) ^ tcpslice.c:526:2: warning: implicit declaration of function 'sf_find_packet' [-Wimplicit-function-declaration] sf_find_packet( &file_start_time, start_pos, ^ tcpslice.c:567:2: warning: incompatible implicit declaration of built-in function 'free' free( (char *) buf ); ^ tcpslice.c:567:2: note: include '' or provide a declaration of 'free' tcpslice.c: In function 'usage': tcpslice.c:643:2: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ tcpslice.c:643:2: note: include '' or provide a declaration of 'exit' 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 search.c: In function 'sf_find_end': search.c:281:18: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buf = (u_char *)malloc((unsigned) num_bytes); ^ search.c:281:18: warning: incompatible implicit declaration of built-in function 'malloc' search.c:281:18: note: include '' or provide a declaration of 'malloc' search.c:347:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free( (char *) buf ); ^ search.c:347:2: warning: incompatible implicit declaration of built-in function 'free' search.c:347:2: note: include '' or provide a declaration of 'free' search.c: In function 'read_up_to': search.c:412:19: warning: incompatible implicit declaration of built-in function 'malloc' buf = (u_char *) malloc( (unsigned) snaplen ); ^ search.c:412:19: note: include '' or provide a declaration of 'malloc' search.c:441:2: warning: incompatible implicit declaration of built-in function 'free' free( (char *) buf ); ^ search.c:441:2: note: include '' or provide a declaration of 'free' search.c: In function 'sf_find_packet': search.c:474:19: warning: incompatible implicit declaration of built-in function 'malloc' buf = (u_char *) malloc( num_bytes ); ^ search.c:474:19: note: include '' or provide a declaration of 'malloc' search.c:556:2: warning: incompatible implicit declaration of built-in function 'free' free( (char *) buf ); ^ search.c:556:2: note: include '' or provide a declaration of 'free' 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 tcpview.c: In function 'default_print': tcpview.c:328:22: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buffer = (char *)malloc(10000); ^ tcpview.c:328:22: warning: incompatible implicit declaration of built-in function 'malloc' tcpview.c:328:22: note: include '' or provide a declaration of 'malloc' 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:0: /usr/local/include/X11/Intrinsic.h:1235:13: note: expected 'XtCallbackProc {aka void (*)(struct _WidgetRec *, void *, void *)}' but argument is of type 'void (*)(struct _WidgetRec *, char *, char *)' extern void XtAddCallback( ^ 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' 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:116:5: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] system( str ); ^ dialogs.c:117:5: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink( filename ); ^ 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:279:19: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] Filter.port = atoi(string); ^ 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:209:24: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] abuf = (u_char *)malloc(MAX_SNAPLEN); ^ print-ip.c:209:24: warning: incompatible implicit declaration of built-in function 'malloc' print-ip.c:209:24: note: include '' or provide a declaration of 'malloc' print-ip.c:213:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)ip, (char *)abuf, min(length, snaplen)); ^ print-ip.c:213:5: warning: incompatible implicit declaration of built-in function 'bcopy' print-ip.c:268:7: warning: implicit declaration of function 'ospf_print' [-Wimplicit-function-declaration] ospf_print((struct ospfhdr *)cp, len, ip); ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c print-tcp.c print-tcp.c: In function 'tcp_print': print-tcp.c:206:9: warning: implicit declaration of function 'bcmp' [-Wimplicit-function-declaration] if (!bcmp((char *)&tha, (char *)&th->addr, ^ print-tcp.c:214:6: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] calloc(1, sizeof (*th)); ^ print-tcp.c:214:6: warning: incompatible implicit declaration of built-in function 'calloc' print-tcp.c:214:6: note: include '' or provide a declaration of 'calloc' print-tcp.c:300:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)cp + 1, (char *)&mss, ^ print-tcp.c:300:5: warning: incompatible implicit declaration of built-in function 'bcopy' print-tcp.c:336:5: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)cp + 1, (char *)&v, ^ print-tcp.c:352:5: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)cp + 1, (char *)&v, ^ print-tcp.c: In function 'assemble': print-tcp.c:492:30: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] t = (struct tcp_frag *)malloc(sizeof(struct tcp_frag)); ^ print-tcp.c:492:30: warning: incompatible implicit declaration of built-in function 'malloc' print-tcp.c:492:30: note: include '' or provide a declaration of 'malloc' print-tcp.c:496:7: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy(data,t->data,len); ^ print-tcp.c: In function 'check_frags': print-tcp.c:534:7: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(t->data); ^ print-tcp.c:534:7: warning: incompatible implicit declaration of built-in function 'free' print-tcp.c:534:7: note: include '' or provide a declaration of 'free' print-tcp.c: In function 'reset_tcp_assembly': print-tcp.c:557:7: warning: incompatible implicit declaration of built-in function 'free' free(t->data); ^ print-tcp.c:557:7: note: include '' or provide a declaration of 'free' print-tcp.c:567:7: warning: incompatible implicit declaration of built-in function 'free' free( h1 ); ^ print-tcp.c:567:7: note: include '' or provide a declaration of 'free' print-tcp.c:572:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero(&tcp_seq_hash[0],sizeof(struct tcp_seq_hash)*TSEQ_HASHSIZE); ^ print-tcp.c:572:3: warning: incompatible implicit declaration of built-in function 'bzero' 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' [-Wimplicit-function-declaration] sunrpcrequest_print(rp, length, ip); ^ 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 print-atalk.c: In function 'ataddr_string': print-atalk.c:449:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] i3 = strlen(nambuf) + 1; ^ print-atalk.c:449:9: warning: incompatible implicit declaration of built-in function 'strlen' print-atalk.c:449:9: note: include '' or provide a declaration of 'strlen' print-atalk.c:450:15: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] tp->name = strcpy(malloc((unsigned) i3), nambuf); ^ print-atalk.c:450:15: warning: incompatible implicit declaration of built-in function 'strcpy' print-atalk.c:450:15: note: include '' or provide a declaration of 'strcpy' print-atalk.c:466:8: warning: incompatible implicit declaration of built-in function 'strlen' i = strlen(nambuf) + 1; ^ print-atalk.c:466:8: note: include '' or provide a declaration of 'strlen' print-atalk.c:467:15: warning: incompatible implicit declaration of built-in function 'strcpy' tp->name = strcpy(malloc((unsigned) i), nambuf); ^ print-atalk.c:467:15: note: include '' or provide a declaration of 'strcpy' print-atalk.c:478:6: warning: incompatible implicit declaration of built-in function 'strlen' i = strlen(nambuf) + 1; ^ print-atalk.c:478:6: note: include '' or provide a declaration of 'strlen' print-atalk.c:479:13: warning: incompatible implicit declaration of built-in function 'strcpy' tp->name = strcpy(malloc((unsigned) i), nambuf); ^ print-atalk.c:479:13: note: include '' or provide a declaration of 'strcpy' 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' [-Wimplicit-function-declaration] if (printfn((u_char *)tp->th_stuff, ep)) { ^ 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:73:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(str, "[?]"); ^ print-icmp.c:73:2: warning: incompatible implicit declaration of built-in function 'strcpy' print-icmp.c:73:2: note: include '' or provide a declaration of 'strcpy' print-icmp.c:172:10: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] inet_ntoa(dp->icmp_adv[0].addr), ^ 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' [-Wimplicit-function-declaration] if (printfn(bp->bp_sname, ep)) { ^ 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:541:7: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration] if (!memcmp(a->oid, p, strlen(a->oid))) { ^ print-snmp.c:541:25: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (!memcmp(a->oid, p, strlen(a->oid))) { ^ print-snmp.c:541:25: warning: incompatible implicit declaration of built-in function 'strlen' print-snmp.c:541:25: note: include '' or provide a declaration of 'strlen' print-snmp.c:590:13: warning: implicit declaration of function 'printfn' [-Wimplicit-function-declaration] (void)printfn(p, p+asnlen); ^ print-snmp.c: In function 'snmp_print': print-snmp.c:1002:6: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(elem.data.str, DEF_COMMUNITY, sizeof(DEF_COMMUNITY)-1)) ^ print-snmp.c: In function 'init_mib': print-snmp.c:1051:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(2); ^ print-snmp.c:1051:5: warning: incompatible implicit declaration of built-in function 'exit' print-snmp.c:1051:5: note: include '' or provide a declaration of 'exit' print-snmp.c: In function 'read_mib': print-snmp.c:1088:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(name,buf,sizeof(name)); ^ print-snmp.c:1088:5: warning: incompatible implicit declaration of built-in function 'strncpy' print-snmp.c:1088:5: note: include '' or provide a declaration of 'strncpy' print-snmp.c:1099:7: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ print-snmp.c:1099:7: note: include '' or provide a declaration of 'exit' print-snmp.c:1110:23: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] if(hp->subid==atoi(stp)) ^ print-snmp.c:1114:11: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ print-snmp.c:1114:11: note: include '' or provide a declaration of 'exit' print-snmp.c:1128:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if(!strcmp(stp,"INTEGER")) ^ print-snmp.c: In function 'enter': print-snmp.c:1192:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] hp = (struct tree *)malloc(sizeof(struct tree)); ^ print-snmp.c:1192:23: warning: incompatible implicit declaration of built-in function 'malloc' print-snmp.c:1192:23: note: include '' or provide a declaration of 'malloc' print-snmp.c:1195:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(hp->label,name); ^ print-snmp.c:1195:3: warning: incompatible implicit declaration of built-in function 'strcpy' print-snmp.c:1195:3: note: include '' or provide a declaration of 'strcpy' 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' [-Wimplicit-function-declaration] p_sfix(&bp->distance); ^ print-ntp.c:156:3: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(rclock, (char *)&(bp->refid), 4); ^ print-ntp.c:156:3: warning: incompatible implicit declaration of built-in function 'strncpy' print-ntp.c:156:3: note: include '' or provide a declaration of 'strncpy' print-ntp.c:178:2: warning: implicit declaration of function 'p_ntp_time' [-Wimplicit-function-declaration] p_ntp_time(&(bp->reftime)); ^ 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' [-Wimplicit-function-declaration] close(fp); ^ 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:48:24: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] abuf = (u_char *)malloc(MAX_SNAPLEN); ^ detail-ip.c:48:24: warning: incompatible implicit declaration of built-in function 'malloc' detail-ip.c:48:24: note: include '' or provide a declaration of 'malloc' detail-ip.c:49:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)ip, (char *)abuf, Phdr->caplen-Offset); ^ detail-ip.c:49:5: warning: incompatible implicit declaration of built-in function 'bcopy' detail-ip.c:74:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(buf,Precedence[prec]); ^ detail-ip.c:74:5: warning: incompatible implicit declaration of built-in function 'strcpy' detail-ip.c:74:5: note: include '' or provide a declaration of 'strcpy' detail-ip.c:76:18: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] if( *buf ) strcat(buf,", "); ^ detail-ip.c:76:18: warning: incompatible implicit declaration of built-in function 'strcat' detail-ip.c:76:18: note: include '' or provide a declaration of 'strcat' detail-ip.c:77:7: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buf,"Low Delay"); ^ detail-ip.c:77:7: note: include '' or provide a declaration of 'strcat' detail-ip.c:80:18: warning: incompatible implicit declaration of built-in function 'strcat' if( *buf ) strcat(buf,", "); ^ detail-ip.c:80:18: note: include '' or provide a declaration of 'strcat' detail-ip.c:81:7: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buf,"High Throughput"); ^ detail-ip.c:81:7: note: include '' or provide a declaration of 'strcat' detail-ip.c:84:18: warning: incompatible implicit declaration of built-in function 'strcat' if( *buf ) strcat(buf,", "); ^ detail-ip.c:84:18: note: include '' or provide a declaration of 'strcat' detail-ip.c:85:7: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buf,"High Relibility"); ^ detail-ip.c:85:7: note: include '' or provide a declaration of 'strcat' detail-ip.c:98:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buf,"Don't Fragment "); ^ detail-ip.c:98:5: note: include '' or provide a declaration of 'strcat' detail-ip.c:100:5: warning: incompatible implicit declaration of built-in function 'strcat' strcat(buf,"More Fragments"); ^ detail-ip.c:100:5: note: include '' or provide a declaration of 'strcat' detail-ip.c:108:3: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(D_Proto,ipproto_string(ip->ip_p)); ^ detail-ip.c:108:3: note: include '' or provide a declaration of 'strcpy' detail-ip.c:157:5: warning: implicit declaration of function 'detail_icmp' [-Wimplicit-function-declaration] detail_icmp((struct icmp *)cp, len); ^ detail-ip.c: In function 'ip_printroute': detail-ip.c:269:7: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy((char *)&cp[len], (char *)&addr, sizeof(addr)); ^ detail-ip.c: In function 'do_addr': detail-ip.c:290:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if( strcmp(str1,str2) ) ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c detail-tcp.c detail-tcp.c: In function 'detail_tcp': detail-tcp.c:85:3: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy(&tp->th_seq,&seq,4); ^ detail-tcp.c:85:3: warning: incompatible implicit declaration of built-in function 'bcopy' 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' [-Wimplicit-function-declaration] detail_rip((u_char *)(up + 1), length); ^ detail-udp.c:154:5: warning: implicit declaration of function 'detail_domain' [-Wimplicit-function-declaration] detail_domain((u_char *)(up + 1), length); ^ detail-udp.c:156:5: warning: implicit declaration of function 'detail_snmp' [-Wimplicit-function-declaration] detail_snmp((u_char *)(up + 1), length); ^ 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 print-null.c: In function 'null_print': print-null.c:67:2: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy(p, &family, sizeof(family)); ^ print-null.c:67:2: warning: incompatible implicit declaration of built-in function 'bcopy' 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 'newchunk': gencode.c:130:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)cp->m, size); ^ gencode.c:130:3: warning: incompatible implicit declaration of built-in function 'bzero' gencode.c: In function 'parse': gencode.c:219:2: warning: implicit declaration of function 'lex_init' [-Wimplicit-function-declaration] lex_init(buf ? buf : ""); ^ gencode.c:228:2: warning: implicit declaration of function 'yyparse' [-Wimplicit-function-declaration] yyparse(); ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c optimize.c optimize.c: In function 'find_levels': optimize.c:179:2: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero((char *)levels, n_blocks * sizeof(*levels)); ^ optimize.c:179:2: warning: incompatible implicit declaration of built-in function 'bzero' optimize.c: In function 'find_edom': optimize.c:247:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero(root->et.edom, edgewords * sizeof(*(uset)0)); ^ optimize.c: In function 'find_closure': optimize.c:274:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)all_closure_sets, ^ optimize.c: In function 'atomuse': optimize.c:330:2: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] abort(); ^ optimize.c:330:2: warning: incompatible implicit declaration of built-in function 'abort' optimize.c:330:2: note: include '' or provide a declaration of 'abort' optimize.c: In function 'compute_local_ud': optimize.c:391:5: warning: incompatible implicit declaration of built-in function 'abort' abort(); ^ optimize.c:391:5: note: include '' or provide a declaration of 'abort' optimize.c: In function 'init_val': optimize.c:472:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)vmap, maxval * sizeof(*vmap)); ^ optimize.c: In function 'fold_op': optimize.c:573:3: warning: incompatible implicit declaration of built-in function 'abort' abort(); ^ optimize.c:573:3: note: include '' or provide a declaration of 'abort' optimize.c: In function 'opt_peep': optimize.c:774:4: warning: incompatible implicit declaration of built-in function 'abort' abort(); ^ optimize.c:774:4: note: include '' or provide a declaration of 'abort' optimize.c: In function 'opt_deadstores': optimize.c:1011:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)last, sizeof last); ^ 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:1042:3: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)b->val, sizeof(b->val)); ^ optimize.c:1044:3: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy((char *)p->pred->val, (char *)b->val, sizeof(b->val)); ^ optimize.c:1044:3: warning: incompatible implicit declaration of built-in function 'bcopy' optimize.c: In function 'opt_j': optimize.c:1178:8: warning: implicit declaration of function 'ffs' [-Wimplicit-function-declaration] k = ffs(x) - 1; ^ 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); ^ optimize.c: In function 'opt_cleanup': optimize.c:1623:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((void *)vnode_base); ^ optimize.c:1623:2: warning: incompatible implicit declaration of built-in function 'free' optimize.c:1623:2: note: include '' or provide a declaration of 'free' optimize.c: In function 'opt_init': optimize.c:1717:28: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] blocks = (struct block **)malloc(n * sizeof(*blocks)); ^ optimize.c:1717:28: warning: incompatible implicit declaration of built-in function 'malloc' optimize.c:1717:28: note: include '' or provide a declaration of 'malloc' optimize.c: In function 'icode_to_fcode': optimize.c:1848:26: warning: incompatible implicit declaration of built-in function 'malloc' fp = (struct bpf_insn *)malloc(sizeof(*fp) * n); ^ optimize.c:1848:26: note: include '' or provide a declaration of 'malloc' optimize.c:1849:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero((char *)fp, sizeof(*fp) * n); ^ 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 's_nametoeproto': nametoaddr.c:178:7: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] if (strcasecmp(p->s, s) == 0) ^ nametoaddr.c: In function 'xdtoi': nametoaddr.c:187:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] xdtoi(c) ^ nametoaddr.c: In function 'ETHER_aton': nametoaddr.c:229:21: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] e = ep = (u_char *)malloc(6); ^ nametoaddr.c:229:21: warning: incompatible implicit declaration of built-in function 'malloc' nametoaddr.c:229:21: note: include '' or provide a declaration of 'malloc' nametoaddr.c: In function 'ETHER_hostton': nametoaddr.c:261:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(ep->name, name) == 0) { ^ nametoaddr.c:262:20: warning: incompatible implicit declaration of built-in function 'malloc' ap = (u_char *)malloc(6); ^ nametoaddr.c:262:20: note: include '' or provide a declaration of 'malloc' nametoaddr.c:263:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy(ep->addr, ap, 6); ^ nametoaddr.c:263:5: warning: incompatible implicit declaration of built-in function 'bcopy' bison -y -d tcpgram.y 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:899:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration] y.tab.c:1550:16: note: in expansion of macro 'YYLEX' 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) ^ util.c: In function 'error': util.c:290:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] cp += strlen(cp); ^ util.c:290:9: warning: incompatible implicit declaration of built-in function 'strlen' util.c:290:9: note: include '' or provide a declaration of 'strlen' util.c: In function 'warning': util.c:311:9: warning: incompatible implicit declaration of built-in function 'strlen' cp += strlen(cp); ^ util.c:311:9: note: include '' or provide a declaration of 'strlen' 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: 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: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' [-Wimplicit-function-declaration] {N} { yylval.i = stoi(yytext); return NUM; } ^ tcplex.l:129:15: warning: implicit declaration of function 'atoin' [-Wimplicit-function-declaration] yylval.h = atoin(yytext); return HID; ^ 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' 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 'time_callback': filter-stream.c:372:20: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] Timeout.tv_sec = atoi(string); ^ filter-stream.c:373:22: warning: implicit declaration of function 'atof' [-Wimplicit-function-declaration] Timeout.tv_usec = (atof(string) - (double)(Timeout.tv_sec))*1000000; ^ filter-stream.c: In function 'filterstream': filter-stream.c:517:13: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] (void)system( str ); ^ filter-stream.c:518:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink( Xfilename ); ^ 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' [-Wimplicit-function-declaration] xperror( filename ); ^ 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' [-Wimplicit-function-declaration] unlink( filename ); ^ text.c: In function 'show_text': text.c:202:3: warning: implicit declaration of function 'FillMenu' [-Wimplicit-function-declaration] FillMenu( menu_widget, "Save As...", save_callback ); ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c pcap.c pcap.c: In function 'readloop': pcap.c:72:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ pcap.c:72:3: warning: incompatible implicit declaration of built-in function 'exit' pcap.c:72:3: note: include '' or provide a declaration of 'exit' pcap.c:74:18: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buf = (u_char *)malloc(bufsize); ^ pcap.c:74:18: warning: incompatible implicit declaration of built-in function 'malloc' pcap.c:74:18: note: include '' or provide a declaration of 'malloc' pcap.c:78:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ pcap.c:78:3: note: include '' or provide a declaration of 'exit' pcap.c:83:13: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] if ((cc = read(if_fd, (char *)buf, (int)bufsize)) < 0) { ^ pcap.c:100:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ pcap.c:100:4: note: include '' or provide a declaration of 'exit' 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) ^ pcap.c: In function 'wrapup': pcap.c:127:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^ pcap.c: In function 'bpf_open': pcap.c:148:3: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ pcap.c:148:3: note: include '' or provide a declaration of 'exit' pcap.c: In function 'initdevice': pcap.c:178:3: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ pcap.c:178:3: note: include '' or provide a declaration of 'exit' pcap.c:183:3: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ pcap.c:183:3: note: include '' or provide a declaration of 'exit' pcap.c:190:3: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ pcap.c:190:3: note: include '' or provide a declaration of 'exit' pcap.c:204:5: warning: incompatible implicit declaration of built-in function 'exit' exit(-1); ^ pcap.c:204:5: note: include '' or provide a declaration of 'exit' cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c inet.c inet.c: In function 'lookup_device': inet.c:65:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^ inet.c:65:3: warning: incompatible implicit declaration of built-in function 'exit' inet.c:65:3: note: include '' or provide a declaration of 'exit' inet.c:73:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ inet.c:73:3: note: include '' or provide a declaration of 'exit' inet.c:92:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ inet.c:92:4: note: include '' or provide a declaration of 'exit' inet.c:97:8: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] n = atoi(cp); ^ inet.c:113:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fd); ^ inet.c:117:8: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] (void)strcpy(device, mp->ifr_name); ^ inet.c:117:8: warning: incompatible implicit declaration of built-in function 'strcpy' inet.c:117:8: note: include '' or provide a declaration of 'strcpy' inet.c: In function 'lookup_net': inet.c:152:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ inet.c:152:3: note: include '' or provide a declaration of 'exit' inet.c:154:8: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void)strncpy(ifr.ifr_name, device, sizeof ifr.ifr_name); ^ inet.c:154:8: warning: incompatible implicit declaration of built-in function 'strncpy' inet.c:154:8: note: include '' or provide a declaration of 'strncpy' cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -DTCPVIEW -I.. -I/usr/local/include -c capture.c capture.c:68:7: warning: conflicting types for built-in function 'malloc' char *malloc( int ); ^ capture.c: In function 'get_long': capture.c:245: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:0, from capture.c:45: /usr/local/include/X11/Intrinsic.h:1235:13: note: expected 'XtCallbackProc {aka void (*)(struct _WidgetRec *, void *, void *)}' but argument is of type 'void (*)(struct _WidgetRec *, char *, char *)' extern void XtAddCallback( ^ capture.c:246: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:0, from capture.c:45: /usr/local/include/X11/Intrinsic.h:1235:13: note: expected 'XtCallbackProc {aka void (*)(struct _WidgetRec *, void *, void *)}' but argument is of type 'void (*)(struct _WidgetRec *, char *, char *)' extern void XtAddCallback( ^ In file included from capture.c:60:0: capture.c: In function 'mb_result': capture.c:263:35: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] MaxBytes = max(DEFAULT_SNAPLEN, atoi(string)); ^ interface.h:98:20: note: in definition of macro 'max' #define max(a,b) ((b)>(a)?(b):(a)) ^ capture.c: In function 'device_callback': capture.c:424: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:0, from capture.c:45: /usr/local/include/X11/Intrinsic.h:1235:13: note: expected 'XtCallbackProc {aka void (*)(struct _WidgetRec *, void *, void *)}' but argument is of type 'void (*)(struct _WidgetRec *, char *, char *)' extern void XtAddCallback( ^ capture.c: In function 'end_capture': capture.c:434:5: warning: implicit declaration of function 'wrapup' [-Wimplicit-function-declaration] wrapup(if_fd); ^ capture.c:436:3: warning: implicit declaration of function 'sf_write_end' [-Wimplicit-function-declaration] sf_write_end(); ^ capture.c:437:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ capture.c:437:3: warning: incompatible implicit declaration of built-in function 'exit' capture.c:437:3: note: include '' or provide a declaration of 'exit' capture.c: In function 'child_end': capture.c:462:5: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink( StderrName ); ^ capture.c: In function 'stop_capture_callback': capture.c:479: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:495: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:518:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ capture.c:518:7: note: include '' or provide a declaration of 'exit' capture.c:536:3: warning: implicit declaration of function 'update_fstr' [-Wimplicit-function-declaration] update_fstr(&Filter); ^ capture.c:540:14: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] if( (pid = fork()) < 0 ) { ^ capture.c:553:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^ capture.c:553:2: note: include '' or provide a declaration of 'exit' capture.c:556:13: warning: implicit declaration of function 'initdevice' [-Wimplicit-function-declaration] if_fd = initdevice( Device, pflag, &Linktype ); ^ capture.c:557:5: warning: implicit declaration of function 'lookup_net' [-Wimplicit-function-declaration] lookup_net( Device, &localnet, &netmask ); ^ capture.c:567:5: warning: implicit declaration of function 'readloop' [-Wimplicit-function-declaration] readloop( NumberOfFrames, if_fd, bpf, sf_write ); ^ capture.c:575: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:586: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' [-Wimplicit-function-declaration] sf_write_end(); ^ 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 detail-rip.c: In function 'rip_entry_print': detail-rip.c:68:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if( strcmp(str1,str2) ) ^ 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' [-Wimplicit-function-declaration] detail_ip(&icmp->icmp_ip); ^ 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' [-Wimplicit-function-declaration] printf("%sAddress Mask = %s\n", PROTO_STR, inet_addr(icmp->icmp_mask)); ^ 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_type': detail-domain.c:149:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(type_buf, "A"); ^ detail-domain.c:149:2: warning: incompatible implicit declaration of built-in function 'strcpy' detail-domain.c:149:2: note: include '' or provide a declaration of 'strcpy' detail-domain.c: In function 'p_class': detail-domain.c:234:9: warning: incompatible implicit declaration of built-in function 'strcpy' strcpy(class_buf, "IN"); ^ detail-domain.c:234:9: note: include '' or provide a declaration of 'strcpy' detail-domain.c: In function 'p_time': detail-domain.c:294:10: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] p += strlen(p); ^ detail-domain.c:294:10: warning: incompatible implicit declaration of built-in function 'strlen' detail-domain.c:294:10: note: include '' or provide a declaration of 'strlen' detail-domain.c:297:12: warning: incompatible implicit declaration of built-in function 'strcpy' (void)strcpy(p, "0 secs)"); ^ detail-domain.c:297:12: note: include '' or provide a declaration of 'strcpy' detail-domain.c:330:11: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] (void)strcat(p, ")"); ^ detail-domain.c:330:11: warning: incompatible implicit declaration of built-in function 'strcat' detail-domain.c:330:11: note: include '' or provide a declaration of 'strcat' detail-domain.c: In function 'p_ans': detail-domain.c:375:12: warning: implicit declaration of function '_getshort' [-Wimplicit-function-declaration] type = _getshort(cp); ^ detail-domain.c:397:10: warning: implicit declaration of function '_getlong' [-Wimplicit-function-declaration] ul = _getlong(cp); ^ detail-domain.c:429:13: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy((char *)&inaddr, cp, sizeof(inaddr)); ^ detail-domain.c:429:13: warning: incompatible implicit declaration of built-in function 'memcpy' detail-domain.c:429:13: note: include '' or provide a declaration of 'memcpy' 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: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:460:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:471:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:482:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:493:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:504:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:517:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:528:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:539:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:573:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:583:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:626:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:633:13: warning: return makes integer from pointer without a cast [-Wint-conversion] return NULL; ^ detail-domain.c:669:9: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy((char *)&inaddr, cp, sizeof(inaddr)); ^ detail-domain.c:669:9: note: include '' or provide a declaration of 'memcpy' 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:65:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ bgp.c: In function 'main': bgp.c:102:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^ bgp.c:102:2: warning: incompatible implicit declaration of built-in function 'exit' bgp.c:102:2: note: include '' or provide a declaration of 'exit' bgp.c: In function 'bgp_open': bgp.c:145:7: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ bgp.c:145:7: note: include '' or provide a declaration of 'exit' bgp.c: In function 'bgp_update': bgp.c:172:20: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] printf("\t%s ",inet_ntoa(htonl(ip))); ^ bgp.c: In function 'bgp_note': bgp.c:195:5: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ bgp.c:195:5: note: include '' or provide a declaration of 'exit' bgp.c:213:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ bgp.c:213:4: note: include '' or provide a declaration of 'exit' bgp.c: In function 'bgp_keepalive': bgp.c:228:7: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ bgp.c:228:7: note: include '' or provide a declaration of 'exit' bgp.c: In function 'mess_err': bgp.c:265:7: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ bgp.c:265:7: note: include '' or provide a declaration of 'exit' bgp.c: In function 'open_err': bgp.c:301:7: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ bgp.c:301:7: note: include '' or provide a declaration of 'exit' bgp.c: In function 'update_err': bgp.c:329:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^ bgp.c:329:2: note: include '' or provide a declaration of 'exit' bgp.c: In function 'getbyte': bgp.c:405:6: warning: implicit declaration of function 'hexread' [-Wimplicit-function-declaration] if(hexread(&b,1)) ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c hex.c hex.c: In function 'hexread': hex.c:68:5: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bcopy(bp,buf,num); ^ hex.c:68:5: warning: incompatible implicit declaration of built-in function 'bcopy' hex.c:76:3: warning: incompatible implicit declaration of built-in function 'bcopy' bcopy(bp,ptr,len); ^ hex.c: In function 'readline': hex.c:96:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] while(*s && isspace(*s)) s++; /* eat white space */ ^ hex.c: In function 'hatoi': hex.c:120:12: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] str[0] = tolower(str[0]); ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -o BGP bgp.o hex.o hex.o:hex.c:function readline: warning: warning: this program uses gets(), which is unsafe. cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c generic.c generic.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ generic.c: In function 'getbyte': generic.c:99:6: warning: implicit declaration of function 'hexread' [-Wimplicit-function-declaration] if(hexread(&b,1)) ^ generic.c: In function 'getword': generic.c:109:13: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] return( ntohs(buf) ); ^ generic.c: In function 'getlword': generic.c:118:13: warning: implicit declaration of function 'ntohl' [-Wimplicit-function-declaration] return( ntohl(buf) ); ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -o generic generic.o hex.o hex.o:hex.c:function readline: warning: warning: this program uses gets(), which is unsafe. cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -c telnet.c telnet.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ telnet.c: In function 'getbyte': telnet.c:322:6: warning: implicit declaration of function 'hexread' [-Wimplicit-function-declaration] if(hexread(&b,1)) ^ telnet.c: In function 'getword': telnet.c:332:13: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] return( ntohs(buf) ); ^ telnet.c: In function 'getlword': telnet.c:341:13: warning: implicit declaration of function 'ntohl' [-Wimplicit-function-declaration] return( ntohl(buf) ); ^ cc -pipe -O2 -fno-strict-aliasing -UCSLIP -DPPP -I.. -I/usr/local/include -o telnet telnet.o hex.o hex.o:hex.c:function readline: warning: warning: this program uses gets(), which is unsafe. =========================================================================== =================================================== ===> tcpview-1.0_6 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===> Staging for tcpview-1.0_6 ===> Generating temporary packing list mkdir -p /wrkdirs/net/tcpview/stage/usr/local/lib/tcpview mkdir -p /wrkdirs/net/tcpview/stage/usr/local/lib/tcpview/filters + install -s -m 555 -c 386-bsd-tcpview/tcpview /wrkdirs/net/tcpview/stage/usr/local/bin + install -s -m 555 -c 386-bsd-tcpview/BGP /wrkdirs/net/tcpview/stage/usr/local/lib/tcpview/filters + install -s -m 555 -c 386-bsd-tcpview/telnet /wrkdirs/net/tcpview/stage/usr/local/lib/tcpview/filters + install -s -m 555 -c 386-bsd-tcpview/generic /wrkdirs/net/tcpview/stage/usr/local/lib/tcpview/filters + install -m 0644 -c 386-bsd-tcpview/../DOC/hosts /wrkdirs/net/tcpview/stage/usr/local/lib/tcpview + install -m 0644 -c 386-bsd-tcpview/../DOC/manuf /wrkdirs/net/tcpview/stage/usr/local/lib/tcpview + install -m 444 -c 386-bsd-tcpview/../DOC/tcpview.1 /wrkdirs/net/tcpview/stage/usr/local/man/man1/tcpview.1 install -m 0644 /wrkdirs/net/tcpview/tcpview-1.0/DOC/Tcpview /wrkdirs/net/tcpview/stage/usr/local/lib/X11/app-defaults ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for tcpview-1.0_6 file sizes/checksums [8]: . done packing files [8]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for tcpview-1.0_6 build of net/tcpview ended at Sun Oct 9 11:17:56 PDT 2016 build time: 00:00:36