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 A736D2BF5 for ; Tue, 25 Apr 2017 17:31:49 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2017 08:31:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,249,1488873600"; d="scan'208";a="1123327531" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by orsmga001.jf.intel.com with ESMTP; 25 Apr 2017 08:31:46 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.239]) by IRSMSX104.ger.corp.intel.com ([163.33.3.159]) with mapi id 14.03.0319.002; Tue, 25 Apr 2017 16:31:46 +0100 From: "De Lara Guarch, Pablo" To: Adrien Mazarguil , "dev@dpdk.org" CC: Jerin Jacob Thread-Topic: [dpdk-dev] [PATCH v2 02/13] eventdev: fix errors with strict compilation flags Thread-Index: AQHSvZ5QIJw4oONzUkOxDdfrpb5zUqHWNcOQ Date: Tue, 25 Apr 2017 15:31:45 +0000 Message-ID: References: <743ea1c06b9307c8fc68a399244b8aeab606878e.1493108423.git.adrien.mazarguil@6wind.com> In-Reply-To: <743ea1c06b9307c8fc68a399244b8aeab606878e.1493108423.git.adrien.mazarguil@6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2UzOWZjMGUtZjM0Yy00OTRkLWE2ODAtNDllNDRlM2Q2NzQ0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImF0enNGd0I3M1wvcGkyZlNubjlTZm0wUGVwRzRaK2VxM2JnVlZmQ1VLV2VVPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 02/13] eventdev: fix errors with strict compilation flags 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: Tue, 25 Apr 2017 15:31:50 -0000 Hi Adrien, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Adrien Mazarguil > Sent: Tuesday, April 25, 2017 9:30 AM > To: dev@dpdk.org > Cc: Jerin Jacob > Subject: [dpdk-dev] [PATCH v2 02/13] eventdev: fix errors with strict > compilation flags >=20 > Exported headers must allow compilation with the strictest flags. This > commit addresses the following errors: >=20 > In file included from build/include/rte_eventdev_pmd.h:55:0, > from /tmp/check-includes.sh.25816.c:1: > build/include/rte_eventdev.h:908:8: error: struct has no named members > [-Werror=3Dpedantic] > [...] > In file included from /tmp/check-includes.sh.25816.c:1:0: > build/include/rte_eventdev_pmd.h:65:35: error: ISO C does not permit > named > variadic macros [-Werror=3Dvariadic-macros] > [...] >=20 > Also enabling RTE_LIBRTE_EVENTDEV_DEBUG causes redefinitions: >=20 > In file included from /tmp/check-includes.sh.18921.c:27:0: > build/include/rte_eventdev_pmd.h:58:0: error: > "RTE_PMD_DEBUG_TRACE" > redefined [-Werror] > [...] >=20 > Rely on the rte_ethdev.h version instead. >=20 > Fixes: 71f238432865 ("eventdev: introduce event driven programming > model") > Fixes: 4f0804bbdfb9 ("eventdev: implement the northbound APIs") >=20 > Cc: Jerin Jacob > Signed-off-by: Adrien Mazarguil I am seeing the following error due to this patch: In file included from /root/tmp/dpdk-17.05-rc2/lib/librte_eventdev/rte_even= tdev.c:62:0: /root/tmp/dpdk-17.05-rc2/lib/librte_eventdev/rte_eventdev_pmd.h:54:24: fata= l error: rte_ethdev.h: No such file or directory #include It only happens when I compile with "-j", so it looks like dependencies hav= e to be fixed? Thanks, Pablo