From mboxrd@z Thu Jan 1 00:00:00 1970 From: "De Lara Guarch, Pablo" Subject: Re: [PATCH v2 02/13] eventdev: fix errors with strict compilation flags Date: Tue, 25 Apr 2017 15:31:45 +0000 Message-ID: References: <743ea1c06b9307c8fc68a399244b8aeab606878e.1493108423.git.adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: Jerin Jacob To: Adrien Mazarguil , "dev@dpdk.org" 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) In-Reply-To: <743ea1c06b9307c8fc68a399244b8aeab606878e.1493108423.git.adrien.mazarguil@6wind.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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