Subject: bin/5392: current: tcpdump doesn't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 05/02/1998 10:58:01
>Number:         5392
>Category:       bin
>Synopsis:       tcpdump doesn't compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May  2 11:05:01 1998
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Release:        may 2, 1998
>Environment:
	
System: NetBSD capsicum.wsrcc.com 1.3E NetBSD 1.3E (WSRCC) #0: Fri May 1 18:13:04 PDT 1998 root@capsicum.wsrcc.com:/v/src/netbsd/NetBSD-current/usr/src/sys/arch/i386/compile/WSRCC i386


>Description:
	tcpdump doesn't compile
>How-To-Repeat:
	make build

    cc -O  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith  -
    DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1 -DTIME_WITH_SYS_TIME=1 -DHAV
    E_NET_SLIP_H=1 -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_ETHER_NTOA=1 -DHAVE_
    SETLINEBUF=1 -DRETSIGTYPE=void -DRETSIGVAL= -DHAVE_SIGACTION=1 -DHAVE_SOCKADDR_S
    A_LEN=1 -DHAVE_FDDI -DLBL_ALIGN -c print-tcp.c
    In file included from /usr/include/netinet/ip_var.h:42,
		     from print-tcp.c:40:
    /usr/include/net/route.h:57: field `ro_dst' has incomplete type
    In file included from /usr/include/netinet/ip_var.h:42,
		     from print-tcp.c:40:
    /usr/include/net/route.h:119: field `rt_dst' has incomplete type
    /usr/include/net/route.h:120: field `rt_gateway' has incomplete type
    *** Error code 1

    Stop.

>Fix:
    ???

>Audit-Trail:
>Unformatted: