[dpdk-dev] 16.07-rc2 issue with rte_rtm_init(void) constructor

2016-07-14 Thread Thomas Monjalon
2016-07-14 09:36, Damjan Marion: > > > On 14 Jul 2016, at 10:20, Thomas Monjalon > > wrote: > > > > 2016-07-13 22:58, Damjan Marion: > >> I have issues with linking application to 16.07-rc2. > >> > >> Looks like reason is constructor function in include file, > >> so our unit test apps are fai

[dpdk-dev] 16.07-rc2 issue with rte_rtm_init(void) constructor

2016-07-14 Thread Damjan Marion (damarion)
> On 14 Jul 2016, at 13:30, Thomas Monjalon > wrote: > > 2016-07-14 09:36, Damjan Marion: linking fails with: dpdk/include/rte_spinlock.h:103: undefined reference to `rte_cpu_get_flag_enabled? Is there any chance that this one is moved to some .c file, so it is

[dpdk-dev] 16.07-rc2 issue with rte_rtm_init(void) constructor

2016-07-14 Thread Thomas Monjalon
2016-07-13 22:58, Damjan Marion: > I have issues with linking application to 16.07-rc2. > > Looks like reason is constructor function in include file, > so our unit test apps are failing to link as they are not linked with dpdk > libs. > (and they should not be as they are not calling any dpdk fu

[dpdk-dev] 16.07-rc2 issue with rte_rtm_init(void) constructor

2016-07-14 Thread Damjan Marion (damarion)
> On 14 Jul 2016, at 10:20, Thomas Monjalon > wrote: > > 2016-07-13 22:58, Damjan Marion: >> I have issues with linking application to 16.07-rc2. >> >> Looks like reason is constructor function in include file, >> so our unit test apps are failing to link as they are not linked with dpdk >> l

[dpdk-dev] 16.07-rc2 issue with rte_rtm_init(void) constructor

2016-07-13 Thread Damjan Marion (damarion)
Folks, I have issues with linking application to 16.07-rc2. Looks like reason is constructor function in include file, so our unit test apps are failing to link as they are not linked with dpdk libs. (and they should not be as they are not calling any dpdk function). static inline void __attri