Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/94695 _Compilation issues_ Submitter: Richael Zhuang Date: 2021-06-23 03:55:41 Reply_mail: 20210623035541.50543-3-richael.zhuang@arm.com DPDK git baseline: Repo:dpdk, CommitID: 7972110e59397f05eae31d1406efd0afa22bbbf3 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 | | | | | | | FC34-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: FC34-64 Kernel Version: 5.11.15-300.fc34.x86_64 GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34) 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 [334/2751] Generating rte_reorder_def with a custom command [335/2751] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o [336/2751] Generating symbol file lib/librte_eventdev.so.21.3.p/librte_eventdev.so.21.3.symbols [337/2751] Generating symbol file lib/librte_kni.so.21.3.p/librte_kni.so.21.3.symbols [338/2751] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [339/2751] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [340/2751] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [341/2751] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [342/2751] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [343/2751] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o [344/2751] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.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. [338/2754] Compiling C object lib/librte_power.a.p/power_power_acpi_cpufreq.c.o [339/2754] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o [340/2754] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [341/2754] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o [342/2754] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [343/2754] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [344/2754] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [345/2754] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o [346/2754] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.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) [324/2751] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [325/2751] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [326/2751] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [327/2751] Compiling C object lib/librte_sched.a.p/sched_rte_approx.c.o [328/2751] Compiling C object lib/librte_sched.a.p/sched_rte_red.c.o [329/2751] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [330/2751] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o [331/2751] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [332/2751] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o [333/2751] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o [334/2751] 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 [346/2586] Generating rte_reorder_def with a custom command [347/2586] Generating symbol file lib/librte_eventdev.so.21.3.p/librte_eventdev.so.21.3.symbols [348/2586] Generating rte_reorder_mingw with a custom command [349/2586] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o [350/2586] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [351/2586] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [352/2586] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [353/2586] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o [354/2586] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [355/2586] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [356/2586] 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 [335/2754] Generating rte_regexdev_mingw with a custom command [336/2754] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o [337/2754] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o [338/2754] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o [339/2754] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [340/2754] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [341/2754] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [342/2754] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [343/2754] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o ninja: build stopped *Build Failed #6: 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 [334/2754] Generating rte_regexdev_mingw with a custom command [335/2754] Generating rte_regexdev_def with a custom command [336/2754] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o [337/2754] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o [338/2754] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o [339/2754] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [340/2754] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [341/2754] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [342/2754] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o ninja: build stopped *Build Failed #7: 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. [344/2714] Generating rte_reorder_mingw with a custom command [345/2714] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o [346/2714] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [347/2714] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o [348/2714] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [349/2714] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [350/2714] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [351/2714] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [352/2714] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o ninja: build stopped *Build Failed #8: 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 [338/2683] Generating rte_rib_mingw with a custom command [339/2683] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [340/2683] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [341/2683] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [342/2683] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [343/2683] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [344/2683] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o ninja: build stopped *Build Failed #9: 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 [341/2744] Compiling C object lib/librte_sched.a.p/sched_rte_red.c.o [342/2744] Compiling C object lib/librte_sched.a.p/sched_rte_approx.c.o [343/2744] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [344/2744] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [345/2744] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o [346/2744] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [347/2744] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [348/2744] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [349/2744] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o [350/2744] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o [351/2744] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o ninja: build stopped *Build Failed #10: 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 [328/2249] Generating rte_rib_mingw with a custom command [329/2249] Generating rte_reorder_def with a custom command [330/2249] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [331/2249] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [332/2249] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [333/2249] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [334/2249] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o [335/2249] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [336/2249] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o ninja: build stopped *Build Failed #11: 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. [340/2741] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [341/2741] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o [342/2741] Generating rte_reorder_def with a custom command [343/2741] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [344/2741] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [345/2741] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [346/2741] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o [347/2741] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o [348/2741] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o ninja: build stopped *Build Failed #12: 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 [337/2741] Generating rte_rib_def with a custom command [338/2741] Generating rte_rib_mingw with a custom command [339/2741] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [340/2741] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [341/2741] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [342/2741] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [343/2741] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [344/2741] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o [345/2741] 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-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) [311/2694] Generating rte_rawdev_def with a custom command [312/2694] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o [313/2694] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o [314/2694] Linking target lib/librte_member.so.21.3 [315/2694] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [316/2694] Compiling C object lib/librte_kni.a.p/kni_rte_kni.c.o [317/2694] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [318/2694] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [319/2694] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o ninja: build stopped *Build Failed #14: 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 [332/2754] Generating rte_regexdev_mingw with a custom command [333/2754] Compiling C object lib/librte_lpm.a.p/lpm_rte_lpm6.c.o [334/2754] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o [335/2754] Generating symbol file lib/librte_kni.so.21.3.p/librte_kni.so.21.3.symbols [336/2754] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o [337/2754] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [338/2754] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [339/2754] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [340/2754] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o ninja: build stopped *Build Failed #15: OS: UB2004-64 Target: x86_64-native-linuxapp-doc FAILED: lib/76b5a35@@rte_power@sta/power_power_cppc_cpufreq.c.o gcc -Ilib/76b5a35@@rte_power@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@sta/power_power_cppc_cpufreq.c.o' -MF 'lib/76b5a35@@rte_power@sta/power_power_cppc_cpufreq.c.o.d' -o 'lib/76b5a35@@rte_power@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/2503] Compiling C object 'lib/76b5a35@@rte_member@sta/member_rte_member_ht.c.o'. [337/2503] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_pmd_mgmt.c.o'. [338/2503] Compiling C object 'lib/76b5a35@@rte_power@sta/power_power_pstate_cpufreq.c.o'. [339/2503] Generating symbol file 'lib/76b5a35@@rte_lpm@sha/librte_lpm.so.21.3.symbols'. [340/2503] Compiling C object 'lib/76b5a35@@rte_rawdev@sta/rawdev_rte_rawdev.c.o'. [341/2503] Compiling C object 'lib/76b5a35@@rte_regexdev@sta/regexdev_rte_regexdev.c.o'. [342/2503] Compiling C object 'lib/76b5a35@@rte_rib@sta/rib_rte_rib.c.o'. [343/2503] Compiling C object 'lib/76b5a35@@rte_pdump@sta/pdump_rte_pdump.c.o'. [344/2503] Compiling C object 'lib/76b5a35@@rte_rib@sta/rib_rte_rib6.c.o'. ninja: build stopped *Build Failed #16: OS: FC34-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:9: 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:9: 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:16: 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:16: 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:9: 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:9: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs] ../lib/power/power_cppc_cpufreq.c:121:9: 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:9: error: nested extern declaration of ‘FOPEN_OR_ERR_GOTO’ [-Werror=nested-externs] ../lib/power/power_cppc_cpufreq.c:121:34: error: ‘err’ undeclared (first use in this function) 121 | FOPEN_OR_ERR_GOTO(f_max, err); | ^~~ ../lib/power/power_cppc_cpufreq.c:121:34: note: each undeclared identifier is reported only once for each function it appears in ../lib/power/power_cppc_cpufreq.c:131:15: 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:15: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs] ../lib/power/power_cppc_cpufreq.c:132:9: 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:9: 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:34: 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:30: error: ‘err’ undeclared (first use in this function) 245 | FOPEN_OR_ERR_GOTO(f, err); | ^~~ ../lib/power/power_cppc_cpufreq.c:247:15: 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:15: 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 [342/2753] Compiling C object lib/librte_sched.a.p/sched_rte_red.c.o [343/2753] Compiling C object lib/librte_sched.a.p/sched_rte_approx.c.o [344/2753] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [345/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [346/2753] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [347/2753] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o [348/2753] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols [349/2753] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o [350/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o [351/2753] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o [352/2753] Compiling C object lib/librte_sched.a.p/sched_rte_sched.c.o ninja: build stopped *Build Failed #17: OS: FC34-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. [343/2753] Generating rte_reorder_def with a custom command [344/2753] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o [345/2753] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o [346/2753] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o [347/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o [348/2753] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o [349/2753] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o [350/2753] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o [351/2753] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o ninja: build stopped DPDK STV team