ari edelkind | 1 Jan 2006 10:22

Re: Problem about libnet on FreeBSD 6.0

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

_______________________________________________
freebsd-hackers <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe <at> freebsd.org"


Gmane