DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Compilation failure with DPDK 18.11.1 (LTS)
@ 2019-05-28 20:08 adabala, raghuram
  2019-05-29  8:44 ` [dpdk-users] [dpdk-dev] " David Marchand
  0 siblings, 1 reply; 3+ messages in thread
From: adabala, raghuram @ 2019-05-28 20:08 UTC (permalink / raw)
  To: users, dev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] [dpdk-dev] Compilation failure with DPDK 18.11.1 (LTS)
  2019-05-28 20:08 [dpdk-users] Compilation failure with DPDK 18.11.1 (LTS) adabala, raghuram
@ 2019-05-29  8:44 ` David Marchand
  2019-05-31 15:57   ` adabala, raghuram
  0 siblings, 1 reply; 3+ messages in thread
From: David Marchand @ 2019-05-29  8:44 UTC (permalink / raw)
  To: adabala, raghuram; +Cc: users, dev, Kevin Traynor

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 <rte_bus_pci.h>
>                          ^
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] [dpdk-dev] Compilation failure with DPDK 18.11.1 (LTS)
  2019-05-29  8:44 ` [dpdk-users] [dpdk-dev] " David Marchand
@ 2019-05-31 15:57   ` adabala, raghuram
  0 siblings, 0 replies; 3+ messages in thread
From: adabala, raghuram @ 2019-05-31 15:57 UTC (permalink / raw)
  To: David Marchand; +Cc: users, dev, Kevin Traynor

Thank you, David.
Let me look at this once more and get back to you.
Regards,
raghu

From: David Marchand <david.marchand@redhat.com>
Sent: Wednesday, May 29, 2019 4:45 AM
To: adabala, raghuram
Cc: users@dpdk.org; dev@dpdk.org; Kevin Traynor
Subject: Re: [dpdk-dev] Compilation failure with DPDK 18.11.1 (LTS)


[EXTERNAL EMAIL]
On Wed, May 29, 2019 at 10:38 AM adabala, raghuram <Raghuram.Adabala@dell.com<mailto: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 <rte_bus_pci.h>
                         ^
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-03 12:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 20:08 [dpdk-users] Compilation failure with DPDK 18.11.1 (LTS) adabala, raghuram
2019-05-29  8:44 ` [dpdk-users] [dpdk-dev] " David Marchand
2019-05-31 15:57   ` adabala, raghuram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).