DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Shared library build broken
@ 2015-06-08 20:14 Thomas F Herbert
  2015-06-08 21:29 ` Thomas F Herbert
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas F Herbert @ 2015-06-08 20:14 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Shared library build broken
  2015-06-08 20:14 [dpdk-dev] Shared library build broken Thomas F Herbert
@ 2015-06-08 21:29 ` Thomas F Herbert
  2015-06-09  9:40   ` Gonzalez Monroy, Sergio
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas F Herbert @ 2015-06-08 21:29 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Shared library build broken
  2015-06-08 21:29 ` Thomas F Herbert
@ 2015-06-09  9:40   ` Gonzalez Monroy, Sergio
  2015-06-09 13:28     ` Thomas F Herbert
  0 siblings, 1 reply; 4+ messages in thread
From: Gonzalez Monroy, Sergio @ 2015-06-09  9:40 UTC (permalink / raw)
  To: Thomas F Herbert; +Cc: 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] Shared library build broken
  2015-06-09  9:40   ` Gonzalez Monroy, Sergio
@ 2015-06-09 13:28     ` Thomas F Herbert
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas F Herbert @ 2015-06-09 13:28 UTC (permalink / raw)
  To: Gonzalez Monroy, Sergio; +Cc: dev



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-09 13:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-08 20:14 [dpdk-dev] Shared library build broken Thomas F Herbert
2015-06-08 21:29 ` Thomas F Herbert
2015-06-09  9:40   ` Gonzalez Monroy, Sergio
2015-06-09 13:28     ` Thomas F Herbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).