From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2017 04:31:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,395,1493708400"; d="scan'208";a="1144900412" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.28]) by orsmga001.jf.intel.com with SMTP; 26 Jun 2017 04:30:58 -0700 Received: by (sSMTP sendmail emulation); Mon, 26 Jun 2017 12:30:57 +0100 Date: Mon, 26 Jun 2017 12:30:57 +0100 From: Bruce Richardson To: Ferruh Yigit Cc: dev@dpdk.org, anatoly.burakov@intel.com 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 Content-Disposition: inline In-Reply-To: <20170621110651.75299-4-ferruh.yigit@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.8.1 (2017-04-11) Subject: Re: [dpdk-dev] [PATCH v8 3/4] rte_ctrl_if: add control interface library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2017 11:31:02 -0000 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