automatic DPDK test reports
 help / color / mirror / Atom feed
From: sys_stv@intel.com
To: test-report@dpdk.org
Subject: [dpdk-test-report] |FAILURE| pw(95602) sid(17738) [v8, 2/2] test/power: round cpuinfo cur freq only in CPPC cpufreq
Date: 09 Jul 2021 05:26:14 -0700	[thread overview]
Message-ID: <fa9a2a$ehdetj@fmsmga003-auth.fm.intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 82965 bytes --]


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

_Compilation issues_

Submitter: Richael Zhuang <richael.zhuang@arm.com>
Date: 2021-07-09 10:55:48
Reply_mail: 20210709105548.8389-3-richael.zhuang@arm.com

DPDK git baseline: Repo:dpdk, CommitID: 02edbfab1e7d3dd573192428e37b813dd719f215


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       | fail         | fail       | fail       | fail      |          |
| FC34-64        | fail       | fail         |            |            |           |          |
| UB2104-64      | fail       |              |            |            |           |          |
| WIN10-64       |            | pass         |            |            |           |          |
| UB2004-32      | fail       |              |            |            |           |          |
| CENTOS83-64    | 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-305.3.1.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-1.module_el8.4.0+587+5187cac0)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug
	x86_64-native-linuxapp-icc

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: 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

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:83: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:83: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:109: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:109: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:120: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(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
  ^~~~~~~~~~~~~~~~~~~~
  rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144: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:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:291: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:291:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[337/2843] Generating symbol file lib/librte_kni.so.21.3.p/librte_kni.so.21.3.symbols
[338/2843] Generating rte_reorder_def with a custom command
[339/2843] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[340/2843] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[341/2843] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[342/2843] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[343/2843] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols
[344/2843] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[345/2843] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[346/2843] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o
[347/2843] 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:83: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:109: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:120:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
        ^
../lib/power/power_cppc_cpufreq.c:144: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:173: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:179: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:207:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_SCALING_MAX_FREQ,
        ^
../lib/power/power_cppc_cpufreq.c:223: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);
              ^
../lib/power/power_cppc_cpufreq.c:261:2: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        POWER_DEBUG_TRACE("%d frequency(s) of lcore %u are available\n",
        ^
../lib/power/power_cppc_cpufreq.c:284:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f, "rw+", POWER_SYSFILE_SETSPEED, pi->lcore_id);
        ^
../lib/power/power_cppc_cpufreq.c:291:8: error: implicit declaration of function 'read_core_sysfs_s' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_s(f, buf, sizeof(buf));
              ^
../lib/power/power_cppc_cpufreq.c:406:9: error: implicit declaration of function 'power_set_governor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return power_set_governor(pi->lcore_id, pi->governor_ori, NULL, 0);
               ^
12 errors generated.
[337/2846] Generating rte_regexdev_def with a custom command
[338/2846] Compiling C object lib/librte_power.a.p/power_power_acpi_cpufreq.c.o
[339/2846] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols
[340/2846] Compiling C object lib/librte_power.a.p/power_rte_power_empty_poll.c.o
[341/2846] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[342/2846] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[343/2846] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[344/2846] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[345/2846] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
ninja: build stopped




*Build Failed #3:
OS: RHEL83-64
Target: x86_64-native-linuxapp-gcc
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-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/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:83: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:83: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:109: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:109: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:120: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(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
  ^~~~~~~~~~~~~~~~~~~~
  rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144: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:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:291: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:291:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[340/2789] Generating rte_rib_def with a custom command.
[341/2789] Compiling C object 'lib/76b5a35@@rte_power@sta/power_power_pstate_cpufreq.c.o'.
[342/2789] Generating symbol file 'lib/76b5a35@@rte_lpm@sha/librte_lpm.so.21.3.symbols'.
[343/2789] Linking target lib/librte_member.so.21.3.
[344/2789] Compiling C object 'lib/76b5a35@@rte_rawdev@sta/rawdev_rte_rawdev.c.o'.
[345/2789] Compiling C object 'lib/76b5a35@@rte_regexdev@sta/regexdev_rte_regexdev.c.o'.
[346/2789] Compiling C object 'lib/76b5a35@@rte_pdump@sta/pdump_rte_pdump.c.o'.
[347/2789] Compiling C object 'lib/76b5a35@@rte_rib@sta/rib_rte_rib.c.o'.
[348/2789] Compiling C object 'lib/76b5a35@@rte_rib@sta/rib_rte_rib6.c.o'.
ninja: build stopped




*Build Failed #4:
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:83: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:109: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:120:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
        ^
../lib/power/power_cppc_cpufreq.c:144: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:173: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:179: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:207:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_SCALING_MAX_FREQ,
        ^
../lib/power/power_cppc_cpufreq.c:223: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);
              ^
