From owner-freebsd-current@FreeBSD.ORG Sun Oct 21 16:11:41 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24A2016A46C for ; Sun, 21 Oct 2007 16:11:41 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id BF55513C4CE for ; Sun, 21 Oct 2007 16:11:40 +0000 (UTC) (envelope-from max@love2party.net) Received: from amd64.laiers.local (dslb-088-066-028-169.pools.arcor-ip.net [88.66.28.169]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1IjaWZ3oZp-00085C; Sun, 21 Oct 2007 15:07:24 +0200 From: Max Laier Organization: FreeBSD To: freebsd-current@freebsd.org Date: Sun, 21 Oct 2007 15:07:17 +0200 User-Agent: KMail/1.9.7 References: <20071021143236.F43563@woozle.rinet.ru> In-Reply-To: <20071021143236.F43563@woozle.rinet.ru> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1984007.xykUQem7Rt"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200710211507.22900.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18O7n0/zqotfhCHRFlmGOq7oj/5qlEGAUMIi7x 8RdbScgpPB9fMpUqk2ULr1/hdqRicDsNw6WCh69kaXRbjDC0kj mJxVUkqj0/jwzeCE2Z+v1fk2GL1ht9NkbEC+sUZsCk= Cc: Dmitry Morozovsky , current@freebsd.org Subject: Re: libpcap build error @ RELENG_7 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Oct 2007 16:11:41 -0000 --nextPart1984007.xykUQem7Rt Content-Type: multipart/mixed; boundary="Boundary-01=_K80GH7ECojCrb5l" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_K80GH7ECojCrb5l Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 21 October 2007, Dmitry Morozovsky wrote: > Hi there colleagues, > > during buildworld (erased /usr/obj, etc) > > =3D=3D=3D> lib/libpcap (all) > cc -O2 -fno-strict-aliasing -pipe -march=3Dprescott -DHAVE_CONFIG_H > -Dyylval=3Dpcapyylval -I/usr/src/lib/libpcap -I. > -D_U_=3D"__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=3Dprescott -DHAVE_CONFIG_H > -Dyylval=3Dpcapyylval -I/usr/src/lib/libpcap -I. > -D_U_=3D"__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= =20 to make sure. Sorry! Hand me that pointy-hat, please? :-\ > > marck@mck-s420:/usr/src> cvs -R stat contrib/libpcap/pcap.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > File: pcap.h Status: Up-to-date > > Working revision: 1.12.2.2 Sun Oct 21 08:42:21 2007 > Repository revision: 1.12.2.2 =20 > /home/ncvs/src/contrib/libpcap/pcap.h,v Sticky Tag: RELENG_7 > (branch: 1.12.2) > Sticky Date: (none) > Sticky Options: (none) > > Any hints? > > Sincerely, > D.Marck [DM5020, MCK-RIPE, > DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] > ----------------------------------------------------------------------- >- *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru > *** > ----------------------------------------------------------------------- >- _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --Boundary-01=_K80GH7ECojCrb5l Content-Type: text/x-diff; charset="iso-8859-1"; name="bpf_DLT.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="bpf_DLT.diff" Index: sys/net/bpf.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/sys/net/bpf.h,v retrieving revision 1.47 diff -u -r1.47 bpf.h =2D-- sys/net/bpf.h 26 Feb 2007 22:24:14 -0000 1.47 +++ sys/net/bpf.h 21 Oct 2007 12:49:29 -0000 @@ -547,6 +547,140 @@ #define DLT_JUNIPER_CHDLC 181 =20 /* + * Multi Link Frame Relay (FRF.16) + */ +#define DLT_MFR 182 + +/* + * Juniper-private data link type, as per request from + * Hannes Gredler .=20 + * The DLT_ is used for internal communication with a + * voice Adapter Card (PIC) + */ +#define DLT_JUNIPER_VP 183 + +/* + * Arinc 429 frames. + * DLT_ requested by Gianluca Varenni . + * Every frame contains a 32bit A429 label. + * More documentation on Arinc 429 can be found at + * http://www.condoreng.com/support/downloads/tutorials/ARINCTutorial.pdf + */ +#define DLT_A429 184 + +/* + * Arinc 653 Interpartition Communication messages. + * DLT_ requested by Gianluca Varenni . + * Please refer to the A653-1 standard for more information. + */ +#define DLT_A653_ICM 185 + +/* + * USB packets, beginning with a USB setup header; requested by + * Paolo Abeni . + */ +#define DLT_USB 186 + +/* + * Bluetooth HCI UART transport layer (part H:4); requested by + * Paolo Abeni. + */ +#define DLT_BLUETOOTH_HCI_H4 187 + +/* + * IEEE 802.16 MAC Common Part Sublayer; requested by Maria Cruz + * . + */ +#define DLT_IEEE802_16_MAC_CPS 188 + +/* + * USB packets, beginning with a Linux USB header; requested by + * Paolo Abeni . + */ +#define DLT_USB_LINUX 189 + +/* + * Controller Area Network (CAN) v. 2.0B packets. + * DLT_ requested by Gianluca Varenni . + * Used to dump CAN packets coming from a CAN Vector board. + * More documentation on the CAN v2.0B frames can be found at + * http://www.can-cia.org/downloads/?269 + */ +#define DLT_CAN20B 190 + +/* + * IEEE 802.15.4, with address fields padded, as is done by Linux + * drivers; requested by Juergen Schimmer. + */ +#define DLT_IEEE802_15_4_LINUX 191 + +/* + * Per Packet Information encapsulated packets. + * DLT_ requested by Gianluca Varenni . + */ +#define DLT_PPI 192 + +/* + * Header for 802.16 MAC Common Part Sublayer plus a radiotap radio header; + * requested by Charles Clancy. + */ +#define DLT_IEEE802_16_MAC_CPS_RADIO 193 + +/* + * Juniper-private data link type, as per request from + * Hannes Gredler .=20 + * The DLT_ is used for internal communication with a + * integrated service module (ISM). + */ +#define DLT_JUNIPER_ISM 194 + +/* + * IEEE 802.15.4, exactly as it appears in the spec (no padding, no + * nothing); requested by Mikko Saarnivala . + */ +#define DLT_IEEE802_15_4 195 + +/* + * Various link-layer types, with a pseudo-header, for SITA + * (http://www.sita.aero/); requested by Fulko Hew (fulko.hew@gmail.com). + */ +#define DLT_SITA 196 + +/* + * Various link-layer types, with a pseudo-header, for Endace DAG cards; + * encapsulates Endace ERF records. Requested by Stephen Donnelly + * . + */ +#define DLT_ERF 197 + +/* + * Special header prepended to Ethernet packets when capturing from a + * u10 Networks board. Requested by Phil Mulholland + * . + */ +#define DLT_RAIF1 198 + +/* + * IPMB packet for IPMI, beginning with the I2C slave address, followed + * by the netFn and LUN, etc.. Requested by Chanthy Toeung + * . + */ +#define DLT_IPMB 199 + +/* + * Juniper-private data link type, as per request from + * Hannes Gredler .=20 + * The DLT_ is used for capturing data on a secure tunnel interface. + */ +#define DLT_JUNIPER_ST 200 + +/* + * Bluetooth HCI UART transport layer (part H:4), with pseudo-header + * that includes direction information; requested by Paolo Abeni. + */ +#define DLT_BLUETOOTH_HCI_H4_WITH_PHDR 201 + +/* * The instruction encodings. */ /* instruction classes */ --Boundary-01=_K80GH7ECojCrb5l-- --nextPart1984007.xykUQem7Rt Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHG08KXyyEoT62BG0RAgxZAJ9vl30HKPr7CEjkBrN9glVU7s0wwACeNtod 4e7VEdxxD6LTHXlxJz8bVUQ= =fGbI -----END PGP SIGNATURE----- --nextPart1984007.xykUQem7Rt--