From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id A4B2BA0465 for ; Wed, 29 May 2019 10:44:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8F1FF1B954; Wed, 29 May 2019 10:44:52 +0200 (CEST) Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com [209.85.222.45]) by dpdk.org (Postfix) with ESMTP id 958949E4 for ; Wed, 29 May 2019 10:44:49 +0200 (CEST) Received: by mail-ua1-f45.google.com with SMTP id 94so578773uam.3 for ; Wed, 29 May 2019 01:44:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SOkBdd4+SPYhP38wVYJZ4gW2J9Zp4jTifZDOd7OSteA=; b=ACkNm3mRyFPmlUNwUSmCWwXloC4d4yVY6sO+wU8/m7/qlNUQFd/ld7DQRBDrzC0t6q en+Z1aUqql2yo1I655JtPfr7zc8lxSVelAIJhIy6/Sld9MnbmH9Wyv3pNik5AHm0cJCy 0V3ydnxDN4CdhG4BtYqJ3p8ubHE8nVPRT/c/uKbKhQnIGADo085a5nNnUjqsWw1Kv3rw PIzSuqqhYfaWCLS56aEFvt0+IEE3SVu/aa2FuEmk9VtH19b/y+Cl1VfzaGKmUcHXn4PF wEA6YcP3sB+QAAKKxZd02jsZUeW52iuXax7+JiH4DEdZy/orUpZrr+Gvw3PMMcyoEDJi MziA== X-Gm-Message-State: APjAAAUMsVzG4iPfiiBV54HaizufDdF09dek3ycKSMWDVe3YFpc5HCTi PvqnTdRR7cAynoeMtitLWF6NGZQJD0xprhB+Bp0qfQ== X-Google-Smtp-Source: APXvYqy7fcdISVv3xrvvIR92Cyv0UAf7w4z3n3a7PXmgUPCjqA88qB5IM/MmFEkt57X3NumZHhZFkJlc//llc7T09VY= X-Received: by 2002:ab0:14a:: with SMTP id 68mr45594117uak.126.1559119489036; Wed, 29 May 2019 01:44:49 -0700 (PDT) MIME-Version: 1.0 References: <65C4697FFC5B6647861490093DDA7D4320539C42@MX304CL04.corp.emc.com> In-Reply-To: <65C4697FFC5B6647861490093DDA7D4320539C42@MX304CL04.corp.emc.com> From: David Marchand Date: Wed, 29 May 2019 10:44:38 +0200 Message-ID: To: "adabala, raghuram" Cc: "users@dpdk.org" , "dev@dpdk.org" , Kevin Traynor Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] [dpdk-dev] Compilation failure with DPDK 18.11.1 (LTS) X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Wed, May 29, 2019 at 10:38 AM adabala, raghuram < Raghuram.Adabala@dell.com> wrote: > Hello, > I cannot seem to find the definition of ret_dev_cmp_t in any of the > headers I have on my Linux host. > I have installed the following rpms on my host. > Could you please help figure out what other rpm(s) I need ?. > Regards, > Raghu. > > dpdk-16.11.8-6.8.1.x86_64 > dpdk-kmp-default-16.11.8_k4.4.162_78-6.8.1.x86_64 > dpdk-devel-16.11.8-6.8.1.x86_64 > > +++++++++++++++++++++++++++++++ > CC lib/env_dpdk/env.o > In file included from env_internal.h:44:0, > from env.c:36: > /raghu/spdk/dpdk/lib/librte_eal/common/include/rte_bus.h:121:58: error: > unknown type name 'rte_dev_cmp_t' > (*rte_bus_find_device_t)(const struct rte_device *start, rte_dev_cmp_t cmp, > ^ > /raghu/spdk/dpdk/lib/librte_eal/common/include/rte_bus.h:237:2: error: > unknown type name 'rte_bus_find_device_t' > rte_bus_find_device_t find_device; /**< Find a device on the bus */ > ^ > /raghu/spdk/dpdk/lib/librte_eal/common/include/rte_bus.h:243:2: error: > unknown type name 'rte_dev_iterate_t' > rte_dev_iterate_t dev_iterate; /**< Device iterator. */ > ^ > In file included from env.c:36:0: > env_internal.h:46:25: fatal error: rte_bus_pci.h: No such file or directory > #include > ^ > compilation terminated. > +++++++++++++++++++++++++++++++ > Not sure what your problem is, but I can see the definition in rte_dev.h in official v18.11.1 tag. v18.11.1:lib/librte_eal/common/include/rte_dev.h:typedef int (*rte_dev_cmp_t)(const struct rte_device *dev, const void *data); -- David Marchand