../lib/power/power_cppc_cpufreq.c:261:2: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        POWER_DEBUG_TRACE("%d frequency(s) of lcore %u are available\n",
        ^
../lib/power/power_cppc_cpufreq.c:284:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f, "rw+", POWER_SYSFILE_SETSPEED, pi->lcore_id);
        ^
../lib/power/power_cppc_cpufreq.c:291:8: error: implicit declaration of function 'read_core_sysfs_s' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_s(f, buf, sizeof(buf));
              ^
../lib/power/power_cppc_cpufreq.c:406:9: error: implicit declaration of function 'power_set_governor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return power_set_governor(pi->lcore_id, pi->governor_ori, NULL, 0);
               ^
12 errors generated.
[339/2806] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[340/2806] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols
[341/2806] Generating symbol file lib/librte_kni.so.21.3.p/librte_kni.so.21.3.symbols
[342/2806] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[343/2806] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[344/2806] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[345/2806] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[346/2806] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[347/2806] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #5:
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:83: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:83: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:109: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:109: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:120: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(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
  ^~~~~~~~~~~~~~~~~~~~
  rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144: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:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:291: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:291:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[339/2775] Generating rte_regexdev_mingw with a custom command
[340/2775] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[341/2775] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[342/2775] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[343/2775] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[344/2775] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[345/2775] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #6:
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:83:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
   83 |  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:83: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:109:9: error: implicit declaration of function ‘power_set_governor’ [-Werror=implicit-function-declaration]
  109 |  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
      |         ^~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:109: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:120:2: error: implicit declaration of function ‘open_core_sysfs_file’ [-Werror=implicit-function-declaration]
  120 |  open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
      |  ^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  144 |  ret = read_core_sysfs_u32(f_max, &highest_perf);
      |        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:291:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  291 |  ret = read_core_sysfs_s(f, buf, sizeof(buf));
      |        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:291:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[323/2265] Linking static target lib/librte_member.a
[324/2265] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[325/2265] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[326/2265] Generating symbol file lib/librte_lpm.so.21.3.p/librte_lpm.so.21.3.symbols
[327/2265] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[328/2265] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[329/2265] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[330/2265] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[331/2265] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #7:
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:83: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:109: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:120:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
        ^
../lib/power/power_cppc_cpufreq.c:144: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:173: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:179: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:207:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_SCALING_MAX_FREQ,
        ^
../lib/power/power_cppc_cpufreq.c:223: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);
              ^
../lib/power/power_cppc_cpufreq.c:261:2: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        POWER_DEBUG_TRACE("%d frequency(s) of lcore %u are available\n",
        ^
../lib/power/power_cppc_cpufreq.c:284:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f, "rw+", POWER_SYSFILE_SETSPEED, pi->lcore_id);
        ^
../lib/power/power_cppc_cpufreq.c:291:8: error: implicit declaration of function 'read_core_sysfs_s' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_s(f, buf, sizeof(buf));
              ^
../lib/power/power_cppc_cpufreq.c:406:9: error: implicit declaration of function 'power_set_governor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return power_set_governor(pi->lcore_id, pi->governor_ori, NULL, 0);
               ^
12 errors generated.
[327/2833] Linking static target lib/librte_lpm.a
[328/2833] Generating rte_rawdev_def with a custom command
[329/2833] Linking target lib/librte_kni.so.21.3
[330/2833] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[331/2833] Compiling C object lib/librte_power.a.p/power_rte_power_empty_poll.c.o
[332/2833] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[333/2833] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[334/2833] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[335/2833] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
ninja: build stopped




