From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] test/eventdev: fix compilation with crypto disabled Date: Thu, 06 Apr 2017 17:35:09 +0200 Message-ID: <13684487.oz0q4FAmd1@xps13> References: <20170406141337.14167-1-olivier.matz@6wind.com> <20170406150928.GA21546@jerin> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Jerin Jacob To: Olivier Matz Return-path: Received: from mail-wr0-f177.google.com (mail-wr0-f177.google.com [209.85.128.177]) by dpdk.org (Postfix) with ESMTP id 9D370108D for ; Thu, 6 Apr 2017 17:35:13 +0200 (CEST) Received: by mail-wr0-f177.google.com with SMTP id w11so62326178wrc.3 for ; Thu, 06 Apr 2017 08:35:13 -0700 (PDT) In-Reply-To: <20170406150928.GA21546@jerin> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > There is a compilation error in the following case: > > > > make config T=x86_64-native-linuxapp-gcc > > sed -i 's,CONFIG_RTE_LIBRTE_CRYPTODEV=y,CONFIG_RTE_LIBRTE_CRYPTODEV=n,' \ > > build/.config > > sed -i 's,CONFIG_RTE_APP_CRYPTO_PERF=y,CONFIG_RTE_APP_CRYPTO_PERF=n,' \ > > build/.config > > make -j4 > > make -j4 test-build > > > > test_eventdev.c:39:27: fatal error: > > rte_cryptodev.h: No such file or directory > > #include > > ^ > > > > Removing the include induces a new error, (missing declaration of > > rte_eal_vdev_init()), which is fixed by including rte_dev.h. > > > > Fixes: f8f9d233ea0e ("test/eventdev: add unit tests") > > > > Signed-off-by: Olivier Matz > > Acked-by: Jerin Jacob Applied, thanks