Bug 1010 - lib/librte_metrics build failure with rhel 7.2
Summary: lib/librte_metrics build failure with rhel 7.2
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: other (show other bugs)
Version: 22.03
Hardware: x86 Linux
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2022-05-17 11:29 CEST by Bassam ZaidAlKilani
Modified: 2022-05-17 11:29 CEST (History)
0 users



Attachments

Description Bassam ZaidAlKilani 2022-05-17 11:29:46 CEST
Some libs are failing to build with older libjansson versions on rhel7.2

Reproducer:
# meson build-meson --werror && ninja -C build-meson

Failure:
../lib/librte_metrics/rte_metrics_telemetry.c: In function ‘rte_metrics_tel_extract_data’: 

../lib/librte_metrics/rte_metrics_telemetry.c:397:2: error: implicit declaration of function ‘json_array_foreach’ [-Werror=implicit-function-declaration] 

  json_array_foreach(port_ids_json, index, value) { 

  ^ 

Jansson version used: 2.4
OS: RHEL7.2

Please note, the error doesn't reproduce with CentOS 7.9 with jansson 2.10.

Note You need to log in before you can comment on or make changes to this bug.