Re: [libvirt] [PATCH] Fix tip of git
On 11/15/2011 04:41 PM, Eric Blake wrote: On 11/15/2011 12:40 PM, Stefan Berger wrote: I get these type of compilation errors: In file included from util/virnetdevvportprofile.c:25:0: util/virnetdevvportprofile.h:49:13: error: expected specifier-qualifier-list before 'uint8_t' util/virnetdevvportprofile.c: In function 'virNetDevVPortProfileEqual': util/virnetdevvportprofile.c:45:33: error: 'structanonymous' has no member named 'managerID' On which platform (or more likely, with which version of libc headers?) FC 14 with glibc-devel-2.13-2.i686 glibc-devel-2.13-2.x86_64. Stefan -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
[libvirt] [PATCH] Fix tip of git
I get these type of compilation errors: In file included from util/virnetdevvportprofile.c:25:0: util/virnetdevvportprofile.h:49:13: error: expected specifier-qualifier-list before 'uint8_t' util/virnetdevvportprofile.c: In function 'virNetDevVPortProfileEqual': util/virnetdevvportprofile.c:45:33: error: 'struct anonymous' has no member named 'managerID' util/virnetdevvportprofile.c:45:67: error: 'struct anonymous' has no member named 'managerID' util/virnetdevvportprofile.c:46:33: error: 'struct anonymous' has no member named 'typeID' util/virnetdevvportprofile.c:46:64: error: 'struct anonymous' has no member named 'typeID' util/virnetdevvportprofile.c:47:33: error: 'struct anonymous' has no member named 'typeIDVersion' util/virnetdevvportprofile.c:47:71: error: 'struct anonymous' has no member named 'typeIDVersion' util/virnetdevvportprofile.c:48:40: error: 'struct anonymous' has no member named 'instanceID' util/virnetdevvportprofile.c:48:73: error: 'struct anonymous' has no member named 'instanceID' This patch trivially fixes it: --- a/src/util/virnetdevvportprofile.h +++ b/src/util/virnetdevvportprofile.h @@ -23,6 +23,8 @@ #ifndef __VIR_NETDEV_VPORT_PROFILE_H__ # define __VIR_NETDEV_VPORT_PROFILE_H__ +# include stdint.h + # include internal.h # include uuid.h # include util.h -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] Fix tip of git
On 11/15/2011 12:40 PM, Stefan Berger wrote: I get these type of compilation errors: In file included from util/virnetdevvportprofile.c:25:0: util/virnetdevvportprofile.h:49:13: error: expected specifier-qualifier-list before 'uint8_t' util/virnetdevvportprofile.c: In function 'virNetDevVPortProfileEqual': util/virnetdevvportprofile.c:45:33: error: 'struct anonymous' has no member named 'managerID' On which platform (or more likely, with which version of libc headers?) This patch trivially fixes it: --- a/src/util/virnetdevvportprofile.h +++ b/src/util/virnetdevvportprofile.h @@ -23,6 +23,8 @@ #ifndef __VIR_NETDEV_VPORT_PROFILE_H__ # define __VIR_NETDEV_VPORT_PROFILE_H__ +# include stdint.h + # include internal.h ACK. -- Eric Blake ebl...@redhat.com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list