[dpdk-test-report] |FAILURE| pw(93178) [v2, 2/2] test/power: round cpuinfo cur freq only when using CPPC cpufreq

sys_stv at intel.com sys_stv at intel.com
Wed May 12 06:36:22 CEST 2021


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/93178

_Compilation issues_

Submitter: Richael Zhuang <richael.zhuang at arm.com>
Date: 2021-05-12 03:49:46
Reply_mail: 20210512034946.37550-3-richael.zhuang at arm.com

DPDK git baseline: Repo:dpdk, CommitID: 6beb2d294743aad1488234109a3ad95a8d5a273f


Meson Build Summary: 22 Builds Done, 5 Successful, 17 Failures, 0 Blocked

+------------------+------------+--------------+------------+------------+-----------+----------+
| os               | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+------------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64        | FAIL       | FAIL         | FAIL       |            |           | FAIL     |
| RHEL83-64        | FAIL       |              |            |            |           |          |
| FC33-64          | FAIL       | FAIL         |            |            |           |          |
| CentOsStream8-64 | FAIL       |              |            |            |           |          |
| UB2104-64        | FAIL       |              |            |            |           |          |
| WIN10-64         |            | pass         |            |            |           |          |
| UB2004-32        | FAIL       |              |            |            |           |          |
| CENTOS83-64      | FAIL       | FAIL         | FAIL       | FAIL       | FAIL      |          |
| FreeBSD1201-64   | pass       | pass         |            | pass       | pass      |          |
| SUSE15-64        | FAIL       | FAIL         |            |            |           |          |
+------------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:


OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-doc

OS: RHEL83-64
	Kernel Version: 4.18.0-240.el8.x86_64
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module+el8.3.0+7459+90c24896)
	x86_64-native-linuxapp-gcc

OS: FC33-64
	Kernel Version: 5.8.16-300.fc33.x86_64
	GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5)
	Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: CentOsStream8-64
	Kernel Version: 4.18.0-257.el8.x86_64
	GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
	Clang Version: 11.0.0 (Red Hat 11.0.0-0.2.rc2.module_el8.4.0+533+50191577)
	x86_64-native-linuxapp-gcc

OS: UB2104-64
	Kernel Version: 5.11.0-16-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0
	Clang Version: 12.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc

OS: WIN10-64
	Kernel Version: N/A
	GCC Version: N/A
	Clang Version: Clang 8.0.0
	x86_64-windows-clang

OS: UB2004-32
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc

OS: CENTOS83-64
	Kernel Version: 4.18.0-240.1.1.el8_3.x86_64
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
	Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.3.18-lp152.57-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 9.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
gcc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c: In function ‘set_freq_internal’:
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:82:2: error: nested extern declaration of ‘POWER_DEBUG_TRACE’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_set_governor_userspace’:
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function ‘power_set_governor’; did you mean ‘timer_getoverrun’? [-Werror=implicit-function-declaration]
  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
         ^~~~~~~~~~~~~~~~~~
         timer_getoverrun
../lib/power/power_cppc_cpufreq.c:108:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function ‘open_core_sysfs_file’; did you mean ‘rte_lcore_has_role’? [-Werror=implicit-function-declaration]
  open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
  ^~~~~~~~~~~~~~~~~~~~
  rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:119:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function ‘FOPEN_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPEN_OR_ERR_GOTO(f_max, err);
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:121:2: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:27: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f_max, err);
                           ^~~
                           errno
../lib/power/power_cppc_cpufreq.c:121:27: note: each undeclared identifier is reported only once for each function it appears in
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_u32(f_max, &highest_perf);
        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:131:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function ‘FOPS_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPS_OR_ERR_GOTO(ret, err);
  ^~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  FOPEN_OR_ERR_GOTO(f_max, out);
                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f, err);
                       ^~~
                       errno
../lib/power/power_cppc_cpufreq.c:247:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_s(f, buf, sizeof(buf));
        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
cc1: all warnings being treated as errors
[330/2750] Generating symbol file lib/librte_kni.so.21.2.p/librte_kni.so.21.2.symbols
[331/2750] Generating symbol file lib/librte_lpm.so.21.2.p/librte_lpm.so.21.2.symbols
[332/2750] Generating symbol file lib/librte_eventdev.so.21.2.p/librte_eventdev.so.21.2.symbols
[333/2750] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[334/2750] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[335/2750] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[336/2750] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[337/2750] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
[338/2750] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[339/2750] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[340/2750] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
ninja: build stopped




*Build Failed #2:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
clang -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
        ^
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function 'power_set_governor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
               ^
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
        ^
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function 'FOPEN_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPEN_OR_ERR_GOTO(f_max, err);
        ^
../lib/power/power_cppc_cpufreq.c:121:27: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_max, err);
                                 ^
../lib/power/power_cppc_cpufreq.c:125:27: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_nom, err);
                                 ^
../lib/power/power_cppc_cpufreq.c:129:28: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_cmax, err);
                                  ^
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function 'read_core_sysfs_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_u32(f_max, &highest_perf);
              ^
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function 'FOPS_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPS_OR_ERR_GOTO(ret, err);
        ^
../lib/power/power_cppc_cpufreq.c:132:2: note: did you mean 'FOPEN_OR_ERR_GOTO'?
../lib/power/power_cppc_cpufreq.c:121:2: note: 'FOPEN_OR_ERR_GOTO' declared here
        FOPEN_OR_ERR_GOTO(f_max, err);
        ^
