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 at ncsu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121101/9e780f1a/attachment.htm>
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 at redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 617 bytes Desc: OpenPGP digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121101/ed516ca7/attachment.sig>
Possibly Parallel Threads
- Compile libvirt on OSX 10.12
- CentOS5: libvirtd filling up /var/lib/libvirt/qemu/save
- auto-set /cgroup/*/libvirt/qemu/<vm name>/ directory permissions on creation
- Re: Compile libvirt on OSX 10.12
- [ win32utils-Bugs-5503 ] Process::create() checks return value of CreateProcess against 0, should be false