libpcap building error
Andrey Chernov
ache at nagual.pp.ru
Sun Oct 21 06:34:12 PDT 2007
Obviously we miss some DLT_* entries in our <net/bpf.h>:
cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -DHAVE_CONFIG_H
-Dyylval=pcapyylval -I/usr/src/lib/libpcap -I.
-D_U_="__attribute__((unused))" -DHAVE_SNPRINTF -DHAVE_VSNPRINTF
-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
--
http://ache.pp.ru/
More information about the freebsd-current
mailing list