Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 07:19:17 +0300
From:      Alexandr Kovalenko <never@uafug.org.ua>
To:        Max Laier <max@love2party.net>
Cc:        freebsd-current@freebsd.org, Dmitry Morozovsky <marck@rinet.ru>, current@freebsd.org
Subject:   Re: libpcap build error @ RELENG_7
Message-ID:  <20071022041917.GA55333@uafug.org.ua>
In-Reply-To: <200710211507.22900.max@love2party.net>
References:  <20071021143236.F43563@woozle.rinet.ru> <200710211507.22900.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071022041917.GA55333>