[libvirt] libvirt-0.10.2-46 compress failed
饶俊明
RAOJUNMING113 at pingan.com.cn
Tue Apr 21 06:48:23 UTC 2015
Hello
When compress libvirt-0.10.2-46.el6.src.rpm to support rbd, then failed;
Error log:
cc1: warnings being treated as errors
storage/storage_backend_rbd.c: In function 'virStorageBackendRBDRefreshPool':
storage/storage_backend_rbd.c:284: error: declaration of 'stat' shadows a global declaration [-Wshadow]
/usr/include/sys/stat.h:455: error: shadowed declaration is here [-Wshadow]
At top level:
cc1: error: unrecognized command line option "-Wno-suggest-attribute=const"
cc1: error: unrecognized command line option "-Wno-suggest-attribute=pure"
make[3]: *** [libvirt_driver_storage_impl_la-storage_backend_rbd.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/ada/rpmbuild/BUILD/libvirt-0.10.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ada/rpmbuild/BUILD/libvirt-0.10.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ada/rpmbuild/BUILD/libvirt-0.10.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.g0IuFq (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.g0IuFq (%build)
Thanks!!!
********************************************************************************************************************************
The information in this email is confidential and may be legally privileged. If you have received this email in error or are not the intended recipient, please immediately notify the sender and delete this message from your computer. Any use, distribution, or copying of this email other than by the intended recipient is strictly prohibited. All messages sent to and from us may be monitored to ensure compliance with internal policies and to protect our business.
Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. Anyone who communicates with us by email is taken to accept these risks.
æ¶åé®ä»¶è
请注æï¼
æ¬é®ä»¶å«ä¿å¯ä¿¡æ¯ï¼è¥è¯¯æ¶æ¬é®ä»¶ï¼è¯·å¡å¿
éç¥åé人并ç´æ¥å å»ï¼ä¸å¾ä½¿ç¨ãä¼ ææå¤å¶æ¬é®ä»¶ã
è¿åºé®ä»¶ååå°æ¬å
¬å¸åè§çæ§ãé®ä»¶å¯è½åç被æªçã被修æ¹ã丢失ãè¢«ç ´åæå
å«è®¡ç®æºç
æ¯çä¸å®å
¨æ
åµã
********************************************************************************************************************************
More information about the libvir-list
mailing list