cvs commit: src/contrib/libpcap pcap.h

Jun Kuriyama kuriyama at s2factory.co.jp
Sun Oct 21 09:49:14 PDT 2007


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 at s2factory.co.jp> // S2 Factory, Inc.
             <kuriyama at imgsrc.co.jp>   // IMG SRC, Inc.


More information about the cvs-all mailing list