From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] contigmem: include to fix FreeBSD build Date: Thu, 30 Nov 2017 09:56:58 +0000 Message-ID: <20171130095657.GA9024@bricha3-MOBL3.ger.corp.intel.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: kefu chai 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) Content-Disposition: inline In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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