Re: libpcap build error _at_ RELENG_7

From: Alexandr Kovalenko <never_at_uafug.org.ua>
Date: Mon, 22 Oct 2007 07:19:17 +0300
Hello, Max Laier!

On Sun, Oct 21, 2007 at 03:07:17PM +0200, you wrote:

> On Sunday 21 October 2007, Dmitry Morozovsky wrote:
> > Hi there colleagues,
> >
> > during buildworld (erased /usr/obj, etc)
> >
> > ===> lib/libpcap (all)
> > cc -O2 -fno-strict-aliasing -pipe -march=prescott -DHAVE_CONFIG_H
> > -Dyylval=pcapyylval -I/usr/src/lib/libpcap -I.
> > -D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF
> > -DHAVE_NET_PFVAR_H
> > -I/usr/src/lib/libpcap/../../contrib/libpcap  -c grammar.c
> > cc -O2 -fno-strict-aliasing -pipe -march=prescott -DHAVE_CONFIG_H
> > -Dyylval=pcapyylval -I/usr/src/lib/libpcap -I.
> > -D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF
> > -DHAVE_NET_PFVAR_H
> > -I/usr/src/lib/libpcap/../../contrib/libpcap  -c
> > /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c
> > /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:382: error: 'DLT_MFR'
> > undeclared here (not in a function)
> > /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:383: error:
> > 'DLT_JUNIPER_VP' undeclared here (not in a function)
> > /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:385: error:
> > 'DLT_A429' undeclared here (not in a function)
> > /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:386: error:
> > 'DLT_A653_ICM' undeclared here (not in a function)
> > /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:387: error: 'DLT_USB'
> > undeclared here (not in a function)
> > /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:388: error:
> > 'DLT_BLUETOOTH_HCI_H4' undeclared here (not in a function)
> > /usr/src/lib/libpcap/../../contrib/libpcap/pcap.c:389: error:
> > 'DLT_CAN20B' undeclared here (not in a function)
> > *** Error code 1
> >
> > Stop in /usr/src/lib/libpcap.
> > *** Error code 1
> 
> I fat-fingered that one.  Fix attached, but I'll do a buildworld this time 
> to make sure.  Sorry!

Latest cvsup of RELENG_7 now builds fine, thanks :)

-- 
NEVE-RIPE, will build world for food
Ukrainian FreeBSD User Group
http://uafug.org.ua/
Received on Mon Oct 22 2007 - 02:39:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:20 UTC