[dpdk-dev] Compilation failure with DPDK 18.11.1 (LTS)

adabala, raghuram Raghuram.Adabala at dell.com
Tue May 28 22:08:18 CEST 2019

  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  ?.


  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 <rte_bus_pci.h>
compilation terminated.

More information about the dev mailing list