[dpdk-dev] [PATCH] contigmem: include <sys/vmmeter.h> to fix FreeBSD build
tchaikov at gmail.com
Fri Dec 1 03:00:55 CET 2017
+ Willem, he reported this issue
On Thu, Nov 30, 2017 at 5:56 PM, Bruce Richardson
<bruce.richardson at intel.com> wrote:
> 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 <tchaikov at gmail.com>
> 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.
wjw at cephdev:~ % uname -a
FreeBSD cephdev.digiware.nl 12.0-CURRENT FreeBSD 12.0-CURRENT #15
r324142M: Sun Oct 1 08:19:29 CEST 2017
root at cephdev.digiware.nl:/usr/obj/usr/srcs/head/src/sys/GENERIC-NODEBUG
More information about the dev