From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 1 09:22:50 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FBDC16A41F for ; Sun, 1 Jan 2006 09:22:50 +0000 (GMT) (envelope-from edelkind-freebsd-hackers@episec.com) Received: from episec.com (episec.com [69.55.237.141]) by mx1.FreeBSD.org (Postfix) with SMTP id B75B343D55 for ; Sun, 1 Jan 2006 09:22:49 +0000 (GMT) (envelope-from edelkind-freebsd-hackers@episec.com) Received: (qmail 81234 invoked by uid 1024); 1 Jan 2006 09:22:49 -0000 Date: Sun, 1 Jan 2006 04:22:49 -0500 From: ari edelkind To: freebsd-hackers@freebsd.org Message-ID: <20060101092249.GH15481@episec.com> Mail-Followup-To: ari edelkind , freebsd-hackers@freebsd.org References: <20060101021156.GF33131@episec.com> <007e01c60e84$bdfe0110$1200a8c0@gsicomp.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <007e01c60e84$bdfe0110$1200a8c0@gsicomp.on.ca> Subject: Re: Problem about libnet on FreeBSD 6.0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2006 09:22:50 -0000 matt@gsicomp.on.ca wrote: > > http://lists.freebsd.org/pipermail/freebsd-hackers/2005-December/014986.html > > The problem is that libnet defines ether_addr without regard for the fact > that it's defined in our system headers. This is a bug in libnet, not > FreeBSD. No one claimed otherwise -- hence the 'BROKEN_LIBNET' tag in my post. > In particular, libnet/libnet-headers.h has this code, which is very > Linux-centric and works around the duplicate definition problem on Linux, > but doesn't help anyone on other platforms. > > 391 #if (!__GLIBC__) This is typical for libnet, and it has run into compatibility problems of this sort in the past on systems other than freebsd. Search for "edelkind libnet" or "redefinition libnet" on google for some of these. ari