Bug#715320: /usr/include/net/if_dl.h declare missing link_addr()
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/.
Would you be willing to bring this up in freebsd-arch? (feel free to CC me)
Reply to: