[dpdk-dev] Shared library build broken

Gonzalez Monroy, Sergio sergio.gonzalez.monroy at intel.com
Tue Jun 9 11:40:54 CEST 2015


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


More information about the dev mailing list