[libvirt-users] build error on CentOS 5

I'm getting the following error when building libvirt 10.2 from source in CentOS 5: CC libvirt_util_la-processinfo.lo util/processinfo.c: In function 'virProcessInfoGetAffinity': util/processinfo.c:164: error: invalid operands to binary | The line in question is: 162 for (i = 0 ; i < maxcpu ; i++) 163 if (CPU_ISSET(i, &mask)) 164 VIR_USE_CPU(map, i); Where VIR_USE_CPU is defined as the following in libvirt.h: #define VIR_USE_CPU(cpumap,cpu) (cpumap[(cpu)/8] |= (1<<((cpu)%8))) I have glibc 2.5 installed, which is why CPU_ALLOC is undefined (added in 2.7). I'm also using a custom 2.6.32 kernel. I can provide configure output and any additional system details if necessary. Has anyone else seen this? Ben Clay rbclay@ncsu.edu

On 11/01/2012 12:41 PM, Ben Clay wrote:
I'm getting the following error when building libvirt 10.2 from source in CentOS 5:
Known issue, and already fixed in libvirt.git (commit 9038ac6). version 1.0.0-rc3 is out now, and should build on RHEL; or you can wait for 1.0.0 tomorrow. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

Excellent, thanks! Ben Clay rbclay@ncsu.edu -----Original Message----- From: Eric Blake [mailto:eblake@redhat.com] Sent: Thursday, November 01, 2012 1:30 PM To: Ben Clay Cc: libvirt-users@redhat.com Subject: Re: [libvirt-users] build error on CentOS 5 On 11/01/2012 12:41 PM, Ben Clay wrote:
I'm getting the following error when building libvirt 10.2 from source in CentOS 5:
Known issue, and already fixed in libvirt.git (commit 9038ac6). version 1.0.0-rc3 is out now, and should build on RHEL; or you can wait for 1.0.0 tomorrow. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Ben Clay
-
Eric Blake