Skip to contentSkip to conversation

ethdev: fix missing function in version map file

PATCH Applied Bruce Richardson 2 participants 2 messages Apr 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ethdev: fix missing function in version map file

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")
---
 lib/librte_ether/rte_ether_version.map | 6 ++++++
 1 file changed, 6 insertions(+)
lib/librte_ether/rte_ether_version.map +6 -0
index c6c9d0d..318a852 100644
@@ -154,3 +154,9 @@ DPDK_17.02 {
 	rte_flow_validate;
 
 } DPDK_16.11;
+
+DPDK_17.05 {
+	global:
+
+	rte_eth_find_next;
+} DPDK_17.02;
Signature · 1 line
2.9.3
#1 lore raw

2017-04-06 11:18, Bruce Richardson:

Quoted 10 lines

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

Applied, thanks

I missed it because I was not checking build of apps by mistake.