On 04/04/2017 11:15, Thomas Monjalon wrote:
Ping
[..]
--- a/examples/ethtool/ethtool-app/Makefile
+++ b/examples/ethtool/ethtool-app/Makefile
+ifeq ($(CONFIG_RTE_LIBRTE_IXGBE_PMD),y)
+LDLIBS += -lrte_pmd_ixgbe
+endif

Please, could you confirm we can remove the same LDLIBS line from
examples/ethtool/lib/Makefile ?

Did a quick smoke test and looks like it needs to be in lib/Makefile as well, at least for shared builds on Fedora. Not sure why though..

[ ethtool]$ make
== lib
  LD librte_ethtool.so.1
rte_ethtool.o: In function `rte_ethtool_net_set_rx_mode':
rte_ethtool.c:(.text+0x667): undefined reference to `rte_pmd_ixgbe_set_vf_rxmode'
collect2: error: ld returned 1 exit status

Reply via email to