../lib/power/power_cppc_cpufreq.c:132:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:135:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:138:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:148:3: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                POWER_DEBUG_TRACE("Lcore %u can do Turbo Boost! highest perf %u, "
                ^
../lib/power/power_cppc_cpufreq.c:154:3: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                POWER_DEBUG_TRACE("Lcore %u Turbo not available! highest perf %u, "
                ^
../lib/power/power_cppc_cpufreq.c:182:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(POWER_SYSFILE_SCALING_MAX_FREQ, pi->lcore_id, "r",
        ^
../lib/power/power_cppc_cpufreq.c:184:2: error: implicit declaration of function 'FOPEN_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPEN_OR_ERR_GOTO(f_max, out);
        ^
../lib/power/power_cppc_cpufreq.c:184:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_max, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:188:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_min, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:190:8: error: implicit declaration of function 'read_core_sysfs_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_u32(f_max, &scaling_max_freq);
              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[348/2753] Generating rte_sched_mingw with a custom command
[349/2753] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[350/2753] Compiling C object lib/librte_sched.a.p/sched_rte_approx.c.o
[351/2753] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[352/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[353/2753] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[354/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
[355/2753] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o
[356/2753] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
ninja: build stopped




*Build Failed #3:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-icc
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
icc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c(82): error #266: function "POWER_DEBUG_TRACE" declared implicitly
  	POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
  	^

../lib/power/power_cppc_cpufreq.c(108): error #266: function "power_set_governor" declared implicitly
  	return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
  	       ^

../lib/power/power_cppc_cpufreq.c(119): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
  	^

../lib/power/power_cppc_cpufreq.c(121): error #266: function "FOPEN_OR_ERR_GOTO" declared implicitly
  	FOPEN_OR_ERR_GOTO(f_max, err);
  	^

../lib/power/power_cppc_cpufreq.c(121): error: identifier "err" is undefined
  	FOPEN_OR_ERR_GOTO(f_max, err);
  	                         ^

../lib/power/power_cppc_cpufreq.c(131): error #266: function "read_core_sysfs_u32" declared implicitly
  	ret = read_core_sysfs_u32(f_max, &highest_perf);
  	      ^

../lib/power/power_cppc_cpufreq.c(132): error #266: function "FOPS_OR_ERR_GOTO" declared implicitly
  	FOPS_OR_ERR_GOTO(ret, err);
  	^

../lib/power/power_cppc_cpufreq.c(148): error #266: function "POWER_DEBUG_TRACE" declared implicitly
  		POWER_DEBUG_TRACE("Lcore %u can do Turbo Boost! highest perf %u, "
  		^

../lib/power/power_cppc_cpufreq.c(154): error #266: function "POWER_DEBUG_TRACE" declared implicitly
  		POWER_DEBUG_TRACE("Lcore %u Turbo not available! highest perf %u, "
  		^

../lib/power/power_cppc_cpufreq.c(159): error #177: label "err" was declared but never referenced
  err:
  ^

../lib/power/power_cppc_cpufreq.c(182): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(POWER_SYSFILE_SCALING_MAX_FREQ, pi->lcore_id, "r",
  	^

../lib/power/power_cppc_cpufreq.c(184): error #266: function "FOPEN_OR_ERR_GOTO" declared implicitly
  	FOPEN_OR_ERR_GOTO(f_max, out);
  	^

../lib/power/power_cppc_cpufreq.c(184): error: identifier "out" is undefined
  	FOPEN_OR_ERR_GOTO(f_max, out);
  	                         ^

../lib/power/power_cppc_cpufreq.c(190): error #266: function "read_core_sysfs_u32" declared implicitly
  	ret = read_core_sysfs_u32(f_max, &scaling_max_freq);
  	      ^

../lib/power/power_cppc_cpufreq.c(191): error #266: function "FOPS_OR_ERR_GOTO" declared implicitly
  	FOPS_OR_ERR_GOTO(ret, out);
  	^

../lib/power/power_cppc_cpufreq.c(220): error #266: function "POWER_DEBUG_TRACE" declared implicitly
  	POWER_DEBUG_TRACE("%d frequency(s) of lcore %u are available\n",
  	^

../lib/power/power_cppc_cpufreq.c(243): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(POWER_SYSFILE_SETSPEED, pi->lcore_id, "rw+",
  	^

../lib/power/power_cppc_cpufreq.c(245): error #266: function "FOPEN_OR_ERR_GOTO" declared implicitly
  	FOPEN_OR_ERR_GOTO(f, err);
  	^

../lib/power/power_cppc_cpufreq.c(245): error: identifier "err" is undefined
  	FOPEN_OR_ERR_GOTO(f, err);
  	                     ^

../lib/power/power_cppc_cpufreq.c(247): error #266: function "read_core_sysfs_s" declared implicitly
  	ret = read_core_sysfs_s(f, buf, sizeof(buf));
  	      ^

../lib/power/power_cppc_cpufreq.c(248): error #266: function "FOPS_OR_ERR_GOTO" declared implicitly
  	FOPS_OR_ERR_GOTO(ret, err);
  	^

../lib/power/power_cppc_cpufreq.c(269): error #177: label "err" was declared but never referenced
  err:
  ^

../lib/power/power_cppc_cpufreq.c(358): error #266: function "power_set_governor" declared implicitly
  	return power_set_governor(pi->lcore_id, pi->governor_ori, NULL, 0);
  	       ^

compilation aborted for ../lib/power/power_cppc_cpufreq.c (code 2)
[307/2750] Compiling C object lib/librte_power.a.p/power_rte_power.c.o
[308/2750] Compiling C object lib/librte_power.a.p/power_rte_power_empty_poll.c.o
[309/2750] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[310/2750] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_rx_adapter.c.o
[311/2750] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[312/2750] Linking target lib/librte_efd.so.21.2
[313/2750] Compiling C object lib/librte_kni.a.p/kni_rte_kni.c.o
[314/2750] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[315/2750] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[316/2750] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[317/2750] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o
ninja: build stopped




*Build Failed #4:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
gcc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c: In function ‘set_freq_internal’:
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:82:2: error: nested extern declaration of ‘POWER_DEBUG_TRACE’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_set_governor_userspace’:
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function ‘power_set_governor’; did you mean ‘timer_getoverrun’? [-Werror=implicit-function-declaration]
  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
         ^~~~~~~~~~~~~~~~~~
         timer_getoverrun
../lib/power/power_cppc_cpufreq.c:108:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function ‘open_core_sysfs_file’; did you mean ‘rte_lcore_has_role’? [-Werror=implicit-function-declaration]
  open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
  ^~~~~~~~~~~~~~~~~~~~
  rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:119:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function ‘FOPEN_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPEN_OR_ERR_GOTO(f_max, err);
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:121:2: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:27: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f_max, err);
                           ^~~
                           errno
../lib/power/power_cppc_cpufreq.c:121:27: note: each undeclared identifier is reported only once for each function it appears in
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_u32(f_max, &highest_perf);
        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:131:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function ‘FOPS_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPS_OR_ERR_GOTO(ret, err);
  ^~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  FOPEN_OR_ERR_GOTO(f_max, out);
                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f, err);
                       ^~~
                       errno
../lib/power/power_cppc_cpufreq.c:247:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_s(f, buf, sizeof(buf));
        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
cc1: all warnings being treated as errors
[338/2585] Compiling C object lib/librte_lpm.a.p/lpm_rte_lpm6.c.o
[339/2585] Generating symbol file lib/librte_latencystats.so.21.2.p/librte_latencystats.so.21.2.symbols
[340/2585] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[341/2585] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[342/2585] Generating symbol file lib/librte_kni.so.21.2.p/librte_kni.so.21.2.symbols
[343/2585] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[344/2585] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[345/2585] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[346/2585] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[347/2585] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[348/2585] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #5:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
gcc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c: In function ‘set_freq_internal’:
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:82:2: error: nested extern declaration of ‘POWER_DEBUG_TRACE’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_set_governor_userspace’:
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function ‘power_set_governor’; did you mean ‘timer_getoverrun’? [-Werror=implicit-function-declaration]
  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
         ^~~~~~~~~~~~~~~~~~
         timer_getoverrun
../lib/power/power_cppc_cpufreq.c:108:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function ‘open_core_sysfs_file’; did you mean ‘rte_lcore_has_role’? [-Werror=implicit-function-declaration]
  open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
  ^~~~~~~~~~~~~~~~~~~~
  rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:119:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function ‘FOPEN_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPEN_OR_ERR_GOTO(f_max, err);
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:121:2: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:27: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f_max, err);
                           ^~~
                           errno
../lib/power/power_cppc_cpufreq.c:121:27: note: each undeclared identifier is reported only once for each function it appears in
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_u32(f_max, &highest_perf);
        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:131:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function ‘FOPS_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPS_OR_ERR_GOTO(ret, err);
  ^~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  FOPEN_OR_ERR_GOTO(f_max, out);
                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f, err);
                       ^~~
                       errno
../lib/power/power_cppc_cpufreq.c:247:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_s(f, buf, sizeof(buf));
        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
cc1: all warnings being treated as errors
[337/2753] Linking static target lib/librte_member.a
[338/2753] Generating symbol file lib/librte_kni.so.21.2.p/librte_kni.so.21.2.symbols
[339/2753] Generating symbol file lib/librte_lpm.so.21.2.p/librte_lpm.so.21.2.symbols
[340/2753] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[341/2753] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[342/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[343/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
[344/2753] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[345/2753] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
ninja: build stopped




*Build Failed #6:
OS: FC33-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
gcc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c: In function ‘set_freq_internal’:
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
   82 |  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:82:2: error: nested extern declaration of ‘POWER_DEBUG_TRACE’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_set_governor_userspace’:
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function ‘power_set_governor’ [-Werror=implicit-function-declaration]
  108 |  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
      |         ^~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:108:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function ‘open_core_sysfs_file’ [-Werror=implicit-function-declaration]
  119 |  open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
      |  ^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:119:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function ‘FOPEN_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  121 |  FOPEN_OR_ERR_GOTO(f_max, err);
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:121:2: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:27: error: ‘err’ undeclared (first use in this function)
  121 |  FOPEN_OR_ERR_GOTO(f_max, err);
      |                           ^~~
../lib/power/power_cppc_cpufreq.c:121:27: note: each undeclared identifier is reported only once for each function it appears in
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  131 |  ret = read_core_sysfs_u32(f_max, &highest_perf);
      |        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:131:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function ‘FOPS_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  132 |  FOPS_OR_ERR_GOTO(ret, err);
      |  ^~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
  159 | err:
      | ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  184 |  FOPEN_OR_ERR_GOTO(f_max, out);
      |                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function)
  245 |  FOPEN_OR_ERR_GOTO(f, err);
      |                       ^~~
../lib/power/power_cppc_cpufreq.c:247:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  247 |  ret = read_core_sysfs_s(f, buf, sizeof(buf));
      |        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
  269 | err:
      | ^~~
cc1: all warnings being treated as errors
[338/2752] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[339/2752] Generating rte_reorder_mingw with a custom command
[340/2752] Linking target lib/librte_member.so.21.2
[341/2752] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[342/2752] Compiling C object lib/librte_lpm.a.p/lpm_rte_lpm6.c.o
[343/2752] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[344/2752] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[345/2752] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[346/2752] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o
[347/2752] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[348/2752] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #7:
OS: FC33-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
clang -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
        ^
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function 'power_set_governor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
               ^
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
        ^
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function 'FOPEN_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPEN_OR_ERR_GOTO(f_max, err);
        ^
../lib/power/power_cppc_cpufreq.c:121:27: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_max, err);
                                 ^
../lib/power/power_cppc_cpufreq.c:125:27: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_nom, err);
                                 ^
../lib/power/power_cppc_cpufreq.c:129:28: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_cmax, err);
                                  ^
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function 'read_core_sysfs_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_u32(f_max, &highest_perf);
              ^
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function 'FOPS_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPS_OR_ERR_GOTO(ret, err);
        ^
../lib/power/power_cppc_cpufreq.c:132:2: note: did you mean 'FOPEN_OR_ERR_GOTO'?
../lib/power/power_cppc_cpufreq.c:121:2: note: 'FOPEN_OR_ERR_GOTO' declared here
        FOPEN_OR_ERR_GOTO(f_max, err);
        ^
../lib/power/power_cppc_cpufreq.c:132:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:135:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:138:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:148:3: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                POWER_DEBUG_TRACE("Lcore %u can do Turbo Boost! highest perf %u, "
                ^
../lib/power/power_cppc_cpufreq.c:154:3: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                POWER_DEBUG_TRACE("Lcore %u Turbo not available! highest perf %u, "
                ^
../lib/power/power_cppc_cpufreq.c:182:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(POWER_SYSFILE_SCALING_MAX_FREQ, pi->lcore_id, "r",
        ^
../lib/power/power_cppc_cpufreq.c:184:2: error: implicit declaration of function 'FOPEN_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPEN_OR_ERR_GOTO(f_max, out);
        ^
../lib/power/power_cppc_cpufreq.c:184:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_max, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:188:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_min, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:190:8: error: implicit declaration of function 'read_core_sysfs_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_u32(f_max, &scaling_max_freq);
              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[342/2752] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[343/2752] Generating symbol file lib/librte_lpm.so.21.2.p/librte_lpm.so.21.2.symbols
[344/2752] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[345/2752] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[346/2752] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[347/2752] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[348/2752] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[349/2752] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o
[350/2752] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #8:
OS: RHEL83-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
gcc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c: In function ‘set_freq_internal’:
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:82:2: error: nested extern declaration of ‘POWER_DEBUG_TRACE’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_set_governor_userspace’:
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function ‘power_set_governor’; did you mean ‘timer_getoverrun’? [-Werror=implicit-function-declaration]
  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
         ^~~~~~~~~~~~~~~~~~
         timer_getoverrun
../lib/power/power_cppc_cpufreq.c:108:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function ‘open_core_sysfs_file’; did you mean ‘rte_lcore_has_role’? [-Werror=implicit-function-declaration]
  open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
  ^~~~~~~~~~~~~~~~~~~~
  rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:119:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function ‘FOPEN_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPEN_OR_ERR_GOTO(f_max, err);
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:121:2: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:27: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f_max, err);
                           ^~~
                           errno
../lib/power/power_cppc_cpufreq.c:121:27: note: each undeclared identifier is reported only once for each function it appears in
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_u32(f_max, &highest_perf);
        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:131:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function ‘FOPS_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPS_OR_ERR_GOTO(ret, err);
  ^~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  FOPEN_OR_ERR_GOTO(f_max, out);
                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f, err);
                       ^~~
                       errno
../lib/power/power_cppc_cpufreq.c:247:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_s(f, buf, sizeof(buf));
        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
cc1: all warnings being treated as errors
[336/2753] Generating symbol file lib/librte_kni.so.21.2.p/librte_kni.so.21.2.symbols
[337/2753] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[338/2753] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[339/2753] Generating symbol file lib/librte_lpm.so.21.2.p/librte_lpm.so.21.2.symbols
[340/2753] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[341/2753] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[342/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[343/2753] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[344/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #9:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
clang -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
        ^
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function 'power_set_governor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
               ^
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
        ^
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function 'FOPEN_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPEN_OR_ERR_GOTO(f_max, err);
        ^
../lib/power/power_cppc_cpufreq.c:121:27: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_max, err);
                                 ^
../lib/power/power_cppc_cpufreq.c:125:27: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_nom, err);
                                 ^
../lib/power/power_cppc_cpufreq.c:129:28: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_cmax, err);
                                  ^
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function 'read_core_sysfs_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_u32(f_max, &highest_perf);
              ^
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function 'FOPS_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPS_OR_ERR_GOTO(ret, err);
        ^
../lib/power/power_cppc_cpufreq.c:132:2: note: did you mean 'FOPEN_OR_ERR_GOTO'?
../lib/power/power_cppc_cpufreq.c:121:2: note: 'FOPEN_OR_ERR_GOTO' declared here
        FOPEN_OR_ERR_GOTO(f_max, err);
        ^
../lib/power/power_cppc_cpufreq.c:132:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:135:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:138:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:148:3: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                POWER_DEBUG_TRACE("Lcore %u can do Turbo Boost! highest perf %u, "
                ^
../lib/power/power_cppc_cpufreq.c:154:3: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                POWER_DEBUG_TRACE("Lcore %u Turbo not available! highest perf %u, "
                ^
../lib/power/power_cppc_cpufreq.c:182:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(POWER_SYSFILE_SCALING_MAX_FREQ, pi->lcore_id, "r",
        ^
../lib/power/power_cppc_cpufreq.c:184:2: error: implicit declaration of function 'FOPEN_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPEN_OR_ERR_GOTO(f_max, out);
        ^
../lib/power/power_cppc_cpufreq.c:184:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_max, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:188:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_min, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:190:8: error: implicit declaration of function 'read_core_sysfs_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_u32(f_max, &scaling_max_freq);
              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[339/2713] Generating symbol file lib/librte_lpm.so.21.2.p/librte_lpm.so.21.2.symbols
[340/2713] Generating rte_regexdev_def with a custom command
[341/2713] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[342/2713] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[343/2713] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[344/2713] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[345/2713] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[346/2713] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[347/2713] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #10:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
gcc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c: In function ‘set_freq_internal’:
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:82:2: error: nested extern declaration of ‘POWER_DEBUG_TRACE’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_set_governor_userspace’:
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function ‘power_set_governor’; did you mean ‘timer_getoverrun’? [-Werror=implicit-function-declaration]
  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
         ^~~~~~~~~~~~~~~~~~
         timer_getoverrun
../lib/power/power_cppc_cpufreq.c:108:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function ‘open_core_sysfs_file’; did you mean ‘rte_lcore_has_role’? [-Werror=implicit-function-declaration]
  open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
  ^~~~~~~~~~~~~~~~~~~~
  rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:119:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function ‘FOPEN_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPEN_OR_ERR_GOTO(f_max, err);
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:121:2: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:27: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f_max, err);
                           ^~~
                           errno
../lib/power/power_cppc_cpufreq.c:121:27: note: each undeclared identifier is reported only once for each function it appears in
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_u32(f_max, &highest_perf);
        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:131:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function ‘FOPS_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPS_OR_ERR_GOTO(ret, err);
  ^~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  FOPEN_OR_ERR_GOTO(f_max, out);
                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f, err);
                       ^~~
                       errno
../lib/power/power_cppc_cpufreq.c:247:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_s(f, buf, sizeof(buf));
        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
cc1: all warnings being treated as errors
[331/2682] Generating rte_rawdev_mingw with a custom command
[332/2682] Generating rte_regexdev_def with a custom command
[333/2682] Generating symbol file lib/librte_lpm.so.21.2.p/librte_lpm.so.21.2.symbols
[334/2682] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[335/2682] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[336/2682] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[337/2682] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
ninja: build stopped




*Build Failed #11:
OS: CentOsStream8-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
gcc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c: In function ‘set_freq_internal’:
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:82:2: error: nested extern declaration of ‘POWER_DEBUG_TRACE’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_set_governor_userspace’:
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function ‘power_set_governor’; did you mean ‘timer_getoverrun’? [-Werror=implicit-function-declaration]
  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
         ^~~~~~~~~~~~~~~~~~
         timer_getoverrun
../lib/power/power_cppc_cpufreq.c:108:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function ‘open_core_sysfs_file’; did you mean ‘rte_lcore_has_role’? [-Werror=implicit-function-declaration]
  open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
  ^~~~~~~~~~~~~~~~~~~~
  rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:119:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function ‘FOPEN_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPEN_OR_ERR_GOTO(f_max, err);
  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:121:2: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:27: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f_max, err);
                           ^~~
                           errno
../lib/power/power_cppc_cpufreq.c:121:27: note: each undeclared identifier is reported only once for each function it appears in
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_u32(f_max, &highest_perf);
        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:131:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function ‘FOPS_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  FOPS_OR_ERR_GOTO(ret, err);
  ^~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  FOPEN_OR_ERR_GOTO(f_max, out);
                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function); did you mean ‘errno’?
  FOPEN_OR_ERR_GOTO(f, err);
                       ^~~
                       errno
../lib/power/power_cppc_cpufreq.c:247:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  ret = read_core_sysfs_s(f, buf, sizeof(buf));
        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
 err:
 ^~~
cc1: all warnings being treated as errors
[333/2743] Linking target lib/librte_lpm.so.21.2
[334/2743] Generating rte_rib_def with a custom command
[335/2743] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[336/2743] Generating symbol file lib/librte_eventdev.so.21.2.p/librte_eventdev.so.21.2.symbols
[337/2743] Generating symbol file lib/librte_kni.so.21.2.p/librte_kni.so.21.2.symbols
[338/2743] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[339/2743] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[340/2743] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[341/2743] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[342/2743] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[343/2743] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #12:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
gcc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c: In function ‘set_freq_internal’:
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
   82 |  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:82:2: error: nested extern declaration of ‘POWER_DEBUG_TRACE’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_set_governor_userspace’:
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function ‘power_set_governor’ [-Werror=implicit-function-declaration]
  108 |  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
      |         ^~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:108:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function ‘open_core_sysfs_file’ [-Werror=implicit-function-declaration]
  119 |  open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
      |  ^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:119:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function ‘FOPEN_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  121 |  FOPEN_OR_ERR_GOTO(f_max, err);
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:121:2: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:27: error: ‘err’ undeclared (first use in this function)
  121 |  FOPEN_OR_ERR_GOTO(f_max, err);
      |                           ^~~
../lib/power/power_cppc_cpufreq.c:121:27: note: each undeclared identifier is reported only once for each function it appears in
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  131 |  ret = read_core_sysfs_u32(f_max, &highest_perf);
      |        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:131:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function ‘FOPS_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  132 |  FOPS_OR_ERR_GOTO(ret, err);
      |  ^~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
  159 | err:
      | ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  184 |  FOPEN_OR_ERR_GOTO(f_max, out);
      |                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function)
  245 |  FOPEN_OR_ERR_GOTO(f, err);
      |                       ^~~
../lib/power/power_cppc_cpufreq.c:247:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  247 |  ret = read_core_sysfs_s(f, buf, sizeof(buf));
      |        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
  269 | err:
      | ^~~
cc1: all warnings being treated as errors
[326/2248] Generating rte_rib_mingw with a custom command
[327/2248] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[328/2248] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[329/2248] Generating symbol file lib/librte_lpm.so.21.2.p/librte_lpm.so.21.2.symbols
[330/2248] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[331/2248] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[332/2248] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[333/2248] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[334/2248] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #13:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
clang -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
        ^
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function 'power_set_governor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
               ^
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
        ^
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function 'FOPEN_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPEN_OR_ERR_GOTO(f_max, err);
        ^
../lib/power/power_cppc_cpufreq.c:121:27: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_max, err);
                                 ^
../lib/power/power_cppc_cpufreq.c:125:27: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_nom, err);
                                 ^
