Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2006 04:22:49 -0500
From:      ari edelkind <edelkind-freebsd-hackers@episec.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Problem about libnet on FreeBSD 6.0
Message-ID:  <20060101092249.GH15481@episec.com>
In-Reply-To: <007e01c60e84$bdfe0110$1200a8c0@gsicomp.on.ca>
References:  <20060101021156.GF33131@episec.com> <007e01c60e84$bdfe0110$1200a8c0@gsicomp.on.ca>

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




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