Current xen-4.6-staging fails to compile on openSUSE 11.4 and SLES11

[ 1227s] gcc  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 
-Wall -Wstrict-prototypes -Wdeclaration-after-statement   -D__XEN_TOOLS__ -MMD 
-MF .libxl_psr.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector 
-funwind-tables -fasynchronous-unwind-tables -Werror -Wno-format-zero-length 
-Wmissing-declarations -Wno-declaration-after-statement -Wformat-nonliteral -I. 
-fPIC -pthread 
-I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/libxc/include
 -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include 
-I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/libxc/include
 -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include 
-I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/xenstore/include
 -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include 
-I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/l
 ibxl/../../tools/blktap2/control 
-I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/blktap2/include
 -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include  
-I/usr/include/libnl3   -Wshadow -include 
/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/config.h  
-c -o libxl_psr.o libxl_psr.c 
[ 1227s] cc1: warnings being treated as errors
[ 1227s] libxl_psr.c: In function 'libxl_psr_cat_get_l3_info':
[ 1227s] libxl_psr.c:342: error: declaration of 'socket' shadows a global 
declaration
[ 1227s] /usr/include/sys/socket.h:105: error: shadowed declaration is here
[ 1227s] make[3]: *** [libxl_psr.o] Error 1

The last snapshot from 2015-09-09 23:51:17 +0200 (21 days ago) built ok.

Olaf

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

Reply via email to