[libvirt] make check error
hzguanqiang at corp.netease.com
hzguanqiang at corp.netease.com
Tue Sep 17 12:33:49 UTC 2013
HI Peter,
It's ok now. Thanks.
On 2013-09-17 20:03 , Peter Krempa wrote:
On 09/17/13 13:43, Peter Krempa wrote:
> On 09/17/13 13:31, hzguanqiang at 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 at ubuntu:~/github/libvirt.git$ ./autogen.sh
>> ubuntu at ubuntu:~/github/libvirt.git$ ./configure --enable-werror
>> ubuntu at 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 at 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
------------------
Best regards!
GuanQiang
20:32:55
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130917/e8265303/attachment-0001.htm>
More information about the libvir-list
mailing list