From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP; 30 Jun 2016 19:09:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,555,1459839600"; d="scan'208";a="131650185" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by fmsmga004.fm.intel.com with ESMTP; 30 Jun 2016 19:09:29 -0700 Date: Fri, 1 Jul 2016 10:10:09 +0800 From: Yuanhan Liu To: Jianfeng Tan Cc: dev@dpdk.org, ferruh.yigit@intel.com 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1467170583-137837-1-git-send-email-jianfeng.tan@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v2] net/virtio-user: fix build error in SUSE 11 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2016 02:09:39 -0000 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: ‘O_CLOEXEC’ undeclared (first use in this function) > > 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. > > Fixes: 37a7eb2ae816 ("net/virtio-user: add device emulation layer") > > Signed-off-by: Jianfeng Tan Applied to dpdk-next-virtio. Thanks. --yliu