All of lore.kernel.org
 help / color / mirror / Atom feed
* Errors of doing "make install-tools" with xen-4.2-unstable?
@ 2012-05-11 14:08 Bei Guan
  2012-05-11 14:16 ` Ian Campbell
  2012-05-11 14:19 ` Olaf Hering
  0 siblings, 2 replies; 16+ messages in thread
From: Bei Guan @ 2012-05-11 14:08 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2802 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3655 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-05-12  5:50 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-11 14:08 Errors of doing "make install-tools" with xen-4.2-unstable? Bei Guan
2012-05-11 14:16 ` Ian Campbell
2012-05-11 15:12   ` Bei Guan
2012-05-11 15:47     ` Ian Campbell
2012-05-11 16:10       ` Bei Guan
2012-05-11 16:18         ` Keir Fraser
2012-05-11 16:24         ` Ian Campbell
2012-05-11 16:33           ` Bei Guan
2012-05-11 16:47             ` Keir Fraser
2012-05-11 17:01               ` Ian Jackson
2012-05-12  5:50               ` Ian Campbell
2012-05-11 16:44           ` Keir Fraser
2012-05-11 16:57             ` Bei Guan
2012-05-11 16:16   ` Keir Fraser
2012-05-11 14:19 ` Olaf Hering
2012-05-11 15:26   ` Bei Guan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.