[Bug 1010] lib/librte_metrics build failure with rhel 7.2
    bugzilla at dpdk.org 
    bugzilla at dpdk.org
       
    Tue May 17 11:29:46 CEST 2022
    
    
  
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: dev at dpdk.org
          Reporter: bzalkilani at nvidia.com
  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.
-- 
You are receiving this mail because:
You are the assignee for the bug.
    
    
More information about the dev
mailing list