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

[Xen-devel] Errors in compilation // xl_cmdimpl.c:2733:11 ...



nice time,

Ian, I'm not sure, but I think after Your patch:
http://xenbits.xen.org/hg/xen-unstable.hg/rev/4ca40e0559c3

xen-tools (+qemu+seabios) will not be maked :)

Here are last lines of "make -j7":
==============================================================
gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable  
 -D__XEN_TOOLS__ -MMD -MF ._libxl_save_msgs_callout.o.d  -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls  -Werror 
-Wno-format-zero-length -Wmissing-declarations -Wno-declaration-after-statement 
-Wformat-nonliteral -I. -fPIC -pthread 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/libxc 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/libxc 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/xenstore 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/blktap2/control 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/blktap2/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include -include 
/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/config.h  -c -o 
_libxl_save_msgs_callout.o _libxl_save_msgs_callout.c 
xl_cmdimpl.c: In function âmain_listâ:
xl_cmdimpl.c:2733:11: error: âhandâ may be used uninitialized in this function 
[-Werror=uninitialized]
xl_cmdimpl.c:2689:14: note: âhandâ was declared here
gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable  
 -D__XEN_TOOLS__ -MMD -MF .libxl_qmp.o.d  -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls  -Werror 
-Wno-format-zero-length -Wmissing-declarations -Wno-declaration-after-statement 
-Wformat-nonliteral -I. -fPIC -pthread 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/libxc 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/libxc 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/xenstore 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/blktap2/control 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/blktap2/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include -include 
/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/config.h  -c -o 
libxl_qmp.o libxl_qmp.c 
gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable  
 -D__XEN_TOOLS__ -MMD -MF .libxl_event.o.d  -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls  -Werror 
-Wno-format-zero-length -Wmissing-declarations -Wno-declaration-after-statement 
-Wformat-nonliteral -I. -fPIC -pthread 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/libxc 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/libxc 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/xenstore 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/blktap2/control 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/blktap2/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include -include 
/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/config.h  -c -o 
libxl_event.o libxl_event.c 
gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable  
 -D__XEN_TOOLS__ -MMD -MF .libxl_fork.o.d  -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls  -Werror 
-Wno-format-zero-length -Wmissing-declarations -Wno-declaration-after-statement 
-Wformat-nonliteral -I. -fPIC -pthread 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/libxc 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/libxc 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/xenstore 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/blktap2/control 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/blktap2/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include -include 
/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/config.h  -c -o 
libxl_fork.o libxl_fork.c 
gcc  -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable  
 -D__XEN_TOOLS__ -MMD -MF .osdeps.o.d  -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls  -Werror 
-Wno-format-zero-length -Wmissing-declarations -Wno-declaration-after-statement 
-Wformat-nonliteral -I. -fPIC -pthread 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/libxc 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/libxc 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/xenstore 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/blktap2/control 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/blktap2/include 
-I/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/include -include 
/usr/src/xen_2012_08_24_rev_25779/tools/libxl/../../tools/config.h  -c -o 
osdeps.o osdeps.c 
cc1: all warnings being treated as errors
make[3]: *** [xl_cmdimpl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/usr/src/xen_2012_08_24_rev_25779/tools/libxl'
make[2]: *** [subdir-install-libxl] Error 2
make[2]: Leaving directory `/usr/src/xen_2012_08_24_rev_25779/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/usr/src/xen_2012_08_24_rev_25779/tools'
make: *** [install-tools] Error 2
==============================================================


#cat .config
QEMU_UPSTREAM_URL = git://github.com/qemu/qemu.git
QEMU_UPSTREAM_REVISION=master

SEABIOS_UPSTREAM_URL=git://git.seabios.org/seabios.git
SEABIOS_UPSTREAM_TAG=master


I attach /xen-tools/config.log too.
If You need some more else write me please.

Attachment: config.log
Description: Text Data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.