[dpdk-dev] Shared library build broken

Thomas F Herbert therbert at redhat.com
Tue Jun 9 15:28:44 CEST 2015



On 6/9/15 5:40 AM, Gonzalez Monroy, Sergio wrote:
> 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.
Thanks. It is fixed.
> Drivers (PMDs) were not being archive in the combined library.
>
> Sergio


More information about the dev mailing list