HI
The issue still exists if the upstream src is built on RH 6.x. After
numactl and numactl-devel is upgraded to 2.0.9, the issue gets fixed.
On Tue, Jul 1, 2014 at 5:26 AM, Eric Blake <eblake(a)redhat.com> wrote:
On 06/30/2014 01:46 PM, Scott Sullivan wrote:
> I've tested the v1.2.6-rc2 git tag, im getting this build error:
>
> CC util/libvirt_util_la-virnuma.lo
> util/virnuma.c: In function 'virNumaNodeIsAvailable':
> util/virnuma.c:428: error: 'numa_nodes_ptr' undeclared (first use in
> this function)
> util/virnuma.c:428: error: (Each undeclared identifier is reported only
> once
> util/virnuma.c:428: error: for each function it appears in.)
What version of numactl-devel do you have installed?
> make[3]: *** [util/libvirt_util_la-virnuma.lo] Error 1
> make[3]: Leaving directory `/home/rpmbuild/packages/libvirt/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/rpmbuild/packages/libvirt/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rpmbuild/packages/libvirt'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.3Gu7nd (%build)
>
> Build works fine on tag v1.2.5-maint.
Sounds like we need to make code added in the meantime be conditional to
compile to older numa libraries.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org
--
libvir-list mailing list
libvir-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
--
Regards,
Zhi Yong Wu