Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2007 09:32:52 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        current@freebsd.org, mlaier@freebsd.org
Subject:   libpcap building error
Message-ID:  <20071021053252.GA8202@nagual.pp.ru>

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



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