Received: from eggs.gnu.org ([2001:4830:134:3::10]:50030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw8sd-0005PS-JZ for qemu-devel@nongnu.org; Fri, 29 Apr 2016 09:54:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aw8sR-0001nu-Si for qemu-devel@nongnu.org; Fri, 29 Apr 2016 09:54:46 -0400 Received: from [2a03:4000:1::4e2f:c7ac:d] (port=41659 helo=mail.weilnetz.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw8sR-0001ls-MU for qemu-devel@nongnu.org; Fri, 29 Apr 2016 09:54:39 -0400 References: <1461935279-30418-1-git-send-email-jano.vesely@gmail.com> From: Stefan Weil Message-ID: <57236794.2020901@weilnetz.de> Date: Fri, 29 Apr 2016 15:54:28 +0200 MIME-Version: 1.0 In-Reply-To: <1461935279-30418-1-git-send-email-jano.vesely@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] configure: Check if struct fsxattr is available from linux header List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Vesely , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Markus Armbruster , Peter Maydell Am 29.04.2016 um 15:07 schrieb Jan Vesely: > Fixes build failure with --enable-xfsctl and > new linux headers (>=3D4.5) and older xfsprogs(<4.5): > In file included from /usr/include/xfs/xfs.h:38:0, > from /var/tmp/portage/app-emulation/qemu-2.5.0-r1/work= /qemu-2.5.0/block/raw-posix.c:97: > /usr/include/xfs/xfs_fs.h:42:8: error: redefinition of =E2=80=98struct = fsxattr=E2=80=99 > struct fsxattr { > ^ > In file included from /var/tmp/portage/app-emulation/qemu-2.5.0-r1/work= /qemu-2.5.0/block/raw-posix.c:60:0: > /usr/include/linux/fs.h:155:8: note: originally defined here > struct fsxattr { >=20 > CC: qemu-trivial@nongnu.org > CC: Markus Armbruster > CC: Peter Maydell > CC: Stefan Weil > Signed-off-by: Jan Vesely > --- I had this problem with Debian's xfslibs-dev 3.2.1, linux-libc-dev 4.5.1-1 and either clang or gcc. This patch fixes it. Tested-by: Stefan Weil