Subject: Re: libpcap doesn't build... "DLT_ATM_RFC1483" undeclared.
To: None <epv@panix.com>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 12/31/1996 15:25:17
>Date: Tue, 31 Dec 1996 00:28:31 -0500 (EST)
>From: Eric Volpe <epv@panix.com>

>cc -O -I. -I/usr/src/lib/libpcap -DYYBISON -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1 -Werror  -c gencode.c
>gencode.c: In function `init_linktype':
>gencode.c:508: `DLT_ATM_RFC1483' undeclared (first use this function)

You forgot to 'make includes'.  The symbol in question is defined by
<net/bpf.h>.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil