From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 15D922A62 for ; Thu, 30 Nov 2017 10:57:04 +0100 (CET) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Nov 2017 01:57:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,341,1508828400"; d="scan'208";a="182332859" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.35]) by fmsmga006.fm.intel.com with SMTP; 30 Nov 2017 01:56:59 -0800 Received: by (sSMTP sendmail emulation); Thu, 30 Nov 2017 09:56:58 +0000 Date: Thu, 30 Nov 2017 09:56:58 +0000 From: Bruce Richardson To: kefu chai Cc: dev@dpdk.org Message-ID: <20171130095657.GA9024@bricha3-MOBL3.ger.corp.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Research and Development Ireland Ltd. User-Agent: Mutt/1.9.1 (2017-09-22) Subject: Re: [dpdk-dev] [PATCH] contigmem: include to fix FreeBSD build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2017 09:57:05 -0000 On Thu, Nov 30, 2017 at 02:00:38PM +0800, kefu chai wrote: > otherwise the build fails with > > In file included from contigmem.c:57: > /usr/srcs/head/src/sys/vm/vm_phys.h:122:10: error: use of undeclared > identifier 'vm_cnt' > return (vm_cnt.v_free_count += adj); > ^ > 1 error generated. > *** Error code 1 > > Signed-off-by: Kefu Chai > --- Hi, what version of FreeBSD does this error occur on? Though it's been a few weeks since I last tested, I haven't seen it before on other FreeBSD 10 or 11. Regards, /Bruce