DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in shared, non-combined config
@ 2015-02-11  8:53 Panu Matilainen
  2015-02-11 10:51 ` Gonzalez Monroy, Sergio
  2015-02-11 13:43 ` [dpdk-dev] [PATCH v2] mk: fix librte_vhost linking Panu Matilainen
  0 siblings, 2 replies; 16+ messages in thread
From: Panu Matilainen @ 2015-02-11  8:53 UTC (permalink / raw)
  To: dev

When building shared, non-combined library, librte_vhost does not
get linked in, causing among other things vhost example to fail
building to do undefined symbols on linkage.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
---
 mk/rte.app.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index 95dbb0b..55d989e 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -125,6 +125,10 @@ LDLIBS += -lm
 LDLIBS += -lrt
 endif
 
+ifeq ($(CONFIG_RTE_LIBRTE_VHOST), y)
+LDLIBS += -lrte_vhost
+endif
+
 endif # ! CONFIG_RTE_BUILD_COMBINE_LIBS
 
 ifeq ($(CONFIG_RTE_LIBRTE_PMD_PCAP),y)
-- 
2.1.0

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

end of thread, other threads:[~2015-02-16 11:58 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-11  8:53 [dpdk-dev] [PATCH] mk: fix missing link of librte_vhost in shared, non-combined config Panu Matilainen
2015-02-11 10:51 ` Gonzalez Monroy, Sergio
2015-02-11 11:25   ` Panu Matilainen
2015-02-11 12:31     ` Gonzalez Monroy, Sergio
2015-02-12 15:44       ` Thomas Monjalon
2015-02-13  7:27         ` Panu Matilainen
2015-02-13  9:28           ` Thomas Monjalon
2015-02-13 10:33             ` Panu Matilainen
2015-02-13 10:53               ` Thomas Monjalon
2015-02-13 13:18               ` Thomas Monjalon
2015-02-16 10:01                 ` Panu Matilainen
2015-02-16 11:17                   ` Thomas Monjalon
2015-02-16 11:58                     ` Panu Matilainen
2015-02-11 13:43 ` [dpdk-dev] [PATCH v2] mk: fix librte_vhost linking Panu Matilainen
2015-02-11 13:47   ` Gonzalez Monroy, Sergio
2015-02-12 16:00     ` Thomas Monjalon

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