On 06/27/2011 07:30 AM, Matthias Bolte wrote:
2011/6/27 Zdenek Styblik<stybla(a)turnovfree.net>:
> Reporting Slackware64-13.37:
> - ---
>
> compilation OK.
>
> ~~~ SNIP ~~~
> ./configure \
> --prefix=/usr/ \
> --sysconfdir=/etc/ \
> --libdir=/usr/lib${LIBDIRSUFFIX} \
> --mandir=/usr/man/ \
> --localstatedir=/var/ \
> --enable-shared \
> --enable-dependency-tracking \
> --without-lxc \
> --with-network \
> --with-qemu \
> --with-remote \
> --with-sasl \
> --with-storage-disk \
> --with-storage-lvm \
> --with-storage-scsi \
> --with-libvirtd \
> ~~~ SNIP ~~~
>
> ~~~ SNIP ~~~
> /usr/include/netlink/object.h:58:23: warning: inline function
> 'nl_object_priv' declared but never defined
> /usr/include/netlink/object.h:58:23: warning: inline function
> 'nl_object_priv' declared but never defined
> CC libvirt_util_la-netlink.lo
> /usr/include/netlink/object.h:58:23: warning: inline function
> 'nl_object_priv' declared but never defined
> /usr/include/netlink/object.h:58:23: warning: inline function
> 'nl_object_priv' declared but never defined
> CC libvirt_util_la-pci.lo
> CC libvirt_util_la-processinfo.lo
> CC libvirt_util_la-hostusb.lo
> CC libvirt_util_la-network.lo
> CC libvirt_util_la-interface.lo
> CC libvirt_util_la-qparams.lo
> /usr/include/netlink/object.h:58:23: warning: inline function
> 'nl_object_priv' declared but never defined
> /usr/include/netlink/object.h:58:23: warning: inline function
> 'nl_object_priv' declared but never defined
> ~~~ SNIP ~~~
This is a known problem in libnl. This can be fixed in Slackware's
libnl package by removing the inline keyword from the declaration of
nl_object_priv in /usr/include/netlink/object.
What is the version of libnl used in Slackware? It seems that libnl is
getting included on more platforms now, so we probably need to get more
serious about making sure our code works with different versions of libnl.