From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v2] net/virtio-user: fix build error in SUSE 11 Date: Fri, 1 Jul 2016 10:10:09 +0800 Message-ID: <20160701021009.GO2831@yliu-dev.sh.intel.com> References: <1466948986-12255-1-git-send-email-jianfeng.tan@intel.com> <1467170583-137837-1-git-send-email-jianfeng.tan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, ferruh.yigit@intel.com To: Jianfeng Tan Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 86EE09E3 for ; Fri, 1 Jul 2016 04:09:38 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1467170583-137837-1-git-send-email-jianfeng.tan@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Jun 29, 2016 at 03:23:03AM +0000, Jianfeng Tan wrote: > On some older systems, such as SUSE 11, the compiling error shows > as: > .../dpdk/drivers/net/virtio/virtio_user/virtio_user_dev.c:67:22: > error: =E2=80=98O_CLOEXEC=E2=80=99 undeclared (first use in th= is function) >=20 > The fix is to use EFD_CLOEXEC, which is defined in sys/eventfd.h, > instead of O_CLOEXEC which needs _GNU_SOURCE defined on some old > systems. >=20 > Fixes: 37a7eb2ae816 ("net/virtio-user: add device emulation layer") >=20 > Signed-off-by: Jianfeng Tan Applied to dpdk-next-virtio. Thanks. --yliu