From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 1798437A0 for ; Thu, 6 Apr 2017 16:13:22 +0200 (CEST) Received: from glumotte.dev.6wind.com (unknown [10.16.0.195]) by proxy.6wind.com (Postfix) with ESMTP id BE51C201A7; Thu, 6 Apr 2017 16:13:16 +0200 (CEST) From: Olivier Matz To: dev@dpdk.org Cc: jerin.jacob@caviumnetworks.com Date: Thu, 6 Apr 2017 16:13:37 +0200 Message-Id: <20170406141337.14167-1-olivier.matz@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH] test/eventdev: fix compilation with crypto disabled 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: Thu, 06 Apr 2017 14:13:22 -0000 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 --- test/test/test_eventdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/test_eventdev.c b/test/test/test_eventdev.c index b568470a2..5bd46346d 100644 --- a/test/test/test_eventdev.c +++ b/test/test/test_eventdev.c @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include "test.h" -- 2.11.0