From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4A29C5A54 for ; Tue, 9 Jun 2015 11:40:57 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 09 Jun 2015 02:40:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,579,1427785200"; d="scan'208";a="707808532" Received: from smonroyx-mobl.ger.corp.intel.com (HELO [10.237.220.108]) ([10.237.220.108]) by orsmga001.jf.intel.com with ESMTP; 09 Jun 2015 02:40:56 -0700 Message-ID: <5576B4A6.50409@intel.com> Date: Tue, 09 Jun 2015 10:40:54 +0100 From: "Gonzalez Monroy, Sergio" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Thomas F Herbert References: <5575F792.8080306@redhat.com> <55760943.9040104@redhat.com> In-Reply-To: <55760943.9040104@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Shared library build broken 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: Tue, 09 Jun 2015 09:40:57 -0000 On 08/06/2015 22:29, Thomas F Herbert wrote: > Sorry, > > I apologize on behalf of my fingers. I meant combined library build is > broken when PMD_BOND is selected. > > > On 6/8/15 4:14 PM, Thomas F Herbert wrote: >> I just noticed that shared library build is broking. I am building >> current master. I had to make this change to get it to build: >> >> -CONFIG_RTE_LIBRTE_PMD_BOND=y >> +CONFIG_RTE_LIBRTE_PMD_BOND=n >> >> >> One of the recent bonding commits broke some dependencies I think but I >> didn't investigate further. >> >> test_link_bonding.o: In function `test_add_slave_to_bonded_device': >> test_link_bonding.c:(.text+0x44a): undefined reference to >> `rte_eth_bond_slave_add' >> test_link_bonding.c:(.text+0x462): undefined reference to >> `rte_eth_bond_slaves_get' >> test_link_bonding.c:(.text+0x487): undefined reference to >> `rte_eth_bond_active_slaves_get >> .... >> >> --TFH I just sent a patch to fix the issue. Drivers (PMDs) were not being archive in the combined library. Sergio