[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Errors of doing "make install-tools" with xen-4.2-unstable?
Hi, When I do the "make install-tools" with xen-4.2-unstable, there are some errors about "warn_unused_result". Is it the error in code or the error in the compiling environment? Thank you so much. gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .tapdisk-queue.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Werror -g -Wno-unused -fno-strict-aliasing -I../include -I../drivers -I/root/Xen/xen-4.2-unstable/tools/blktap2/drivers/../../../tools/libxc -I/root/Xen/xen-4.2-unstable/tools/blktap2/drivers/../../../tools/include -D_GNU_SOURCE -DUSE_NFS_LOCKS -fPIC -I /root/Xen/xen-4.2-unstable/tools/blktap2/drivers/../../../tools/libaio/src -c -o tapdisk-queue.o tapdisk-queue.c cc1: warnings being treated as errors tapdisk-queue.c: In function ‘tapdisk_lio_ack_event’: tapdisk-queue.c:438: error: ignoring return value of ‘read’, declared with attribute warn_unused_result make[5]: *** [tapdisk-queue.o] Error 1 make[5]: Leaving directory `/root/Xen/xen-4.2-unstable/tools/blktap2/drivers' make[4]: *** [subdir-install-drivers] Error 2 make[4]: Leaving directory `/root/Xen/xen-4.2-unstable/tools/blktap2' make[3]: *** [subdirs-install] Error 2 make[3]: Leaving directory `/root/Xen/xen-4.2-unstable/tools/blktap2' make[2]: *** [subdir-install-blktap2] Error 2 make[2]: Leaving directory `/root/Xen/xen-4.2-unstable/tools' make[1]: *** [subdirs-install] Error 2 make[1]: Leaving directory `/root/Xen/xen-4.2-unstable/tools' make: *** [install-tools] Error 2 ------ root/Xen/xen-4.2-unstable/tools/blktap2/drivers/../../../tools/libaio/src -c -o tapdisk-log.o tapdisk-log.c cc1: warnings being treated as errors tapdisk-log.c: In function ‘tlog_flush’: tapdisk-log.c:250: error: ignoring return value of ‘write’, declared with attribute warn_unused_result ------ /root/Xen/xen-4.2-unstable/tools/blktap2/drivers/../../../tools/libaio/src -c -o tapdisk2.o tapdisk2.c cc1: warnings being treated as errors tapdisk2.c: In function ‘main’: tapdisk2.c:82: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result ------ cc1: warnings being treated as errors tapdisk-stream.c: In function ‘tapdisk_stream_poll_clear’: tapdisk-stream.c:148: error: ignoring return value of ‘read’, declared with attribute warn_unused_result tapdisk-stream.c: In function ‘tapdisk_stream_poll_set’: tapdisk-stream.c:158: error: ignoring return value of ‘write’, declared with attribute warn_unused_result tapdisk-stream.c: In function ‘tapdisk_stream_print_request’: tapdisk-stream.c:206: error: ignoring return value of ‘write’, declared with attribute warn_unused_result Best Regards, Bei Guan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |