Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2007 16:22:46 +0900
From:      Jun Kuriyama <kuriyama@s2factory.co.jp>
To:        Max Laier <mlaier@FreeBSD.org>
Cc:        src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/contrib/libpcap pcap.h
Message-ID:  <7m3aw50w55.wl%kuriyama@imgsrc.co.jp>
In-Reply-To: <200710202023.l9KKNd8S045507@repoman.freebsd.org>
References:  <200710202023.l9KKNd8S045507@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Sat, 20 Oct 2007 20:23:39 +0000 (UTC),
Max Laier wrote:
>   Modified files:
>     contrib/libpcap      pcap.h 
>   Log:
>   Revert back to including the whole net/bpf.h again.
>   
>   Requested by:   sam, nork
>   X-MFC after:    now

I'm not sure this is related to my problem.  I've installed
7.0-CURRENT-200710 snapshot, then checked out HEAD, then start
buildworld (including r1.14 of pcap.h).

I got build failure like this:

===> lib/libpcap (all)
cc -O2 -fno-strict-aliasing -pipe  -DHAVE_CONFIG_H -Dyylval=pcapyylval -I/usr/src/lib/libpcap -I. -D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DINET6 -DHAVE_NET_PFVAR_H -I/usr/src/lib/libpcap/../../contrib/libpcap  -c grammar.c
cc -O2 -fno-strict-aliasing -pipe  -DHAVE_CONFIG_H -Dyylval=pcapyylval -I/usr/src/lib/libpcap -I. -D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DINET6 -DHAVE_NET_PFVAR_H -I/usr/src/lib/libpcap/../../contrib/libpcap  -c /usr/src/lib/libpcap/../../contrib/libpcap/pcap-bpf.c
cc -O2 -fno-strict-aliasing -pipe  -DHAVE_CONFIG_H -Dyylval=pcapyylval -I/usr/src/lib/libpcap -I. -D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF -DINET6 -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.


-- 
Jun Kuriyama <kuriyama@s2factory.co.jp> // S2 Factory, Inc.
             <kuriyama@imgsrc.co.jp>   // IMG SRC, Inc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7m3aw50w55.wl%kuriyama>