I'm building on OSX with no libnl. I had to do this to get src/util/virnetlink.c to compile:
Lincoln Myers <lincoln_myers@yahoo.com>
Peter Robinson <pbrobinson@gmail.com>
Benjamin Cama <benoar@dolka.fr>
+ Duncan Rance <libvirt@dunquino.com>
[....send patches to get your name here....]
*/
int virNetlinkEventServiceStop(void)
{
+# if defined(__linux__) && !defined(HAVE_LIBNL)
netlinkError(VIR_ERR_INTERNAL_ERROR,
"%s",
-# if defined(__linux__) && !defined(HAVE_LIBNL)
_("virNetlinkEventServiceStop is not supported since libnl was not available"));
# endif
return 0;