[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#715320: /usr/include/net/if_dl.h declare missing link_addr()



Le Mon, 8 Jul 2013 00:51:13 +0200,
Robert Millan <rmh@debian.org> a écrit :

Hi,

> 2013/7/7 Laurent Bigonville <bigon@debian.org>:
> > libvirt is currently FTBFS on kfreebsd-* due to link_addr being
> > declared in /usr/include/net/if_dl.h but not being defined anywhere.
> >
> > /usr/include/net/if_dl.h:extern void link_addr (const char *,
> > struct sockaddr_dl *);
> >
> > Shouldn't this prototype and probably the link_ntoa() be removed?
> 
> We've been missing the link_addr() and link_ntoa() implementation for
> a long time. But I really don't see what are those userland
> definitions doing in a kernel header to begin with. I think this is
> something upstream would be ok to fix by moving those functions to a
> separate file under src/include/.

But in the meantime, shouldn't these two prototypes be removed from the
headers shipped in debian?

> Would you be willing to bring this up in freebsd-arch? (feel free to
> CC me)

Well I'm not subscribed to that ML nor using (k)freebsd myself, I
was just trying to figure out this to help the migration of libvirt to
testing.

Cheers

Laurent Bigonville


Reply to: