Re: make check error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/17/13 13:31, hzguanqiang@xxxxxxxxxxxxxxxx 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
> ............
> make  check-local
> make[3]: Entering directory `/home/ubuntu/github/libvirt.git/daemon'
>   GEN    check-augeas
> make[3]: Leaving directory `/home/ubuntu/github/libvirt.git/daemon'
> make[2]: Leaving directory `/home/ubuntu/github/libvirt.git/daemon'
> make[1]: Leaving directory `/home/ubuntu/github/libvirt.git/daemon'
> Making check in tools
> make[1]: Entering directory `/home/ubuntu/github/libvirt.git/tools'
>   GEN    libvirt-guests.sh
> make  check-am
> make[2]: Entering directory `/home/ubuntu/github/libvirt.git/tools'
>   CC     virsh-virsh.o
>   CC     virsh-virsh-console.o
>   CC     virsh-virsh-domain.o
> virsh-domain.c: In function 'cmdMetadata':
> virsh-domain.c:6857:10: error: declaration of 'remove' shadows a global declaration [-Werror=shadow]

Your system is apparently polluting the global namespace with a symbol
named remove. I'll post patches soon.

> cc1: all warnings being treated as errors
> make[2]: *** [virsh-virsh-domain.o] Error 1
> make[2]: Leaving directory `/home/ubuntu/github/libvirt.git/tools'
> make[1]: *** [check] Error 2
> make[1]: Leaving directory `/home/ubuntu/github/libvirt.git/tools'
> make: *** [check-recursive] Error 1

Peter


Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]