* [dpdk-dev] [PATCH] mk: fix static linking with null pmd
@ 2015-04-10 7:48 Thomas Monjalon
2015-04-13 20:14 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Monjalon @ 2015-04-10 7:48 UTC (permalink / raw)
To: Tetsuya Mukawa; +Cc: dev
Null PMD was not found when using a statically linked application:
EAL: no driver found for eth_null1
EAL: failed to initialize eth_null1 device
Fixes: c743e50c475f ("null: new poll mode driver")
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
mk/rte.app.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index aa8af79..62a76ae 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -251,6 +251,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_PMD_AF_PACKET),y)
LDLIBS += -lrte_pmd_af_packet
endif
+ifeq ($(CONFIG_RTE_LIBRTE_PMD_NULL),y)
+LDLIBS += -lrte_pmd_null
+endif
+
endif # plugins
endif # ! CONFIG_RTE_BUILD_COMBINE_LIBS
--
2.2.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] mk: fix static linking with null pmd
2015-04-10 7:48 [dpdk-dev] [PATCH] mk: fix static linking with null pmd Thomas Monjalon
@ 2015-04-13 20:14 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2015-04-13 20:14 UTC (permalink / raw)
To: Tetsuya Mukawa; +Cc: dev
> Null PMD was not found when using a statically linked application:
> EAL: no driver found for eth_null1
> EAL: failed to initialize eth_null1 device
>
> Fixes: c743e50c475f ("null: new poll mode driver")
>
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-13 20:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-10 7:48 [dpdk-dev] [PATCH] mk: fix static linking with null pmd Thomas Monjalon
2015-04-13 20:14 ` 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).