[dpdk-dev] [PATCH v8 3/4] rte_ctrl_if: add control interface library

Bruce Richardson bruce.richardson at intel.com
Mon Jun 26 13:30:57 CEST 2017


On Wed, Jun 21, 2017 at 12:06:50PM +0100, Ferruh Yigit wrote:
> This library gets control messages form kernelspace and forwards them to
> librte_ether and returns response back to the kernelspace.
> 
> Library does:
> 1) Trigger Linux virtual interface creation
> 2) Initialize the netlink socket communication
> 3) Provides process() API to the application that does processing the
> received messages
> 
> This library requires corresponding kernel module to be inserted.
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
> ---
> 
I'm getting errors compiling for shared libs after this patch is
applied.

/Bruce

rte_ctrl_if.o: In function `rte_eth_rtnl_destroy':
/home/bruce/dpdk.org/lib/librte_ctrl_if/rte_ctrl_if.c:332: undefined reference to `rte_log'
rte_ctrl_if.o: In function `rte_eth_control_interface_create_one':
rte_ctrl_if.c:(.text+0x2e9): undefined reference to `rte_log'
rte_ctrl_if.c:(.text+0x306): undefined reference to `rte_log'
rte_ctrl_if.c:(.text+0x31e): undefined reference to `rte_log'
rte_ctrl_if.c:(.text+0x336): undefined reference to `rte_log'
rte_ctrl_if.o:rte_ctrl_if.c:(.text+0x359): more undefined references to `rte_log' follow
rte_ctrl_ethtool.o: In function `get_eeprom_length':
/home/bruce/dpdk.org/lib/librte_ctrl_if/rte_ctrl_ethtool.c:137: undefined reference to `rte_ethtool_get_eeprom_len'
rte_ctrl_ethtool.o: In function `rte_eth_dev_ethtool_process':
rte_ctrl_ethtool.c:(.text+0x14e): undefined reference to `rte_ethtool_get_drvinfo'
rte_ctrl_ethtool.c:(.text+0x16b): undefined reference to `rte_ethtool_get_regs_len'
rte_ctrl_ethtool.c:(.text+0x196): undefined reference to `rte_ethtool_get_regs'
rte_ctrl_ethtool.c:(.text+0x1ab): undefined reference to `rte_ethtool_get_link'
rte_ctrl_ethtool.c:(.text+0x1d1): undefined reference to `rte_ethtool_get_eeprom'
rte_ctrl_ethtool.c:(.text+0x1fa): undefined reference to `rte_ethtool_set_eeprom'
rte_ctrl_ethtool.c:(.text+0x216): undefined reference to `rte_ethtool_get_ringparam'
rte_ctrl_ethtool.c:(.text+0x236): undefined reference to `rte_ethtool_set_ringparam'
rte_ctrl_ethtool.c:(.text+0x256): undefined reference to `rte_ethtool_get_pauseparam'
rte_ctrl_ethtool.o: In function `get_reg_len':
/home/bruce/dpdk.org/lib/librte_ctrl_if/rte_ctrl_ethtool.c:80: undefined reference to `rte_ethtool_get_regs_len'
rte_ctrl_ethtool.o: In function `rte_eth_dev_ethtool_process':
rte_ctrl_ethtool.c:(.text+0x282): undefined reference to `rte_ethtool_set_pauseparam'
collect2: error: ld returned 1 exit status



More information about the dev mailing list