From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f196.google.com (mail-qk0-f196.google.com [209.85.220.196]) by dpdk.org (Postfix) with ESMTP id CC0763258 for ; Fri, 1 Dec 2017 03:00:56 +0100 (CET) Received: by mail-qk0-f196.google.com with SMTP id b123so11446260qkg.7 for ; Thu, 30 Nov 2017 18:00:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KB99ynxmbYSKe98N7vLsmMCaQQ1AD1jmsYuw63mlqa4=; b=MFBb9CgezX2mOusZQVHQVVCJxG5my7qs2O1hRC1bvJnyJ4TJLM3Y64evI3QbdVaVZy L0p44eVbTPg+DfWk7IQ5rTVrqlGNCZz3S37LqE2TV1kr/I/xegZ8/LN+uys61nB0lHR0 l3vLRsuTGB+HPgxsxQKNivAEdoaiE328asdZbsgVMPq3U7YUH2FKV9qM1DdnEqoZZQ6B BF3acfyfjbSxOGvycBpns3baEGVjhLpRVNGu6WqIA/3fhD9LKuaG/7VzSke0ExnhM+Eq ZKkCBVa0wBdX9ojAdkI82MpltyTl9DGyM8PjxuvGT1sxVV67f0uR4nL02U5Rp8mIkpdg ZWAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KB99ynxmbYSKe98N7vLsmMCaQQ1AD1jmsYuw63mlqa4=; b=DoK/9/yi7a3wIkQesO8xSTVNaaa/BnNQIHmWnxOfEJgu2Z6kyVfEfn3BIc9pFh8te5 +SyarsGNB1WtXTl9oLAQEdTtf35tNk+HKoVXgT+zFa155Tafcf995C8C6nAuFalH87ar mr+So2ckB/IGnf5tS1FEybnlARI12/Jmr3rCghhsHUMlnF+XVBBccPkOJ9QynuZ4zERm L1YvH/IzQlVmARG6/AtaM7E9j+gfD5u2LdQW78Ari2TgEjXVy8ZfrzMqJqLOrZpe7pml G4d7InL6mxkhyKl3ishW34ggXJpRQlGToTxw9E0drH4Rq8sQsayZ8QITc7P9GMECiwRz bktw== X-Gm-Message-State: AKGB3mIp8ebPN9k/2DAoykC9+f7vH2Br9Eg2hDhiuayzVEsC168WUUvn gzxk4z5QZsMOA2s6lL2sQ6NM/Wh8Mp9M2koRrqsmeakK0co= X-Google-Smtp-Source: AGs4zMYPzWWgVf8X1MvaIuQkmMMqJ3Tx/a8vR1GYi1PbR0eWBYbFeS/IPyAYGspQRVecbE1VphUGO1V0F9+5AEJBt1w= X-Received: by 10.55.176.66 with SMTP id z63mr5608302qke.149.1512093656212; Thu, 30 Nov 2017 18:00:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.42.136 with HTTP; Thu, 30 Nov 2017 18:00:55 -0800 (PST) In-Reply-To: <20171130095657.GA9024@bricha3-MOBL3.ger.corp.intel.com> References: <20171130095657.GA9024@bricha3-MOBL3.ger.corp.intel.com> From: kefu chai Date: Fri, 1 Dec 2017 10:00:55 +0800 Message-ID: To: Bruce Richardson , Willem Jan Withagen Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" 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: Fri, 01 Dec 2017 02:00:57 -0000 + Willem, he reported this issue On Thu, Nov 30, 2017 at 5:56 PM, Bruce Richardson 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 >> --- > > 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. Bruce, wjw@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@cephdev.digiware.nl:/usr/obj/usr/srcs/head/src/sys/GENERIC-NODEBUG amd64 > > Regards, > /Bruce -- Regards Kefu Chai