From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: xen-4.6 compile error Date: Wed, 30 Sep 2015 15:46:35 +0200 Message-ID: <20150930134635.GA15199@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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/libxl/../../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