From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gonzalez Monroy, Sergio" Subject: Re: Shared library build broken Date: Tue, 09 Jun 2015 10:40:54 +0100 Message-ID: <5576B4A6.50409@intel.com> References: <5575F792.8080306@redhat.com> <55760943.9040104@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" To: Thomas F Herbert 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) In-Reply-To: <55760943.9040104@redhat.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" 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