Problem about libnet on FreeBSD 6.0
ari edelkind
edelkind-freebsd-hackers at episec.com
Sun Jan 1 01:22:50 PST 2006
matt at 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
More information about the freebsd-hackers
mailing list