On Sat, Oct 05, 2002 at 10:37:38PM +1000, William Rose wrote: > Hi, > > I'm trying to make buildworld a recently checked-out copy of -current > under 4.6-RELEASE (is that a bad move?). During the process, it gets > to: > > -------------------------------------------------------------- > >>> stage 4: building libraries > -------------------------------------------------------------- > [snip] > ===> lib/libpcap > [snip] > cc -O -pipe -DHAVE_CONFIG_H -Dyylval=pcap_lval > -I/usr/src-current/lib/libpcap -I. -DINET6 > -I/usr/src-current/lib/libpcap/../../contrib/libpcap -c > /usr/src-current/contrib/libpcap/gencode.c -o gencode.o > /usr/src-current/contrib/libpcap/gencode.c: In function `init_linktype': > /usr/src-current/contrib/libpcap/gencode.c:604: `DLT_PPP_ETHER' > undeclared (first use in this function) > /usr/src-current/contrib/libpcap/gencode.c:604: (Each undeclared > identifier is reported only once > /usr/src-current/contrib/libpcap/gencode.c:604: for each function it > appears in.) > /usr/src-current/contrib/libpcap/gencode.c:682: `DLT_PRISM_HEADER' > undeclared (first use in this function) > /usr/src-current/contrib/libpcap/gencode.c:721: `DLT_LTALK' undeclared > (first use in this function) > /usr/src-current/contrib/libpcap/gencode.c: In function `gen_linktype': > /usr/src-current/contrib/libpcap/gencode.c:955: `DLT_PRISM_HEADER' > undeclared (first use in this function) > /usr/src-current/contrib/libpcap/gencode.c:1215: `DLT_PPP_ETHER' > undeclared (first use in this function) > /usr/src-current/contrib/libpcap/gencode.c:1412: `DLT_LTALK' undeclared > (first use in this function) > *** Error code 1 > > Stop in /usr/src-current/lib/libpcap. > > ...etc. > > I'm following the instructions in the handbook for checking out > -current, so there's a good chance I'm making a newbie mistake. > Apologies in advance if this is the case, and I promise I have R every F > M that I can think of. > Should work. Check that you have the latest
$FreeBSD: src/sys/net/bpf.h,v 1.26 2002/06/21 05:29:40 fenner Exp $ Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
msg44019/pgp00000.pgp
Description: PGP signature