On 08/24/2012 11:49 AM, Thomas Graf wrote:
> On Fri, Aug 24, 2012 at 11:30:44AM -0400, Laine Stump wrote:
>> On 08/24/2012 10:28 AM, Viktor Mihajlovski wrote:
>>> fwiw ... with the current GIT level I get the following build error on 
>>> Ubuntu 10.04 32-bit
>>>
>>> CC     libvirt_util_la-virnetdev.lo
>>> cc1: warnings being treated as errors
>>> /usr/include/netlink/object.h:58: error: inline function 'nl_object_priv' 
>>> declared but never defined
>> libvirt itself never uses that function. Also, in the version of
>> /usr/include/netlink/object.h I'm working with (on Fedora 17) that
>> function isn't declared as inline.
>>
>> Thomas, do you have any info on the libnl version used in Ubuntu 10.04,
>> and/or what might be the cause of this warning.
> It's a static inline which I guess is the problem here. Laine, you
> are probably using a libnl version which does not include the commit
> below.

I'm using libnl-devel-1.1-15.fc17.x86_64

For fun, I just installed libnl3-devel (which has the inlined
nl_object_priv(), reconfigured to switch to using libnl3, and it also
compiled without problems on F17. So I guess it's completely related to
the gcc version.


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to