libpcap build error @ RELENG_7
Alexandr Kovalenko
never at uafug.org.ua
Sun Oct 21 21:39:16 PDT 2007
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/
More information about the freebsd-current
mailing list