From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=tf6wWSrwE7BbZFQojuwdaxkNJVXgNMrCfm5OmhqJu5o=; b=E2zsJXq6ytnBW333U29GuFR0aZHCYTkgNfAHT1M8jY2+JyaEXHjAQrghdnl58SA8sy ouSz5XzZlkVoOAE/glnN879kX54LGLCHGuqEyyOy9n2lBIv4lsypdimNLunPzXly+I2V 7X1ZsOIaBKVQjFDiMgkMpUSFGWHiGuwANYIKsOPeQTnIXHgHKAHHxSP9Shsh7qJ3Qi0v zV11l05df8S6DoWhe40FZV5fk/+tSRIJrP0Jc3TXTUZ16Ul2OUJ8oJwggJ1SrseZzeIO ZhvVYe2SL8aD4HQI91sciS4QTIai2LiyUZP6VmWUx2Qt4Sq1JIrClhmL//P5TWA/Zrzy 6+hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=tf6wWSrwE7BbZFQojuwdaxkNJVXgNMrCfm5OmhqJu5o=; b=XcqIWbAHowD6/JlZsnd/hzefZZewQAiMLONcph6ZS7svOm1QfwN8b6wOieuzzK4Tdg iDrV6ZO67CO76LVTI9tjV/5Rr9qu0w+dwqhtZx1s/RKthIy/JTFlxyMlSpO4EWVWMcfI i7y9eBaGCEg2Vt5Y5RI/Rqh0UFxvBz9qNf6ln8g2Gv+pZlbVIGoATEnk6oH96WmjJHqr ueH+cTRycnm98SepDv9TB9ROF+7FCAQb0wI7hDb6RF0eDWPekjlf9EBc2Ljzbu51SOqy qLGmztgMMJg9v7vgvmp8kLNdo/dgUmmvS+AujxqjuwJEVr3JRmPxI/TkctfD47HGS0HE 3nLA== X-Gm-Message-State: ALoCoQnxl2El5TRhkcSMdFx9ovVgNr1ezAfZajz+FbOuL65C74Kq3tAdH4SWiagHB0nmlUHUFwmI X-Received: by 10.28.217.6 with SMTP id q6mr9933840wmg.5.1446401935760; Sun, 01 Nov 2015 10:18:55 -0800 (PST) Received: from xps13.localnet (60.26.90.92.rev.sfr.net. [92.90.26.60]) by smtp.gmail.com with ESMTPSA id bf8sm18120392wjc.22.2015.11.01.10.18.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Nov 2015 10:18:54 -0800 (PST) From: Thomas Monjalon To: Eric Kinzie Date: Sun, 01 Nov 2015 19:17:38 +0100 Message-ID: <1706989.WgznurFLZ8@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1445268976-27491-4-git-send-email-ehkinzie@gmail.com> References: <1445268976-27491-1-git-send-email-ehkinzie@gmail.com> <1445268976-27491-4-git-send-email-ehkinzie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v6 3/4] bond mode 4: allow external state machine X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2015 18:18:56 -0000 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?