building error
When I try to build xen on fc21, I meet the following errors:drivers/net/ath/ath9k/ath9k_ar9003_phy.c: In function ‘ar9003_hw_ani_control’:drivers/net/ath/ath9k/ath9k_ar9003_phy.c:862:11: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
if (!on != aniState->ofdmWeakSigDetectOff) {
^
drivers/net/ath/ath9k/ath9k_ar9003_phy.c:1016:14: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
if (!is_on != aniState->mrcCCKOff) {
^cc1: all warnings being treated as errors
bin/rules/drivers/net/ath/ath9k/ath9k_ar9003_phy.c.r:3: recipe for target 'bin/ath9k_ar9003_phy.o' failed
make[7]: *** [bin/ath9k_ar9003_phy.o] Error 1
make[7]: *** Waiting for unfinished jobs....
[BUILD] bin/nvsvpd.odrivers/net/ath/ath9k/ath9k_ar5008_phy.c: In function ‘ar5008_hw_ani_control_old’:drivers/net/ath/ath9k/ath9k_ar5008_phy.c:1144:11: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
if (!on != aniState->ofdmWeakSigDetectOff) {
^
drivers/net/ath/ath9k/ath9k_ar5008_phy.c: In function ‘ar5008_hw_ani_control_new’:
drivers/net/ath/ath9k/ath9k_ar5008_phy.c:1310:11: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
if (!on != aniState->ofdmWeakSigDetectOff) {
^cc1: all warnings being treated as errors bin/rules/drivers/net/ath/ath9k/ath9k_ar5008_phy.c.r:3: recipe for target 'bin/ath9k_ar5008_phy.o' failed make[7]: *** [bin/ath9k_ar5008_phy.o] Error 1
make[7]: Leaving directory '/work/src/xen/tools/firmware/etherboot/ipxe/src' Makefile:28: recipe for target 'ipxe/src/bin/rtl8139.rom' failed
make[6]: *** [ipxe/src/bin/rtl8139.rom] Error 2
I know my gcc has some problems, and will generate wrong bin file(We have discussed it earlier).
But this building error is new problem. Do we have any plan to use newer ipxe?
I update ipxe to avoid the building error, and I meet the following error:hw/virtio/virtio-rng.c: In function ‘virtio_rng_device_realize’:hw/virtio/virtio-rng.c:152:31: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
if (!vrng->conf.period_ms > 0) {
^cc1: all warnings being treated as errors
It seems that qemu have some problems.
Thanks
Wen Congyang
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel