Subject: Re: Error building Current (tcpdump)
To: Jan van Gils <Jan.van.Gils@onsight.nl>
From: Chris Pinnock <cjep@fawlty.net>
List: current-users
Date: 07/02/2001 18:59:35
On Mon, Jul 02, 2001 at 12:14:18PM +0200, Jan van Gils wrote:
> cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Wno-uninitialized -Werror -I/u01/src/usr.sbin/tcpdump
> -I/u01/src/usr.sbin/tcpdump/../../dist/tcpdump -DRETSIGTYPE=void
> -DTIME_WITH_SYS_TIME=1 -DINET6=1 -DHAVE_ADDRINFO=1 -DHAVE_H_ERRNO=1
> -DHAVE_IN6ADDRSZ=1 -DHAVE_INADDRSZ=1 -DHAVE_RES_USE_INET6=1
> -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_SOCKADDR_STORAGE=1 -DRETSIGVAL=
> -DHAVE_ETHER_NTOHOST=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GETADDRINFO=1
> -DHAVE_GETNAMEINFO=1 -DHAVE_SETLINEBUF=1 -DHAVE_SIGACTION=1
> -DHAVE_SNPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRLCAT=1
> -DHAVE_STRLCPY=1 -DHAVE_VFPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_CAST_H=1
> -DHAVE_FCNTL_H=1 -DHAVE_NETINET_IF_ETHER_H=1 -DHAVE_RPC_RPCENT_H=1
> -DHAVE___ATTRIBUTE__=1 -DHAVE_LIBCRYPTO=1 -c
> /u01/src/usr.sbin/tcpdump/bpf_dump.c
> sed -e 's/.*/char version[] = "&";/'
> /u01/src/usr.sbin/tcpdump/../../dist/tcpdump/VERSION > version.c
> cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Wno-uninitialized -Werror -I/u01/src/usr.sbin/tcpdump
> -I/u01/src/usr.sbin/tcpdump/../../dist/tcpdump -DRETSIGTYPE=void
> -DTIME_WITH_SYS_TIME=1 -DINET6=1 -DHAVE_ADDRINFO=1 -DHAVE_H_ERRNO=1
> -DHAVE_IN6ADDRSZ=1 -DHAVE_INADDRSZ=1 -DHAVE_RES_USE_INET6=1
> -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_SOCKADDR_STORAGE=1 -DRETSIGVAL=
> -DHAVE_ETHER_NTOHOST=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GETADDRINFO=1
> -DHAVE_GETNAMEINFO=1 -DHAVE_SETLINEBUF=1 -DHAVE_SIGACTION=1
> -DHAVE_SNPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRLCAT=1
> -DHAVE_STRLCPY=1 -DHAVE_VFPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_CAST_H=1
> -DHAVE_FCNTL_H=1 -DHAVE_NETINET_IF_ETHER_H=1 -DHAVE_RPC_RPCENT_H=1
> -DHAVE___ATTRIBUTE__=1 -DHAVE_LIBCRYPTO=1 -c version.c
> cc -o tcpdump addrtoname.o gmt2local.o machdep.o parsenfsfh.o
> print-802_11.o print-ah.o print-arcnet.o print-arp.o print-ascii.o
> print-atalk.o print-atm.o print-bgp.o print-bootp.o print-bxxp.o
> print-cdp.o print-chdlc.o print-cip.o print-cnfp.o print-decnet.o
> print-domain.o print-dvmrp.o print-egp.o print-esp.o print-ether.o
> print-fddi.o print-gre.o print-icmp.o print-igmp.o print-igrp.o
> print-ip.o print-ipcomp.o print-ipx.o print-isakmp.o print-isoclns.o
> print-krb.o print-l2tp.o print-lane.o print-lcp.o print-llc.o
> print-lwres.o print-mobile.o print-mpls.o print-nfs.o print-ntp.o
> print-null.o print-ospf.o print-pim.o print-ppp.o print-pppoe.o
> print-pptp.o print-radius.o print-raw.o print-rip.o print-rx.o
> print-sctp.o print-sl.o print-sll.o print-snmp.o print-stp.o
> print-sunrpc.o print-tcp.o print-telnet.o print-tftp.o print-timed.o
> print-token.o print-udp.o print-vjc.o print-vrrp.o print-wb.o
> setsignal.o tcpdump.o util.o print-ip6.o print-ip6opts.o print-ripng.o
> print-icmp6.o print-frag6.o print-rt6.o print-ospf6.o print-dhcp6.o
> bpf_dump.o version.o -lpcap -ll -lcrypto
> *** Error code 1
>
> Stop.
> make: stopped in /u01/src/usr.sbin/tcpdump
>
> The following I already tryed :
>
> - cd /usr/src/share; make install
> - cd /usr/src/lib/libc; make && make install
>
> - also the tools yacc and lexx where rebuilded
>
It might be worth doing:
a) checking that your sources are up to date fully,
b) do a "make cleandir" in usr.sbin/tcpdump (and a "make obj" if you
use obj directories) and then
c) try a "make dependall" in usr.sbin/tcpdump
--
Chris