Skip to contentSkip to conversation

lib/librte_metrics build failure with rhel 7.2

Bug 1010 [email protected] 1 participant 1 message May 17, 2022

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=1010

            Bug ID: 1010
           Summary: lib/librte_metrics build failure with rhel 7.2
           Product: DPDK
           Version: 22.03
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.