* [dpdk-dev] [PATCH] ethdev: fix missing function in version map file
@ 2017-04-06 10:18 Bruce Richardson
2017-04-06 10:50 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Bruce Richardson @ 2017-04-06 10:18 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
The function rte_eth_find_next is missing in the map file, which causes
errors with shared library builds.
.../test-pmd/testpmd.c:1693: undefined reference to `rte_eth_find_next'
Adding function to map file fixes the issue.
Fixes: 5588909af21b ("ethdev: add device iterator")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
lib/librte_ether/rte_ether_version.map | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/librte_ether/rte_ether_version.map b/lib/librte_ether/rte_ether_version.map
index c6c9d0d..318a852 100644
--- a/lib/librte_ether/rte_ether_version.map
+++ b/lib/librte_ether/rte_ether_version.map
@@ -154,3 +154,9 @@ DPDK_17.02 {
rte_flow_validate;
} DPDK_16.11;
+
+DPDK_17.05 {
+ global:
+
+ rte_eth_find_next;
+} DPDK_17.02;
--
2.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] ethdev: fix missing function in version map file
2017-04-06 10:18 [dpdk-dev] [PATCH] ethdev: fix missing function in version map file Bruce Richardson
@ 2017-04-06 10:50 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2017-04-06 10:50 UTC (permalink / raw)
To: Bruce Richardson; +Cc: dev
2017-04-06 11:18, Bruce Richardson:
> The function rte_eth_find_next is missing in the map file, which causes
> errors with shared library builds.
>
> .../test-pmd/testpmd.c:1693: undefined reference to `rte_eth_find_next'
>
> Adding function to map file fixes the issue.
>
> Fixes: 5588909af21b ("ethdev: add device iterator")
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Applied, thanks
I missed it because I was not checking build of apps by mistake.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-06 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-06 10:18 [dpdk-dev] [PATCH] ethdev: fix missing function in version map file Bruce Richardson
2017-04-06 10:50 ` 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).