[libvirt] make check error

Peter Krempa pkrempa at redhat.com
Tue Sep 17 12:03:52 UTC 2013


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




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130917/f18fc224/attachment-0001.sig>


More information about the libvir-list mailing list