[libvirt] portability issue on Centos 6.0

Daniel Veillard veillard at redhat.com
Tue Aug 16 09:57:12 UTC 2011


  I just tred compiling 0.9.4 and git head on Centos 6.0, for the
possible libvirt.org server replacement and it fails in both cases
with:

  CC     libvirtd-remote.o
remote.c: In function 'remoteDispatchAuthPolkit':
remote.c:2161: error: invalid initializer

This correspond to the following macro

    PROBE(CLIENT_AUTH_ALLOW, "fd=%d, auth=%d, username=%s",
              virNetServerClientGetFD(client), REMOTE_AUTH_POLKIT,
              ident);

I'm a bit lost how the expansion could lead to this and why, unless the
DTrace support in Centos 6 is slightly different than on RHEL, I will
look but if someone has an idea :-)

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list