*Build Failed #8:
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:83:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
   83 |  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:83: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:109:9: error: implicit declaration of function ‘power_set_governor’ [-Werror=implicit-function-declaration]
  109 |  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
      |         ^~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:109: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:120:2: error: implicit declaration of function ‘open_core_sysfs_file’ [-Werror=implicit-function-declaration]
  120 |  open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
      |  ^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  144 |  ret = read_core_sysfs_u32(f_max, &highest_perf);
      |        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:291:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  291 |  ret = read_core_sysfs_s(f, buf, sizeof(buf));
      |        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:291:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[334/2833] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[335/2833] Linking target lib/librte_lpm.so.21.3
[336/2833] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[337/2833] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[338/2833] Compiling C object drivers/libtmp_rte_mempool_cnxk.a.p/mempool_cnxk_cn9k_mempool_ops.c.o
[339/2833] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[340/2833] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[341/2833] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[342/2833] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
ninja: build stopped




*Build Failed #9:
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(83): 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(109): error #266: function "power_set_governor" declared implicitly
  	return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
  	       ^

../lib/power/power_cppc_cpufreq.c(120): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
  	^

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

../lib/power/power_cppc_cpufreq.c(173): 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(179): 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(207): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_SCALING_MAX_FREQ,
  	^

../lib/power/power_cppc_cpufreq.c(223): 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(261): 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(284): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(&f, "rw+", POWER_SYSFILE_SETSPEED, pi->lcore_id);
  	^

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

../lib/power/power_cppc_cpufreq.c(406): 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)
[293/2786] Compiling C object lib/librte_power.a.p/power_power_kvm_vm.c.o
[294/2786] Compiling C object lib/librte_lpm.a.p/lpm_rte_lpm6.c.o
[295/2786] Linking target lib/librte_hash.so.21.3
[296/2786] Compiling C object lib/librte_member.a.p/member_rte_member_vbf.c.o
[297/2786] Compiling C object lib/librte_power.a.p/power_rte_power.c.o
[298/2786] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[299/2786] Compiling C object lib/librte_power.a.p/power_power_acpi_cpufreq.c.o
[300/2786] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[301/2786] Compiling C object lib/librte_kni.a.p/kni_rte_kni.c.o
[302/2786] Compiling C object lib/librte_eventdev.a.p/eventdev_rte_event_eth_rx_adapter.c.o
[303/2786] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o
ninja: build stopped




*Build Failed #10:
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:83:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
   83 |  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:83: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:109:9: error: implicit declaration of function ‘power_set_governor’ [-Werror=implicit-function-declaration]
  109 |  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
      |         ^~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:109: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:120:2: error: implicit declaration of function ‘open_core_sysfs_file’ [-Werror=implicit-function-declaration]
  120 |  open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
      |  ^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  144 |  ret = read_core_sysfs_u32(f_max, &highest_perf);
      |        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:291:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  291 |  ret = read_core_sysfs_s(f, buf, sizeof(buf));
      |        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:291:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[334/2846] Linking target lib/librte_lpm.so.21.3
[335/2846] Generating symbol file lib/librte_kni.so.21.3.p/librte_kni.so.21.3.symbols
[336/2846] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[337/2846] Linking target lib/librte_member.so.21.3
[338/2846] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[339/2846] Compiling C object drivers/libtmp_rte_mempool_cnxk.a.p/mempool_cnxk_cn9k_mempool_ops.c.o
[340/2846] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[341/2846] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[342/2846] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
ninja: build stopped




*Build Failed #11:
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:83:2: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
   83 |  POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
      |  ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:83: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:109:9: error: implicit declaration of function ‘power_set_governor’ [-Werror=implicit-function-declaration]
  109 |  return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
      |         ^~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:109: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:120:2: error: implicit declaration of function ‘open_core_sysfs_file’ [-Werror=implicit-function-declaration]
  120 |  open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
      |  ^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144:8: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  144 |  ret = read_core_sysfs_u32(f_max, &highest_perf);
      |        ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:291:8: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  291 |  ret = read_core_sysfs_s(f, buf, sizeof(buf));
      |        ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:291:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[335/2595] Linking static target lib/librte_member.a.
