Public bug reported:

Upstream libvirt.git no longer compiles on Ubuntu because it now
reqeusts -std=gnu99, which triggers a bug in the libnl headers:

cc1: warnings being treated as errors
/usr/include/netlink/object.h:58:23: error: inline function 'nl_object_priv' 
declared but never defined

Various distros have fixed this by patching the faulty header to remove
the inline keyword.

See also http://bugs.gentoo.org/show_bug.cgi?id=366561

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libnl-dev 1.1-6
ProcVersionSignature: Ubuntu 2.6.38-8.42-virtual 2.6.38.2
Uname: Linux 2.6.38-8-virtual i686
Architecture: i386
Date: Mon May  9 11:21:14 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libnl
UpgradeStatus: Upgraded to natty on 2011-04-29 (9 days ago)

** Affects: libnl (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/780044

Title:
  libnl headers incompatible with gcc -std=gnu99

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to