On 09/17/13 13:43, Peter Krempa wrote:
On 09/17/13 13:31, hzguanqiang(a)corp.netease.com wrote:
> Hi guys,
> I made a automated test for the libvirt code in git source repository right now, It
reported a check error.
>
> The operation steps and error info are as following:
>
> ubuntu@ubuntu:~/github/libvirt.git$ ./autogen.sh
> ubuntu@ubuntu:~/github/libvirt.git$ ./configure --enable-werror
> ubuntu@ubuntu:~/github/libvirt.git$ make check
...
Your system is apparently polluting the global namespace with a symbol
named remove. I'll post patches soon.
Should be now fixed:
commit 6bf4c779841f858872003ffe6a97df395b2940e6
Author: Peter Krempa <pkrempa(a)redhat.com>
Date: Tue Sep 17 13:40:08 2013 +0200
virsh: Don't shadow global variable "remove" in cmdMetadata
Some systems apparently have a global variable/function called remove
and thus break compilation of virsh-domain.c. Rename the variable to
avoid this.
Reported by GuanQiang.
Peter