[336/2595] Generating symbol file 'lib/76b5a35@@rte_lpm@sha/librte_lpm.so.21.3.symbols'.
[337/2595] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_pmd_mgmt.c.o'.
[338/2595] Compiling C object 'lib/76b5a35@@rte_power@sta/power_power_pstate_cpufreq.c.o'.
[339/2595] Compiling C object 'drivers/a715181@@tmp_rte_mempool_cnxk@sta/mempool_cnxk_cnxk_mempool_ops.c.o'.
[340/2595] Compiling C object 'lib/76b5a35@@rte_rawdev@sta/rawdev_rte_rawdev.c.o'.
[341/2595] Compiling C object 'drivers/a715181@@tmp_rte_mempool_cnxk@sta/mempool_cnxk_cn9k_mempool_ops.c.o'.
[342/2595] Compiling C object 'lib/76b5a35@@rte_pdump@sta/pdump_rte_pdump.c.o'.
[343/2595] Compiling C object 'lib/76b5a35@@rte_regexdev@sta/regexdev_rte_regexdev.c.o'.
ninja: build stopped




*Build Failed #12:
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:83:9: error: implicit declaration of function ‘POWER_DEBUG_TRACE’ [-Werror=implicit-function-declaration]
   83 |         POWER_DEBUG_TRACE("Frequency[%u] %u to be set for lcore %u\n",
      |         ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:83: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:109:16: error: implicit declaration of function ‘power_set_governor’ [-Werror=implicit-function-declaration]
  109 |         return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
      |                ^~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:109: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:120:9: error: implicit declaration of function ‘open_core_sysfs_file’ [-Werror=implicit-function-declaration]
  120 |         open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
      |         ^~~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:120:9: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144:15: error: implicit declaration of function ‘read_core_sysfs_u32’ [-Werror=implicit-function-declaration]
  144 |         ret = read_core_sysfs_u32(f_max, &highest_perf);
      |               ^~~~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:144:15: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:291:15: error: implicit declaration of function ‘read_core_sysfs_s’ [-Werror=implicit-function-declaration]
  291 |         ret = read_core_sysfs_s(f, buf, sizeof(buf));
      |               ^~~~~~~~~~~~~~~~~
../lib/power/power_cppc_cpufreq.c:291:15: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[336/2845] Compiling C object lib/librte_lpm.a.p/lpm_rte_lpm6.c.o
[337/2845] Generating rte_reorder_def with a custom command
[338/2845] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[339/2845] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[340/2845] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[341/2845] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[342/2845] Compiling C object lib/librte_regexdev.a.p/regexdev_rte_regexdev.c.o
[343/2845] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
[344/2845] Compiling C object lib/librte_rib.a.p/rib_rte_rib.c.o
[345/2845] Compiling C object lib/librte_reorder.a.p/reorder_rte_reorder.c.o
[346/2845] Compiling C object lib/librte_rib.a.p/rib_rte_rib6.c.o
ninja: build stopped




*Build Failed #13:
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:83: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:109: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:120:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
        ^
../lib/power/power_cppc_cpufreq.c:144: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:173: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:179: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:207:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_SCALING_MAX_FREQ,
        ^
../lib/power/power_cppc_cpufreq.c:223: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);
              ^
../lib/power/power_cppc_cpufreq.c:261:2: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        POWER_DEBUG_TRACE("%d frequency(s) of lcore %u are available\n",
        ^
../lib/power/power_cppc_cpufreq.c:284:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f, "rw+", POWER_SYSFILE_SETSPEED, pi->lcore_id);
        ^
../lib/power/power_cppc_cpufreq.c:291:8: error: implicit declaration of function 'read_core_sysfs_s' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_s(f, buf, sizeof(buf));
              ^
../lib/power/power_cppc_cpufreq.c:406:9: error: implicit declaration of function 'power_set_governor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return power_set_governor(pi->lcore_id, pi->governor_ori, NULL, 0);
               ^
