Message ID | 1449563332-1536-1-git-send-email-chaozhu@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id CB6AB11F5; Tue, 8 Dec 2015 09:27:14 +0100 (CET) Received: from e23smtp03.au.ibm.com (e23smtp03.au.ibm.com [202.81.31.145]) by dpdk.org (Postfix) with ESMTP id C115F11C5 for <dev@dpdk.org>; Tue, 8 Dec 2015 09:27:12 +0100 (CET) Received: from localhost by e23smtp03.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <dev@dpdk.org> from <chaozhu@linux.vnet.ibm.com>; Tue, 8 Dec 2015 18:27:10 +1000 Received: from d23dlp02.au.ibm.com (202.81.31.213) by e23smtp03.au.ibm.com (202.81.31.209) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 8 Dec 2015 18:27:09 +1000 X-IBM-Helo: d23dlp02.au.ibm.com X-IBM-MailFrom: chaozhu@linux.vnet.ibm.com X-IBM-RcptTo: dev@dpdk.org Received: from d23relay08.au.ibm.com (d23relay08.au.ibm.com [9.185.71.33]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id C43B82BB003F for <dev@dpdk.org>; Tue, 8 Dec 2015 19:27:08 +1100 (EST) Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay08.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id tB88Qdof27852964 for <dev@dpdk.org>; Tue, 8 Dec 2015 19:26:50 +1100 Received: from d23av01.au.ibm.com (localhost [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id tB88QXk6007960 for <dev@dpdk.org>; Tue, 8 Dec 2015 19:26:33 +1100 Received: from os_controller.crl.ibm.com ([9.186.57.26]) by d23av01.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id tB88QWJf007001 for <dev@dpdk.org>; Tue, 8 Dec 2015 19:26:32 +1100 From: Chao Zhu <chaozhu@linux.vnet.ibm.com> To: dev@dpdk.org Date: Tue, 8 Dec 2015 16:28:52 +0800 Message-Id: <1449563332-1536-1-git-send-email-chaozhu@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.1 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15120808-0009-0000-0000-0000027EDDC3 Subject: [dpdk-dev] [PATCH] librte_hash: Fix compile errors on IBM POWER X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Commit Message
Chao Zhu
Dec. 8, 2015, 8:28 a.m. UTC
This patch fixes the compile errors caused by lacking of "size_t" definition in rte_hash.h.
Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
---
lib/librte_hash/rte_hash.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Comments
On Tue, Dec 08, 2015 at 04:28:52PM +0800, Chao Zhu wrote: > This patch fixes the compile errors caused by lacking of "size_t" definition in rte_hash.h. > > Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com> > --- > lib/librte_hash/rte_hash.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/lib/librte_hash/rte_hash.h b/lib/librte_hash/rte_hash.h > index 6494ade..5046e9b 100644 > --- a/lib/librte_hash/rte_hash.h > +++ b/lib/librte_hash/rte_hash.h > @@ -41,6 +41,7 @@ > */ > > #include <stdint.h> > +#include <stdio.h> Thanks for the patch. The Same issue comes with arm64 GCC 5.2 compiler too. Shouldn't be stddef.h instead of stdio.h? > > #ifdef __cplusplus > extern "C" { > -- > 1.7.1 >
2015-12-08 16:28, Chao Zhu: > This patch fixes the compile errors caused by lacking of "size_t" definition in rte_hash.h. > > Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com> Please Chao, could you provide the exact error and a Fixes: line in the commit message? Thanks
Jerin, Both stdio.h and stddef.h works on POWER. To make it work on ARM, I'll use stddef.h and submit another patch. Thanks! On 2015/12/8 17:10, Jerin Jacob wrote: > On Tue, Dec 08, 2015 at 04:28:52PM +0800, Chao Zhu wrote: >> This patch fixes the compile errors caused by lacking of "size_t" definition in rte_hash.h. >> >> Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com> >> --- >> lib/librte_hash/rte_hash.h | 1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/lib/librte_hash/rte_hash.h b/lib/librte_hash/rte_hash.h >> index 6494ade..5046e9b 100644 >> --- a/lib/librte_hash/rte_hash.h >> +++ b/lib/librte_hash/rte_hash.h >> @@ -41,6 +41,7 @@ >> */ >> >> #include <stdint.h> >> +#include <stdio.h> > Thanks for the patch. > The Same issue comes with arm64 GCC 5.2 compiler too. > Shouldn't be stddef.h instead of stdio.h? > >> >> #ifdef __cplusplus >> extern "C" { >> -- >> 1.7.1 >>
diff --git a/lib/librte_hash/rte_hash.h b/lib/librte_hash/rte_hash.h index 6494ade..5046e9b 100644 --- a/lib/librte_hash/rte_hash.h +++ b/lib/librte_hash/rte_hash.h @@ -41,6 +41,7 @@ */ #include <stdint.h> +#include <stdio.h> #ifdef __cplusplus extern "C" {