From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v8 3/4] rte_ctrl_if: add control interface library Date: Mon, 26 Jun 2017 12:30:57 +0100 Message-ID: <20170626113057.GC102672@bricha3-MOBL3.ger.corp.intel.com> References: <20170526165228.96919-1-ferruh.yigit@intel.com> <20170621110651.75299-1-ferruh.yigit@intel.com> <20170621110651.75299-4-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, anatoly.burakov@intel.com To: Ferruh Yigit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9A61B9E3 for ; Mon, 26 Jun 2017 13:31:01 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20170621110651.75299-4-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > --- > 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