12 errors generated.
[330/2845] Linking target lib/librte_member.so.21.3
[331/2845] Generating rte_pdump_mingw with a custom command
[332/2845] Compiling C object lib/librte_lpm.a.p/lpm_rte_lpm6.c.o
[333/2845] Generating symbol file lib/librte_kni.so.21.3.p/librte_kni.so.21.3.symbols
[334/2845] Compiling C object lib/librte_power.a.p/power_rte_power_empty_poll.c.o
[335/2845] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[336/2845] Compiling C object lib/librte_power.a.p/power_rte_power_pmd_mgmt.c.o
[337/2845] Compiling C object lib/librte_rawdev.a.p/rawdev_rte_rawdev.c.o
[338/2845] Compiling C object lib/librte_pdump.a.p/pdump_rte_pdump.c.o
ninja: build stopped




*Build Failed #14:
OS: RHEL83-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/76b5a35@@rte_power@sta/power_power_cppc_cpufreq.c.o 
clang -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 -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/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:83: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:109: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:120:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
        ^
../lib/power/power_cppc_cpufreq.c:144: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:173: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:179: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:207:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_SCALING_MAX_FREQ,
        ^
../lib/power/power_cppc_cpufreq.c:223: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);
              ^
../lib/power/power_cppc_cpufreq.c:261:2: error: implicit declaration of function 'POWER_DEBUG_TRACE' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        POWER_DEBUG_TRACE("%d frequency(s) of lcore %u are available\n",
        ^
../lib/power/power_cppc_cpufreq.c:284:2: error: implicit declaration of function 'open_core_sysfs_file' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        open_core_sysfs_file(&f, "rw+", POWER_SYSFILE_SETSPEED, pi->lcore_id);
        ^
../lib/power/power_cppc_cpufreq.c:291:8: error: implicit declaration of function 'read_core_sysfs_s' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ret = read_core_sysfs_s(f, buf, sizeof(buf));
              ^
../lib/power/power_cppc_cpufreq.c:406:9: error: implicit declaration of function 'power_set_governor' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return power_set_governor(pi->lcore_id, pi->governor_ori, NULL, 0);
               ^
12 errors generated.
[342/2789] Generating symbol file 'lib/76b5a35@@rte_lpm@sha/librte_lpm.so.21.3.symbols'.
[343/2789] Compiling C object 'lib/76b5a35@@rte_power@sta/power_power_pstate_cpufreq.c.o'.
[344/2789] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_pmd_mgmt.c.o'.
[345/2789] Compiling C object 'lib/76b5a35@@rte_rawdev@sta/rawdev_rte_rawdev.c.o'.
[346/2789] Compiling C object 'lib/76b5a35@@rte_rib@sta/rib_rte_rib.c.o'.
[347/2789] Compiling C object 'lib/76b5a35@@rte_reorder@sta/reorder_rte_reorder.c.o'.
[348/2789] Compiling C object 'lib/76b5a35@@rte_regexdev@sta/regexdev_rte_regexdev.c.o'.
[349/2789] Compiling C object 'lib/76b5a35@@rte_rib@sta/rib_rte_rib6.c.o'.
[350/2789] Compiling C object 'lib/76b5a35@@rte_pdump@sta/pdump_rte_pdump.c.o'.
ninja: build stopped




*Build Failed #15:
OS: RHEL83-64
Target: x86_64-native-linuxapp-gcc+shared
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-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/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:83: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:83: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:109: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:109: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:120: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(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
  ^~~~~~~~~~~~~~~~~~~~
  rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144: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:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:291: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:291:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[346/2622] Generating rte_reorder_def with a custom command.
[347/2622] Compiling C object 'lib/76b5a35@@rte_power@sta/power_power_pstate_cpufreq.c.o'.
[348/2622] Compiling C object 'lib/76b5a35@@rte_member@sta/member_rte_member_ht.c.o'.
[349/2622] Generating symbol file 'lib/76b5a35@@rte_lpm@sha/librte_lpm.so.21.3.symbols'.
[350/2622] Compiling C object 'lib/76b5a35@@rte_rawdev@sta/rawdev_rte_rawdev.c.o'.
[351/2622] Generating symbol file 'lib/76b5a35@@rte_eventdev@sha/librte_eventdev.so.21.3.symbols'.
[352/2622] Compiling C object 'lib/76b5a35@@rte_regexdev@sta/regexdev_rte_regexdev.c.o'.
[353/2622] Compiling C object 'lib/76b5a35@@rte_pdump@sta/pdump_rte_pdump.c.o'.
[354/2622] Compiling C object 'lib/76b5a35@@rte_rib@sta/rib_rte_rib.c.o'.
[355/2622] Compiling C object 'lib/76b5a35@@rte_reorder@sta/reorder_rte_reorder.c.o'.
[356/2622] Compiling C object 'lib/76b5a35@@rte_rib@sta/rib_rte_rib6.c.o'.
ninja: build stopped




*Build Failed #16:
OS: RHEL83-64
Target: x86_64-native-linuxapp-gcc+debug
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 -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/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:83: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:83: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:109: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:109: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:120: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(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
  ^~~~~~~~~~~~~~~~~~~~
  rte_lcore_has_role
../lib/power/power_cppc_cpufreq.c:120:2: error: nested extern declaration of ‘open_core_sysfs_file’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c:144: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:144:8: error: nested extern declaration of ‘read_core_sysfs_u32’ [-Werror=nested-externs]
../lib/power/power_cppc_cpufreq.c: In function ‘power_init_for_setting_freq’:
../lib/power/power_cppc_cpufreq.c:291: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:291:8: error: nested extern declaration of ‘read_core_sysfs_s’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[331/2789] Compiling C object 'lib/76b5a35@@rte_member@sta/member_rte_member_ht.c.o'.
[332/2789] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_empty_poll.c.o'.
[333/2789] Compiling C object 'lib/76b5a35@@rte_power@sta/power_power_pstate_cpufreq.c.o'.
[334/2789] Compiling C object 'lib/76b5a35@@rte_power@sta/power_rte_power_pmd_mgmt.c.o'.
[335/2789] Compiling C object 'lib/76b5a35@@rte_pdump@sta/pdump_rte_pdump.c.o'.
ninja: build stopped




*Build Failed #17:
OS: RHEL83-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(83): 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(109): error #266: function "power_set_governor" declared implicitly
  	return power_set_governor(pi->lcore_id, POWER_GOVERNOR_USERSPACE,
  	       ^

../lib/power/power_cppc_cpufreq.c(120): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_HIGHEST_PERF,
  	^

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

../lib/power/power_cppc_cpufreq.c(173): 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(179): 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(207): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(&f_max, "r", POWER_SYSFILE_SCALING_MAX_FREQ,
  	^

../lib/power/power_cppc_cpufreq.c(223): 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(261): 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(284): error #266: function "open_core_sysfs_file" declared implicitly
  	open_core_sysfs_file(&f, "rw+", POWER_SYSFILE_SETSPEED, pi->lcore_id);
  	^

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

../lib/power/power_cppc_cpufreq.c(406): 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)
[305/2836] Compiling C object lib/librte_power.a.p/power_power_kvm_vm.c.o
[306/2836] Linking target lib/librte_lpm.so.21.3
[307/2836] Compiling C object lib/librte_power.a.p/power_rte_power.c.o
[308/2836] Compiling C object lib/librte_power.a.p/power_power_acpi_cpufreq.c.o
[309/2836] Compiling C object lib/librte_member.a.p/member_rte_member_ht.c.o
[310/2836] Compiling C object lib/librte_power.a.p/power_power_pstate_cpufreq.c.o
[311/2836] Compiling C object lib/librte_kni.a.p/kni_rte_kni.c.o
[312/2836] Compiling C object lib/librte_power.a.p/power_rte_power_empty_poll.c.o
[313/2836] Compiling C object lib/librte_ethdev.a.p/ethdev_rte_flow.c.o
ninja: build stopped


DPDK STV team

                 reply	other threads:[~2021-07-09 12:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fa9a2a$ehdetj@fmsmga003-auth.fm.intel.com' \
    --to=sys_stv@intel.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).