From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v6 3/4] bond mode 4: allow external state machine Date: Sun, 01 Nov 2015 19:17:38 +0100 Message-ID: <1706989.WgznurFLZ8@xps13> References: <1445268976-27491-1-git-send-email-ehkinzie@gmail.com> <1445268976-27491-4-git-send-email-ehkinzie@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Eric Kinzie Return-path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id F3A688E56 for ; Sun, 1 Nov 2015 19:18:55 +0100 (CET) Received: by wmeg8 with SMTP id g8so43359993wme.0 for ; Sun, 01 Nov 2015 10:18:55 -0800 (PST) In-Reply-To: <1445268976-27491-4-git-send-email-ehkinzie@gmail.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-10-19 08:36, Eric Kinzie: > Size of struct rte_eth_bond_8023ad_conf changed. Increment LIBABIVER > and version bond_mode_8023ad_setup and bond_mode_8023ad_conf_get > functions. [...] > +VERSION_SYMBOL(bond_mode_8023ad_setup, _v20, 2.0); [...] > +BIND_DEFAULT_SYMBOL(bond_mode_8023ad_setup, _v22, 2.2); > +MAP_STATIC_SYMBOL(void bond_mode_8023ad_setup(struct rte_eth_dev *dev, struct rte_eth_bond_8023ad_conf *conf), \ > + bond_mode_8023ad_setup_v22); I'm sorry it doesn't work well when trying to build a combined lib: ld: libdpdk.so: version node not found for symbol bond_mode_8023ad_setup@@DPDK_2.2 The symbols are OK in the .o file: 0000000000002340 g F .text 0000000000000171 bond_mode_8023ad_setup@@DPDK_2.2 0000000000002260 g F .text 00000000000000da bond_mode_8023ad_setup@DPDK_2.0 0000000000002260 g F .text 00000000000000da bond_mode_8023ad_setup_v20 0000000000002340 g F .text 0000000000000171 bond_mode_8023ad_setup_v22 0000000000000000 *UND* 0000000000000000 bond_mode_8023ad_setup I don't understand the problem and I am considering disabling versioning in combined library. Any idea?