NetBSD Problem Report #880

From gnats  Wed Mar 15 16:14:10 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id QAA18391 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 15 Mar 1995 16:14:09 -0800
Message-Id: <199503160017.TAA13960@leland.cais.com>
Date: Wed, 15 Mar 1995 19:17:39 -0500
From: Charlie Root <root@leland.cais.com>
Reply-To: root@leland.cais.com
To: gnats-bugs@NetBSD.ORG
Subject: usr.sbin/tcpdump won't compile 
X-Send-Pr-Version: 3.2

>Number:         880
>Category:       bin
>Synopsis:       preprocessor is not including /usr/src/lib/libpcap in search path
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 15 16:20:03 +0000 1995
>Closed-Date:    Mon Aug 14 05:51:05 +0000 1995
>Last-Modified:  Mon Aug 14 05:53:19 +0000 1995
>Originator:     Robert Leland
>Release:        NetBSD-current sup march 15 3:45am	<NetBSD-current source date>
>Organization:

>Environment:

System: NetBSD leland.cais.com 1.0A NetBSD 1.0A (FREETOCREATE) #0: Sat Mar 11 16:03:46 EST 1995 root@leland.cais.com:/usr/src/sys/arch/amiga/compile/FREETOCREATE amiga
Architecture: amiga

>Description:
usr.sbin/tcpdump/tcpdump.c will not compile because lib/libpcap is not in
preprocessor search path. This problem has existed since  the sup on march 11. Sups prior
to March 7 would compile correctly, Today I
performed a sup -a to see if this would correct the problem and it did not. I also downloaded
the tar_files lib.tar.gz and usr.sbin.tar.gz of March 11 and I still had the same problem.

I have also installed the current /usr/share from the sup of the 13th of March to make sure that
the /usr/share/mk files that are installed are correct, this too did not correct the problem.
I have also performed a make install on the /usr/include directories, and this has not helped.

I have the entire current tree installed on my system except for /usr/src/games, this includes:
/usr/src/lib. /usr/src/usr.sbin, /usr/src/etc, /usr/src/bin, /usr/src/sbin, /usr/src/usr.bin,
/usr/src/libexec, /usr/src/share, /usr/src/include, /usr/src/domestic, /usr/src/distrib

>How-To-Repeat:
Perform a make install for includes, and share, then cd src/usr.sbin/tcpdump
an do a make.

>Fix:
sorry

>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: jtc
State-Changed-When: Sat May 13 00:31:47 1995
State-Changed-Why:
I don't understand this bug report.

State-Changed-From-To: feedback->closed 
State-Changed-By: cgd 
State-Changed-When: Mon Aug 14 01:51:05 EDT 1995 
State-Changed-Why:  
user error (if i correctly understood the bug report). 

to build things which depend on the pcap library (or headers associated with 
it), you need to have installed the pcap library first.  pcap-using programs 
(e.g. tcpdump) don't pull in the library & headers from src/lib/libpcap, 
but rather from /usr/include and /usr/lib. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.