[dpdk-dev] ip_frag: fix missing dependency on librte_hash

Message ID 932d0051cc30a749f810b70e6465cf77679e3c95.1475669648.git.pmatilai@redhat.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Panu Matilainen Oct. 5, 2016, 12:14 p.m. UTC
  Not sure what exactly changed and where, but I've started getting
build failures on Fedora rawhide i386:
    lib/librte_ip_frag/ip_frag_internal.c:36:23: fatal error:
	    rte_jhash.h: No such file or directory
     #include <rte_jhash.h>
                       ^
Looking at librte_ip_frag, it clearly depends on librte_hash so
its probably more a question of something commonly masking the issue.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
---
 lib/librte_ip_frag/Makefile | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Thomas Monjalon Oct. 5, 2016, 1:46 p.m. UTC | #1
2016-10-05 15:14, Panu Matilainen:
> Not sure what exactly changed and where, but I've started getting
> build failures on Fedora rawhide i386:
>     lib/librte_ip_frag/ip_frag_internal.c:36:23: fatal error:
> 	    rte_jhash.h: No such file or directory
>      #include <rte_jhash.h>
>                        ^
> Looking at librte_ip_frag, it clearly depends on librte_hash so
> its probably more a question of something commonly masking the issue.
> 
> Signed-off-by: Panu Matilainen <pmatilai@redhat.com>

Applied, thanks
  

Patch

diff --git a/lib/librte_ip_frag/Makefile b/lib/librte_ip_frag/Makefile
index e97dfbd..43f8b1e 100644
--- a/lib/librte_ip_frag/Makefile
+++ b/lib/librte_ip_frag/Makefile
@@ -54,6 +54,7 @@  SYMLINK-$(CONFIG_RTE_LIBRTE_IP_FRAG)-include += rte_ip_frag.h
 
 DEPDIRS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += lib/librte_eal
 DEPDIRS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += lib/librte_ether
+DEPDIRS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += lib/librte_hash
 DEPDIRS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += lib/librte_mbuf
 DEPDIRS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += lib/librte_mempool