From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id E2E98E6D for ; Mon, 11 Jul 2016 18:09:47 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 11 Jul 2016 09:09:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,347,1464678000"; d="scan'208,217";a="1019550992" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga002.fm.intel.com with ESMTP; 11 Jul 2016 09:09:35 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 11 Jul 2016 09:09:33 -0700 Received: from fmsmsx106.amr.corp.intel.com ([169.254.5.127]) by FMSMSX110.amr.corp.intel.com ([169.254.14.65]) with mapi id 14.03.0248.002; Mon, 11 Jul 2016 09:09:32 -0700 From: "Posadas, Emerson" To: "dev@dpdk.org" Thread-Topic: pktgen wr_cksum error Thread-Index: AdHbjpuS0/aZrUaKR/Cg1xC+nEWEgA== Date: Mon, 11 Jul 2016 16:09:32 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTExMTIxODktNGNjOC00ZWI5LTkzMGMtM2NlMjlkODA5NTViIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjdwSm9HUUp6ZExPekt6R1BReE82alR6RUxvY1wvdkRBNUwzWWtXVjBjUzFVPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.1.200.106] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] pktgen wr_cksum error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2016 16:09:48 -0000 Hello I'm trying to build pktgen-v3.0.05 with dpdk 16.04 for with RTE_TARGET x86_= 64-native-linuxapp-gcc. Seemts that the build is failing due to an error on= wr_cksum.c. Is something I can try to fix this error and build pktgen succ= essfully? Not sure if others have had this error before. # make =3D=3D lib =3D=3D common CC wr_cksum.o In file included from /root/pktgen-v3.0.05/lib/common/wr_cksum.c:102:0: /root/pktgen-v3.0.05/lib/common/wr_mbuf.h: In function '__pktmbuf_alloc_nor= eset': /root/pktgen-v3.0.05/lib/common/wr_mbuf.h:47:2: error: 'for' loop initial d= eclarations are only allowed in C99 mode /root/pktgen-v3.0.05/lib/common/wr_mbuf.h:47:2: note: use option -std=3Dc99= or -std=3Dgnu99 to compile your code make[3]: *** [wr_cksum.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [common] Error 2 make: *** [lib] Error 2 root@pktgen:~ EP