[dpdk-dev] [PATCH v2] app/test-pmd: fix meson build failed when used latency stats lib

Ferruh Yigit ferruh.yigit at intel.com
Wed Sep 30 18:25:53 CEST 2020


On 9/15/2020 3:08 AM, SteveX Yang wrote:
> meson build cannot find the header rte_latencystats.h when build DPDK
> first time or never installed DPDK lib after build via meson/ninja.
> 
> Because the corresponding header directory isn't included after enabled
> RTE_LIBRTE_LATENCY_STATS flag.
> 
> Add the lib 'latencystats' to deps of meson.build of test-pmd, the
> corresponding header files will be included automatically.
> 
> Fixes: 62d3216d6194 ("app/testpmd: add latency statistics calculation")
> 
> Signed-off-by: SteveX Yang <stevex.yang at intel.com>
> ---
> v2:
> removed long cflags and added 'latencystats' as a dependency of testpmd

The code has 'RTE_LIBRTE_LATENCY_STATS' which needs to be updated.

But I see Bruce is working on a more generic solution:
https://patches.dpdk.org/project/dpdk/list/?series=12283

I will mark this one as superseded and will wait the Bruce's set for fix.


More information about the dev mailing list