[dpdk-dev,v3,14/40] app/test-pmd: can't find include
Checks
Commit Message
/home/agreen/projects/dpdk/app/test-pmd/cmdline.c:64:10:
fatal error: rte_pmd_dpaa.h: No such file or directory
#include <rte_pmd_dpaa.h>
^~~~~~~~~~~~~~~~
Signed-off-by: Andy Green <andy@warmcat.com>
---
app/test-pmd/Makefile | 1 +
1 file changed, 1 insertion(+)
Comments
Hi Andy,
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Andy Green
> Sent: Thursday, May 10, 2018 3:47 AM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v3 14/40] app/test-pmd: can't find include
>
> /home/agreen/projects/dpdk/app/test-pmd/cmdline.c:64:10:
> fatal error: rte_pmd_dpaa.h: No such file or directory #include
> <rte_pmd_dpaa.h>
> ^~~~~~~~~~~~~~~~
>
> Signed-off-by: Andy Green <andy@warmcat.com>
> ---
> app/test-pmd/Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile index
> 60ae9b9c1..a0fdd0e11 100644
> --- a/app/test-pmd/Makefile
> +++ b/app/test-pmd/Makefile
> @@ -13,6 +13,7 @@ APP = testpmd
> CFLAGS += -DALLOW_EXPERIMENTAL_API
> CFLAGS += -O3
> CFLAGS += $(WERROR_FLAGS)
> +CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa
>
> #
> # all source are stored in SRCS-y
I don't think this is necessary. This is including files directly from the source code,
but when they get copied in build/include/, so if you are not seeing that include,
it is because the driver is not getting compiled (I assume that this was because of the broken dpaa bus).
@@ -13,6 +13,7 @@ APP = testpmd
CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
+CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa
#
# all source are stored in SRCS-y