../lib/power/power_cppc_cpufreq.c:129:28: error: use of undeclared identifier 'err'
        FOPEN_OR_ERR_GOTO(f_cmax, err);
                                  ^
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function 'read_core_sysfs_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_u32(f_max, &highest_perf);
              ^
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function 'FOPS_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPS_OR_ERR_GOTO(ret, err);
        ^
../lib/power/power_cppc_cpufreq.c:132:2: note: did you mean 'FOPEN_OR_ERR_GOTO'?
../lib/power/power_cppc_cpufreq.c:121:2: note: 'FOPEN_OR_ERR_GOTO' declared here
        FOPEN_OR_ERR_GOTO(f_max, err);
        ^
../lib/power/power_cppc_cpufreq.c:132:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:135:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:138:24: error: use of undeclared identifier 'err'
        FOPS_OR_ERR_GOTO(ret, err);
                              ^
../lib/power/power_cppc_cpufreq.c:148:3: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                POWER_DEBUG_TRACE("Lcore %u can do Turbo Boost! highest perf %u, "
                ^
../lib/power/power_cppc_cpufreq.c:154:3: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                POWER_DEBUG_TRACE("Lcore %u Turbo not available! highest perf %u, "
                ^
../lib/power/power_cppc_cpufreq.c:182:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(POWER_SYSFILE_SCALING_MAX_FREQ, pi->lcore_id, "r",
        ^
../lib/power/power_cppc_cpufreq.c:184:2: error: implicit declaration of function 'FOPEN_OR_ERR_GOTO' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        FOPEN_OR_ERR_GOTO(f_max, out);
        ^
../lib/power/power_cppc_cpufreq.c:184:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_max, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:188:27: error: use of undeclared identifier 'out'
        FOPEN_OR_ERR_GOTO(f_min, out);
                                 ^
../lib/power/power_cppc_cpufreq.c:190:8: error: implicit declaration of function 'read_core_sysfs_u32' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_u32(f_max, &scaling_max_freq);
              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[342/2740] Generating rte_reorder_mingw with a custom command
[343/2740] Generating symbol file lib/librte_lpm.so.21.2.p/librte_lpm.so.21.2.symbols
[344/2740] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[345/2740] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[346/2740] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[347/2740] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o
[348/2740] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
[349/2740] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[350/2740] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o
ninja: build stopped




*Build Failed #14:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
gcc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c: In function ‘set_freq_internal’:
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
   82 |  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:82:2: error: nested extern declaration of ‘POWER_DEBUG_TRACE’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_set_governor_userspace’:
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function ‘power_set_governor’ [-Werror=implicit-function-declaration]
  108 |  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
      |         ^~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:108:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function ‘open_core_sysfs_file’ [-Werror=implicit-function-declaration]
  119 |  open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
      |  ^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:119:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function ‘FOPEN_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  121 |  FOPEN_OR_ERR_GOTO(f_max, err);
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:121:2: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:27: error: ‘err’ undeclared (first use in this function)
  121 |  FOPEN_OR_ERR_GOTO(f_max, err);
      |                           ^~~
../lib/power/power_cppc_cpufreq.c:121:27: note: each undeclared identifier is reported only once for each function it appears in
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  131 |  ret = read_core_sysfs_u32(f_max, &highest_perf);
      |        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:131:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function ‘FOPS_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  132 |  FOPS_OR_ERR_GOTO(ret, err);
      |  ^~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
  159 | err:
      | ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  184 |  FOPEN_OR_ERR_GOTO(f_max, out);
      |                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function)
  245 |  FOPEN_OR_ERR_GOTO(f, err);
      |                       ^~~
../lib/power/power_cppc_cpufreq.c:247:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  247 |  ret = read_core_sysfs_s(f, buf, sizeof(buf));
      |        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
  269 | err:
      | ^~~
cc1: all warnings being treated as errors
[331/2740] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[332/2740] Linking static target lib/librte_member.a
[333/2740] Linking target lib/librte_lpm.so.21.2
[334/2740] Generating symbol file lib/librte_kni.so.21.2.p/librte_kni.so.21.2.symbols
[335/2740] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[336/2740] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[337/2740] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[338/2740] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[339/2740] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
ninja: build stopped




*Build Failed #15:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
icc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c(82): error #266: function "POWER_DEBUG_TRACE" declared implicitly
  	POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
  	^

../lib/power/power_cppc_cpufreq.c(108): error #266: function "power_set_governor" declared implicitly
  	return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
  	       ^

../lib/power/power_cppc_cpufreq.c(119): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
  	^

../lib/power/power_cppc_cpufreq.c(121): error #266: function "FOPEN_OR_ERR_GOTO" declared implicitly
  	FOPEN_OR_ERR_GOTO(f_max, err);
  	^

../lib/power/power_cppc_cpufreq.c(121): error: identifier "err" is undefined
  	FOPEN_OR_ERR_GOTO(f_max, err);
  	                         ^

../lib/power/power_cppc_cpufreq.c(131): error #266: function "read_core_sysfs_u32" declared implicitly
  	ret = read_core_sysfs_u32(f_max, &highest_perf);
  	      ^

../lib/power/power_cppc_cpufreq.c(132): error #266: function "FOPS_OR_ERR_GOTO" declared implicitly
  	FOPS_OR_ERR_GOTO(ret, err);
  	^

../lib/power/power_cppc_cpufreq.c(148): error #266: function "POWER_DEBUG_TRACE" declared implicitly
  		POWER_DEBUG_TRACE("Lcore %u can do Turbo Boost! highest perf %u, "
  		^

../lib/power/power_cppc_cpufreq.c(154): error #266: function "POWER_DEBUG_TRACE" declared implicitly
  		POWER_DEBUG_TRACE("Lcore %u Turbo not available! highest perf %u, "
  		^

../lib/power/power_cppc_cpufreq.c(159): error #177: label "err" was declared but never referenced
  err:
  ^

../lib/power/power_cppc_cpufreq.c(182): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(POWER_SYSFILE_SCALING_MAX_FREQ, pi->lcore_id, "r",
  	^

../lib/power/power_cppc_cpufreq.c(184): error #266: function "FOPEN_OR_ERR_GOTO" declared implicitly
  	FOPEN_OR_ERR_GOTO(f_max, out);
  	^

../lib/power/power_cppc_cpufreq.c(184): error: identifier "out" is undefined
  	FOPEN_OR_ERR_GOTO(f_max, out);
  	                         ^

../lib/power/power_cppc_cpufreq.c(190): error #266: function "read_core_sysfs_u32" declared implicitly
  	ret = read_core_sysfs_u32(f_max, &scaling_max_freq);
  	      ^

../lib/power/power_cppc_cpufreq.c(191): error #266: function "FOPS_OR_ERR_GOTO" declared implicitly
  	FOPS_OR_ERR_GOTO(ret, out);
  	^

../lib/power/power_cppc_cpufreq.c(220): error #266: function "POWER_DEBUG_TRACE" declared implicitly
  	POWER_DEBUG_TRACE("%d frequency(s) of lcore %u are available\n",
  	^

../lib/power/power_cppc_cpufreq.c(243): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(POWER_SYSFILE_SETSPEED, pi->lcore_id, "rw+",
  	^

../lib/power/power_cppc_cpufreq.c(245): error #266: function "FOPEN_OR_ERR_GOTO" declared implicitly
  	FOPEN_OR_ERR_GOTO(f, err);
  	^

../lib/power/power_cppc_cpufreq.c(245): error: identifier "err" is undefined
  	FOPEN_OR_ERR_GOTO(f, err);
  	                     ^

../lib/power/power_cppc_cpufreq.c(247): error #266: function "read_core_sysfs_s" declared implicitly
  	ret = read_core_sysfs_s(f, buf, sizeof(buf));
  	      ^

../lib/power/power_cppc_cpufreq.c(248): error #266: function "FOPS_OR_ERR_GOTO" declared implicitly
  	FOPS_OR_ERR_GOTO(ret, err);
  	^

../lib/power/power_cppc_cpufreq.c(269): error #177: label "err" was declared but never referenced
  err:
  ^

../lib/power/power_cppc_cpufreq.c(358): error #266: function "power_set_governor" declared implicitly
  	return power_set_governor(pi->lcore_id, pi->governor_ori, NULL, 0);
  	       ^

compilation aborted for ../lib/power/power_cppc_cpufreq.c (code 2)
[309/2693] Generating rte_pdump_mingw with a custom command
[310/2693] Compiling C object lib/librte_power.a.p/power_rte_power_empty_poll.c.o
[311/2693] Generating symbol file lib/librte_lpm.so.21.2.p/librte_lpm.so.21.2.symbols
[312/2693] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[313/2693] Compiling C object lib/librte_kni.a.p/kni_rte_kni.c.o
[314/2693] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[315/2693] Linking target lib/librte_member.so.21.2
[316/2693] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[317/2693] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o
ninja: build stopped




*Build Failed #16:
OS: UB2104-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_power.a.p/power_power_cppc_cpufreq.c.o 
gcc -Ilib/librte_power.a.p -Ilib -I../lib -Ilib/power -I../lib/power -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -MF lib/librte_power.a.p/power_power_cppc_cpufreq.c.o.d -o lib/librte_power.a.p/power_power_cppc_cpufreq.c.o -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c: In function ‘set_freq_internal’:
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
   82 |  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:82:2: error: nested extern declaration of ‘POWER_DEBUG_TRACE’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_set_governor_userspace’:
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function ‘power_set_governor’ [-Werror=implicit-function-declaration]
  108 |  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
      |         ^~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:108:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function ‘open_core_sysfs_file’ [-Werror=implicit-function-declaration]
  119 |  open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
      |  ^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:119:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function ‘FOPEN_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  121 |  FOPEN_OR_ERR_GOTO(f_max, err);
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:121:2: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:27: error: ‘err’ undeclared (first use in this function)
  121 |  FOPEN_OR_ERR_GOTO(f_max, err);
      |                           ^~~
../lib/power/power_cppc_cpufreq.c:121:27: note: each undeclared identifier is reported only once for each function it appears in
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  131 |  ret = read_core_sysfs_u32(f_max, &highest_perf);
      |        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:131:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function ‘FOPS_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  132 |  FOPS_OR_ERR_GOTO(ret, err);
      |  ^~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
  159 | err:
      | ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  184 |  FOPEN_OR_ERR_GOTO(f_max, out);
      |                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function)
  245 |  FOPEN_OR_ERR_GOTO(f, err);
      |                       ^~~
../lib/power/power_cppc_cpufreq.c:247:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  247 |  ret = read_core_sysfs_s(f, buf, sizeof(buf));
      |        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
  269 | err:
      | ^~~
cc1: all warnings being treated as errors
[335/2753] Linking static target lib/librte_lpm.a
[336/2753] Linking target lib/librte_lpm.so.21.2
[337/2753] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[338/2753] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[339/2753] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[340/2753] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[341/2753] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[342/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[343/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #17:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: lib/76b5a35@@rte_power at sta/power_power_cppc_cpufreq.c.o 
gcc -Ilib/76b5a35@@rte_power at sta -Ilib -I../lib -Ilib/power -I../lib/power -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/timer -I../lib/timer -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.power -MD -MQ 'lib/76b5a35@@rte_power at sta/power_power_cppc_cpufreq.c.o' -MF 'lib/76b5a35@@rte_power at sta/power_power_cppc_cpufreq.c.o.d' -o 'lib/76b5a35@@rte_power at sta/power_power_cppc_cpufreq.c.o' -c ../lib/power/power_cppc_cpufreq.c
../lib/power/power_cppc_cpufreq.c: In function ‘set_freq_internal’:
../lib/power/power_cppc_cpufreq.c:82:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
   82 |  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:82:2: error: nested extern declaration of ‘POWER_DEBUG_TRACE’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_set_governor_userspace’:
../lib/power/power_cppc_cpufreq.c:108:9: error: implicit declaration of function ‘power_set_governor’ [-Werror=implicit-function-declaration]
  108 |  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
      |         ^~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:108:9: error: nested extern declaration of ‘power_set_governor’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_check_turbo’:
../lib/power/power_cppc_cpufreq.c:119:2: error: implicit declaration of function ‘open_core_sysfs_file’ [-Werror=implicit-function-declaration]
  119 |  open_core_sysfs_file(POWER_SYSFILE_HIGHEST_PERF, pi->lcore_id, "r",
      |  ^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:119:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:2: error: implicit declaration of function ‘FOPEN_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  121 |  FOPEN_OR_ERR_GOTO(f_max, err);
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:121:2: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:121:27: error: ‘err’ undeclared (first use in this function)
  121 |  FOPEN_OR_ERR_GOTO(f_max, err);
      |                           ^~~
../lib/power/power_cppc_cpufreq.c:121:27: note: each undeclared identifier is reported only once for each function it appears in
../lib/power/power_cppc_cpufreq.c:131:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  131 |  ret = read_core_sysfs_u32(f_max, &highest_perf);
      |        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:131:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:132:2: error: implicit declaration of function ‘FOPS_OR_ERR_GOTO’ [-Werror=implicit-function-declaration]
  132 |  FOPS_OR_ERR_GOTO(ret, err);
      |  ^~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:132:2: error: nested extern declaration of ‘FOPS_OR_ERR_GOTO’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:159:1: error: label ‘err’ defined but not used [-Werror=unused-label]
  159 | err:
      | ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_get_available_freqs’:
../lib/power/power_cppc_cpufreq.c:184:27: error: ‘out’ undeclared (first use in this function)
  184 |  FOPEN_OR_ERR_GOTO(f_max, out);
      |                           ^~~
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:245:23: error: ‘err’ undeclared (first use in this function)
  245 |  FOPEN_OR_ERR_GOTO(f, err);
      |                       ^~~
../lib/power/power_cppc_cpufreq.c:247:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  247 |  ret = read_core_sysfs_s(f, buf, sizeof(buf));
      |        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:247:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:269:1: error: label ‘err’ defined but not used [-Werror=unused-label]
  269 | err:
      | ^~~
cc1: all warnings being treated as errors
[336/2502] Compiling C object 'lib/76b5a35@@rte_member at sta/member_rte_member_ht.c.o'.
[337/2502] Compiling C object 'lib/76b5a35@@rte_power at sta/power_rte_power_pmd_mgmt.c.o'.
[338/2502] Generating symbol file 'lib/76b5a35@@rte_lpm at sha/librte_lpm.so.21.2.symbols'.
[339/2502] Compiling C object 'lib/76b5a35@@rte_power at sta/power_power_pstate_cpufreq.c.o'.
[340/2502] Compiling C object 'lib/76b5a35@@rte_regexdev at sta/regexdev_rte_regexdev.c.o'.
[341/2502] Compiling C object 'lib/76b5a35@@rte_rawdev at sta/rawdev_rte_rawdev.c.o'.
[342/2502] Compiling C object 'lib/76b5a35@@rte_rib at sta/rib_rte_rib.c.o'.
[343/2502] Compiling C object 'lib/76b5a35@@rte_pdump at sta/pdump_rte_pdump.c.o'.
[344/2502] Compiling C object 'lib/76b5a35@@rte_rib at sta/rib_rte_rib6.c.o'.
ninja: build stopped


DPDK STV team


More information about the test-report mailing list