From: sys_stv@intel.com
To: test-report@dpdk.org, thomas@monjalon.net
Subject: compilation|FAILURE| pw(131386) sid(29493) job(PER_PATCH_BUILD9002)[v2, 11/11] lib: remove pthread.h from includes
Date: 13 Sep 2023 03:50:03 -0700 [thread overview]
Message-ID: <8899fd$kllboj@orsmga003-auth.jf.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1411724 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/131386
_Compilation issues_
Submitter: Thomas Monjalon <thomas@monjalon.net>
Date: 2023-09-13 10:34:30
Reply_mail: <20230913103600.1935292-12-thomas@monjalon.net>
DPDK git baseline: Repo:dpdk, CommitID: e92ba1426914db1d224dd5e9a1743657681b8814
Meson Build Summary: 25 Builds Done, 0 Successful, 25 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64 | fail | | | | | | |
| FreeBSD13-64 | fail | fail | | fail | fail | | |
| RHEL92-64 | fail | fail | | fail | fail | | |
| SUSE15-64 | fail | fail | | | | | |
| CBL-Mariner2.0-64 | fail | | | | | | |
| UB2004-64 | fail | | | | | | |
| UB2204-32 | fail | | | | | | |
| RHEL87-64 | fail | | | | | | |
| UB2204-64 | fail | fail | | | | fail | fail |
| CentOS79-64 | fail | | | | | | |
| RHEL92-64Rt | fail | | | | | | |
| UB2304-64 | fail | | | | | | |
| FC38-64 | fail | fail | | | | | |
| UB2204-64Rt | fail | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: OpenAnolis8.8-64
Kernel Version: 5.10.134-13.an8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
x86_64-native-linuxapp-gcc
OS: FreeBSD13-64
Kernel Version: 13.2-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL92-64
Kernel Version: 5.14.0-284.11.1.el9_2.x86_64
GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.14.21-150500.53-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 15.0.7
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: CBL-Mariner2.0-64
Kernel Version: 5.15.55.1_2e9a4f9+
GCC Version: gcc (GCC) 11.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: UB2004-64
Kernel Version: 5.8.0-48-generic
GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
Clang Version: 10.0.0-4ubuntu1
x86_64-native-linuxapp-gcc
OS: UB2204-32
Kernel Version: 5.15.0-58-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL87-64
Kernel Version: 4.18.0-425.3.1.el8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15)
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: UB2204-64
Kernel Version: 5.15.0-58-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: CentOS79-64
Kernel Version: 3.10.0-1160.81.1.el7.x86_64
GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
x86_64-native-linuxapp-gcc
OS: RHEL92-64Rt
Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64
GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
x86_64-native-linuxapp-gcc
OS: UB2304-64
Kernel Version: 6.2.0-20-generic
GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: FC38-64
Kernel Version: 6.2.9-300.fc38.x86_64
GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0)
Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2204-64Rt
Kernel Version: 5.17.5-051705-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: OpenAnolis8.8-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[11/2751] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/2751] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2751] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2751] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o
FAILED: lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o
gcc -Ilib/librte_mbuf.a.p -Ilib -I../lib -Ilib/mbuf -I../lib/mbuf -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.mbuf -MD -MQ lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o -MF lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o.d -o lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o -c ../lib/mbuf/rte_mbuf.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/mbuf/rte_mbuf.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/mempool/rte_mempool.h:43,
from ../lib/mbuf/rte_mbuf.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2751] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2751] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2751] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2751] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[19/2751] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #2:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/1883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/1883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/1883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/1883] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/1883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/1883] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/1883] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[19/1883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[20/1883] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[12/1883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[13/1883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[14/1883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[15/1883] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
clang -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[16/1883] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[17/1883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[18/1883] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
clang -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[19/1883] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[20/1883] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #4:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/1781] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/1781] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/1781] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/1781] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/1781] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/1781] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/1781] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[19/1781] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[20/1781] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped
*Build Failed #5:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/1931] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/1931] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/1931] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/1931] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/1931] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[17/1931] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/1931] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[19/1931] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -D__BSD_VISIBLE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[20/1931] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #6:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2755] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[19/2755] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[20/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[21/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_launch.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -c ../lib/eal/common/eal_common_launch.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/include/eal_trace_internal.h:19,
from ../lib/eal/common/eal_common_launch.c:7:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_common_launch.c:10:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_launch.c:12:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_wait_lcore’:
../lib/eal/common/eal_common_launch.c:21:56: error: ‘struct lcore_config’ has no member named ‘state’
21 | while (__atomic_load_n(&lcore_config[worker_id].state,
| ^
../lib/eal/common/eal_common_launch.c:25:39: error: ‘struct lcore_config’ has no member named ‘ret’
25 | return lcore_config[worker_id].ret;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_remote_launch’:
../lib/eal/common/eal_common_launch.c:41:53: error: ‘struct lcore_config’ has no member named ‘state’
41 | if (__atomic_load_n(&lcore_config[worker_id].state,
| ^
../lib/eal/common/eal_common_launch.c:45:32: error: ‘struct lcore_config’ has no member named ‘arg’
45 | lcore_config[worker_id].arg = arg;
| ^
../lib/eal/common/eal_common_launch.c:50:50: error: ‘struct lcore_config’ has no member named ‘f’
50 | __atomic_store_n(&lcore_config[worker_id].f, f, __ATOMIC_RELEASE);
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_mp_remote_launch’:
../lib/eal/common/eal_common_launch.c:73:43: error: ‘struct lcore_config’ has no member named ‘state’
73 | if (lcore_config[lcore_id].state != WAIT)
| ^
../lib/eal/common/eal_common_launch.c:83:41: error: ‘struct lcore_config’ has no member named ‘ret’
83 | lcore_config[main_lcore].ret = f(arg);
| ^
../lib/eal/common/eal_common_launch.c:84:41: error: ‘struct lcore_config’ has no member named ‘state’
84 | lcore_config[main_lcore].state = WAIT;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_get_lcore_state’:
../lib/eal/common/eal_common_launch.c:96:38: error: ‘struct lcore_config’ has no member named ‘state’
96 | return lcore_config[lcore_id].state;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_wait_lcore’:
../lib/eal/common/eal_common_launch.c:26:1: error: control reaches end of non-void function [-Werror=return-type]
26 | }
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_get_lcore_state’:
../lib/eal/common/eal_common_launch.c:97:1: error: control reaches end of non-void function [-Werror=return-type]
97 | }
| ^
cc1: all warnings being treated as errors
ninja: build stopped
*Build Failed #7:
OS: RHEL92-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[13/2716] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
clang -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[14/2716] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[15/2716] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[16/2716] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[17/2716] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
clang -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[18/2716] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[19/2716] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[20/2716] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[21/2716] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_launch.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -c ../lib/eal/common/eal_common_launch.c
In file included from ../lib/eal/common/eal_common_launch.c:10:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_launch.c:10:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_launch.c:10:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_launch.c:10:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_launch.c:12:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
ninja: build stopped
*Build Failed #8:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2608] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2608] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2608] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2608] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2608] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2608] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[19/2608] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[20/2608] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[21/2608] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_launch.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -c ../lib/eal/common/eal_common_launch.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/include/eal_trace_internal.h:19,
from ../lib/eal/common/eal_common_launch.c:7:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_common_launch.c:10:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_launch.c:12:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_wait_lcore’:
../lib/eal/common/eal_common_launch.c:21:56: error: ‘struct lcore_config’ has no member named ‘state’
21 | while (__atomic_load_n(&lcore_config[worker_id].state,
| ^
../lib/eal/common/eal_common_launch.c:25:39: error: ‘struct lcore_config’ has no member named ‘ret’
25 | return lcore_config[worker_id].ret;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_remote_launch’:
../lib/eal/common/eal_common_launch.c:41:53: error: ‘struct lcore_config’ has no member named ‘state’
41 | if (__atomic_load_n(&lcore_config[worker_id].state,
| ^
../lib/eal/common/eal_common_launch.c:45:32: error: ‘struct lcore_config’ has no member named ‘arg’
45 | lcore_config[worker_id].arg = arg;
| ^
../lib/eal/common/eal_common_launch.c:50:50: error: ‘struct lcore_config’ has no member named ‘f’
50 | __atomic_store_n(&lcore_config[worker_id].f, f, __ATOMIC_RELEASE);
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_mp_remote_launch’:
../lib/eal/common/eal_common_launch.c:73:43: error: ‘struct lcore_config’ has no member named ‘state’
73 | if (lcore_config[lcore_id].state != WAIT)
| ^
../lib/eal/common/eal_common_launch.c:83:41: error: ‘struct lcore_config’ has no member named ‘ret’
83 | lcore_config[main_lcore].ret = f(arg);
| ^
../lib/eal/common/eal_common_launch.c:84:41: error: ‘struct lcore_config’ has no member named ‘state’
84 | lcore_config[main_lcore].state = WAIT;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_get_lcore_state’:
../lib/eal/common/eal_common_launch.c:96:38: error: ‘struct lcore_config’ has no member named ‘state’
96 | return lcore_config[lcore_id].state;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_wait_lcore’:
../lib/eal/common/eal_common_launch.c:26:1: error: control reaches end of non-void function [-Werror=return-type]
26 | }
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_get_lcore_state’:
../lib/eal/common/eal_common_launch.c:97:1: error: control reaches end of non-void function [-Werror=return-type]
97 | }
| ^
cc1: all warnings being treated as errors
ninja: build stopped
*Build Failed #9:
OS: RHEL92-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2755] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[19/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[20/2755] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[21/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_launch.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -c ../lib/eal/common/eal_common_launch.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/include/eal_trace_internal.h:19,
from ../lib/eal/common/eal_common_launch.c:7:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_common_launch.c:10:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_launch.c:12:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_wait_lcore’:
../lib/eal/common/eal_common_launch.c:21:56: error: ‘struct lcore_config’ has no member named ‘state’
21 | while (__atomic_load_n(&lcore_config[worker_id].state,
| ^
../lib/eal/common/eal_common_launch.c:25:39: error: ‘struct lcore_config’ has no member named ‘ret’
25 | return lcore_config[worker_id].ret;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_remote_launch’:
../lib/eal/common/eal_common_launch.c:41:53: error: ‘struct lcore_config’ has no member named ‘state’
41 | if (__atomic_load_n(&lcore_config[worker_id].state,
| ^
../lib/eal/common/eal_common_launch.c:45:32: error: ‘struct lcore_config’ has no member named ‘arg’
45 | lcore_config[worker_id].arg = arg;
| ^
../lib/eal/common/eal_common_launch.c:50:50: error: ‘struct lcore_config’ has no member named ‘f’
50 | __atomic_store_n(&lcore_config[worker_id].f, f, __ATOMIC_RELEASE);
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_mp_remote_launch’:
../lib/eal/common/eal_common_launch.c:73:43: error: ‘struct lcore_config’ has no member named ‘state’
73 | if (lcore_config[lcore_id].state != WAIT)
| ^
../lib/eal/common/eal_common_launch.c:83:41: error: ‘struct lcore_config’ has no member named ‘ret’
83 | lcore_config[main_lcore].ret = f(arg);
| ^
../lib/eal/common/eal_common_launch.c:84:41: error: ‘struct lcore_config’ has no member named ‘state’
84 | lcore_config[main_lcore].state = WAIT;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_get_lcore_state’:
../lib/eal/common/eal_common_launch.c:96:38: error: ‘struct lcore_config’ has no member named ‘state’
96 | return lcore_config[lcore_id].state;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_wait_lcore’:
../lib/eal/common/eal_common_launch.c:26:1: error: control reaches end of non-void function [-Werror=return-type]
26 | }
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_get_lcore_state’:
../lib/eal/common/eal_common_launch.c:97:1: error: control reaches end of non-void function [-Werror=return-type]
97 | }
| ^
cc1: all warnings being treated as errors
ninja: build stopped
*Build Failed #10:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[12/2774] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
clang -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[13/2774] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[14/2774] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
clang -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[15/2774] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[16/2774] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[17/2774] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[18/2774] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[19/2774] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[20/2774] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #11:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21:0,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/2772] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21:0,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:0:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2772] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23:0,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:0:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2772] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21:0,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2772] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23:0,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:0:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2772] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23:0,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:0:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2772] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:0:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:0:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2772] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25:0,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[19/2772] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[20/2772] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #12:
OS: CBL-Mariner2.0-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/2752] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2752] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2752] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2752] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2752] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[17/2752] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2752] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before 'rte_thread_t'
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[19/2752] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[20/2752] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #13:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/2801] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2801] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2801] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2801] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2801] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2801] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2801] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[19/2801] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[20/2801] Generating log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #14:
OS: UB2204-32
Target: i686-native-linuxapp-gcc
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[11/2218] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_hexdump.c.o
[12/2218] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2218] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2218] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2218] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2218] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2218] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2218] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[19/2218] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #15:
OS: RHEL87-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[11/2704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_hexdump.c.o
[12/2704] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2704] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2704] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before ‘rte_thread_t’
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2704] Generating kvargs.sym_chk with a meson_exe.py custom command
[19/2704] Generating log.sym_chk with a meson_exe.py custom command
ninja: build stopped
*Build Failed #16:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[11/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_hexdump.c.o
[12/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2806] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2806] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[19/2806] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #17:
OS: UB2204-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2802] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2802] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[19/2802] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[20/2802] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #18:
OS: UB2204-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[12/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[13/2802] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
clang -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[14/2802] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
clang -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[15/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[16/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[17/2802] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[18/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[19/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[20/2802] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #19:
OS: UB2204-64
Target: x86_64-native-linuxapp-doc
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[11/2773] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/2773] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2773] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o
FAILED: lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o
gcc -Ilib/librte_mempool.a.p -Ilib -I../lib -Ilib/mempool -I../lib/mempool -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ring -I../lib/ring -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.mempool -MD -MQ lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o -MF lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o.d -o lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.o -c ../lib/mempool/rte_mempool_ops_default.c
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/mempool/rte_mempool.h:43,
from ../lib/mempool/rte_mempool_ops_default.c:7:
../lib/eal/include/rte_thread.h:34:39: error: expected declaration specifiers or ‘...’ before numeric constant
34 | #define RTE_THREAD_INTERNAL_NAME_SIZE 11
| ^~
../lib/eal/include/rte_thread.h:35:18: note: in expansion of macro ‘RTE_THREAD_INTERNAL_NAME_SIZE’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2773] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2773] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2773] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2773] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2773] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[19/2773] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #20:
OS: CentOS79-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21:0,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_create(rte_thread_t *thread_id,
^
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_control(rte_thread_t *thread, const char *name,
^
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_detach(rte_thread_t thread_id);
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'
rte_thread_t rte_thread_self(void);
^
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_priority(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_priority(rte_thread_t thread_id,
^
cc1: all warnings being treated as errors
[4/2743] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21:0,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_create(rte_thread_t *thread_id,
^
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_control(rte_thread_t *thread, const char *name,
^
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_detach(rte_thread_t thread_id);
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'
rte_thread_t rte_thread_self(void);
^
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_priority(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_priority(rte_thread_t thread_id,
^
In file included from ../lib/eal/common/eal_common_config.c:7:0:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before 'rte_thread_t'
rte_thread_t thread_id; /**< thread identifier */
^
cc1: all warnings being treated as errors
[5/2743] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23:0,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_create(rte_thread_t *thread_id,
^
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_control(rte_thread_t *thread, const char *name,
^
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_detach(rte_thread_t thread_id);
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'
rte_thread_t rte_thread_self(void);
^
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_priority(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_priority(rte_thread_t thread_id,
^
In file included from ../lib/eal/common/eal_common_bus.c:14:0:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before 'rte_thread_t'
rte_thread_t thread_id; /**< thread identifier */
^
cc1: all warnings being treated as errors
[6/2743] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21:0,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_create(rte_thread_t *thread_id,
^
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_control(rte_thread_t *thread, const char *name,
^
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_detach(rte_thread_t thread_id);
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'
rte_thread_t rte_thread_self(void);
^
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_priority(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_priority(rte_thread_t thread_id,
^
cc1: all warnings being treated as errors
[7/2743] Compiling C object lib/librte_kvargs.a.p/kvargs_rte_kvargs.c.o
[8/2743] Compiling C object lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o
FAILED: lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o
gcc -Ilib/librte_mbuf.a.p -Ilib -I../lib -Ilib/mbuf -I../lib/mbuf -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.mbuf -MD -MQ lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o -MF lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o.d -o lib/librte_mbuf.a.p/mbuf_rte_mbuf.c.o -c ../lib/mbuf/rte_mbuf.c
In file included from ../lib/log/rte_log.h:25:0,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/mbuf/rte_mbuf.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/mempool/rte_mempool.h:43,
from ../lib/mbuf/rte_mbuf.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_create(rte_thread_t *thread_id,
^
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_control(rte_thread_t *thread, const char *name,
^
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_detach(rte_thread_t thread_id);
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'
rte_thread_t rte_thread_self(void);
^
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_priority(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_priority(rte_thread_t thread_id,
^
cc1: all warnings being treated as errors
[9/2743] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_debug.c.o
[10/2743] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23:0,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or '(' before 'void'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: error: expected ')' before 'sizeof'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro 'RTE_BUILD_BUG_ON'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
In file included from ../lib/eal/include/rte_lcore.h:20:0,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
} rte_thread_t;
^
../lib/eal/include/rte_thread.h:43:3: error: type defaults to 'int' in declaration of 'rte_thread_t' [-Werror]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_create(rte_thread_t *thread_id,
^
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_control(rte_thread_t *thread, const char *name,
^
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_detach(rte_thread_t thread_id);
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'
rte_thread_t rte_thread_self(void);
^
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or '...' before 'rte_thread_t'
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_get_priority(rte_thread_t thread_id,
^
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or '...' before 'rte_thread_t'
int rte_thread_set_priority(rte_thread_t thread_id,
^
In file included from ../lib/eal/common/eal_common_dev.c:20:0:
../lib/eal/common/eal_private.h:23:2: error: expected specifier-qualifier-list before 'rte_thread_t'
rte_thread_t thread_id; /**< thread identifier */
^
cc1: all warnings being treated as errors
[11/2743] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_data.c.o
[12/2743] Compiling C object lib/librte_log.a.p/log_log.c.o
ninja: build stopped
*Build Failed #21:
OS: RHEL92-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2755] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2755] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[16/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[19/2755] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[20/2755] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped
*Build Failed #22:
OS: UB2304-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2802] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2802] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2802] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[19/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[20/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[21/2802] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_launch.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -c ../lib/eal/common/eal_common_launch.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/include/eal_trace_internal.h:19,
from ../lib/eal/common/eal_common_launch.c:7:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_common_launch.c:10:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_launch.c:12:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_wait_lcore’:
../lib/eal/common/eal_common_launch.c:21:56: error: ‘struct lcore_config’ has no member named ‘state’
21 | while (__atomic_load_n(&lcore_config[worker_id].state,
| ^
../lib/eal/common/eal_common_launch.c:25:39: error: ‘struct lcore_config’ has no member named ‘ret’
25 | return lcore_config[worker_id].ret;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_remote_launch’:
../lib/eal/common/eal_common_launch.c:41:53: error: ‘struct lcore_config’ has no member named ‘state’
41 | if (__atomic_load_n(&lcore_config[worker_id].state,
| ^
../lib/eal/common/eal_common_launch.c:45:32: error: ‘struct lcore_config’ has no member named ‘arg’
45 | lcore_config[worker_id].arg = arg;
| ^
../lib/eal/common/eal_common_launch.c:50:50: error: ‘struct lcore_config’ has no member named ‘f’
50 | __atomic_store_n(&lcore_config[worker_id].f, f, __ATOMIC_RELEASE);
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_mp_remote_launch’:
../lib/eal/common/eal_common_launch.c:73:43: error: ‘struct lcore_config’ has no member named ‘state’
73 | if (lcore_config[lcore_id].state != WAIT)
| ^
../lib/eal/common/eal_common_launch.c:83:41: error: ‘struct lcore_config’ has no member named ‘ret’
83 | lcore_config[main_lcore].ret = f(arg);
| ^
../lib/eal/common/eal_common_launch.c:84:41: error: ‘struct lcore_config’ has no member named ‘state’
84 | lcore_config[main_lcore].state = WAIT;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_get_lcore_state’:
../lib/eal/common/eal_common_launch.c:96:38: error: ‘struct lcore_config’ has no member named ‘state’
96 | return lcore_config[lcore_id].state;
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_wait_lcore’:
../lib/eal/common/eal_common_launch.c:26:1: error: control reaches end of non-void function [-Werror=return-type]
26 | }
| ^
../lib/eal/common/eal_common_launch.c: In function ‘rte_eal_get_lcore_state’:
../lib/eal/common/eal_common_launch.c:97:1: error: control reaches end of non-void function [-Werror=return-type]
97 | }
| ^
cc1: all warnings being treated as errors
ninja: build stopped
*Build Failed #23:
OS: FC38-64
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[10/2968] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[11/2968] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/2968] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2968] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2968] Linking static target lib/librte_kvargs.a
[15/2968] Linking static target lib/librte_log.a
[16/2968] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2968] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2968] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped
*Build Failed #24:
OS: FC38-64
Target: x86_64-native-linuxapp-clang
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_config.c:7:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[13/2964] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
clang -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry.c:20:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[14/2964] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
clang -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/telemetry/telemetry_legacy.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[15/2964] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[16/2964] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
In file included from ../lib/eal/common/eal_private.h:14:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[17/2964] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_dev.c:17:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[18/2964] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[19/2964] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_fbarray.c:16:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
[20/2964] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_interrupts.c:11:
In file included from ../lib/eal/include/rte_malloc.h:16:
In file included from ../lib/eal/include/rte_memory.h:25:
In file included from ../lib/eal/include/rte_fbarray.h:39:
In file included from ../lib/eal/x86/include/rte_rwlock.h:13:
In file included from ../lib/eal/x86/include/rte_spinlock.h:12:
In file included from ../lib/eal/include/generic/rte_spinlock.h:20:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
18 errors generated.
[21/2964] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_launch.c.o
clang -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_launch.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_launch.c.o -c ../lib/eal/common/eal_common_launch.c
In file included from ../lib/eal/common/eal_common_launch.c:10:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected identifier or '('
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_launch.c:10:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
../lib/eal/include/rte_common.h:498:39: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:38: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_launch.c:10:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:35:1: error: expected ')'
RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
^
../lib/eal/include/rte_common.h:498:44: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
../lib/eal/include/rte_thread.h:35:1: note: to match this '('
../lib/eal/include/rte_common.h:498:37: note: expanded from macro 'RTE_BUILD_BUG_ON'
#define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
^
In file included from ../lib/eal/common/eal_common_launch.c:10:
In file included from ../lib/eal/include/rte_lcore.h:20:
../lib/eal/include/rte_thread.h:43:3: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
} rte_thread_t;
^
int
../lib/eal/include/rte_thread.h:101:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_create(rte_thread_t *thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:128:27: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_control(rte_thread_t *thread, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:157:36: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_create_internal_control(rte_thread_t *id, const char *name,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:173:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:186:23: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_detach(rte_thread_t thread_id);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:194:1: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t rte_thread_self(void);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:211:21: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:231:30: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:22: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:246:39: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:329:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:346:35: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:384:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_get_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
../lib/eal/include/rte_thread.h:400:29: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
int rte_thread_set_priority(rte_thread_t thread_id,
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
In file included from ../lib/eal/common/eal_common_launch.c:12:
../lib/eal/common/eal_private.h:23:2: error: unknown type name 'rte_thread_t'; did you mean 'rte_thread_key'?
rte_thread_t thread_id; /**< thread identifier */
^~~~~~~~~~~~
rte_thread_key
../lib/eal/include/rte_thread.h:80:29: note: 'rte_thread_key' declared here
typedef struct eal_tls_key *rte_thread_key;
^
19 errors generated.
ninja: build stopped
*Build Failed #25:
OS: UB2204-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry.c:18:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry.c:20:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[12/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_config.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_config.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_config.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_config.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_config.c.o -c ../lib/eal/common/eal_common_config.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/eal/common/eal_common_config.c:5:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_config.c:7:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[13/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_dev.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_dev.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_dev.c.o -c ../lib/eal/common/eal_common_dev.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_dev.c:11:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_dev.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_dev.c:20:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[14/2806] Compiling C object lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
FAILED: lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o
gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -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/log -I../lib/log -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry_legacy.c.o -c ../lib/telemetry/telemetry_legacy.c
In file included from ../lib/eal/include/rte_string_fns.h:21,
from ../lib/telemetry/telemetry_legacy.c:15:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/telemetry/telemetry_legacy.c:17:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[15/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_bus.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_bus.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_bus.c.o -c ../lib/eal/common/eal_common_bus.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_bus.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_bus.c:14:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[16/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o -c ../lib/eal/common/eal_common_fbarray.c
In file included from ../lib/eal/common/eal_common_fbarray.c:12:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/common/eal_common_fbarray.c:16:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_fbarray.c:19:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[17/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_devargs.c.o -c ../lib/eal/common/eal_common_devargs.c
In file included from ../lib/eal/include/rte_dev.h:23,
from ../lib/eal/include/bus_driver.h:14,
from ../lib/eal/common/eal_common_devargs.c:14:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/common/eal_private.h:14,
from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
In file included from ../lib/eal/common/eal_common_devargs.c:23:
../lib/eal/common/eal_private.h:23:9: error: expected specifier-qualifier-list before ‘rte_thread_t’
23 | rte_thread_t thread_id; /**< thread identifier */
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
[18/2806] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[19/2806] Generating lib/log.sym_chk with a custom command (wrapped by meson to capture output)
[20/2806] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -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/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -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 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="24.0"' -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_interrupts.c.o -c ../lib/eal/common/eal_common_interrupts.c
In file included from ../lib/log/rte_log.h:25,
from ../lib/eal/include/rte_debug.h:17,
from ../lib/eal/include/rte_bitops.h:19,
from ../lib/eal/include/rte_interrupts.h:10,
from ../lib/eal/common/eal_common_interrupts.c:9:
../lib/eal/include/rte_common.h:498:39: error: expected identifier or ‘(’ before ‘void’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
../lib/eal/include/rte_common.h:498:44: error: expected ‘)’ before ‘sizeof’
498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
| ^~~~~~
../lib/eal/include/rte_thread.h:35:1: note: in expansion of macro ‘RTE_BUILD_BUG_ON’
35 | RTE_BUILD_BUG_ON(RTE_THREAD_INTERNAL_NAME_SIZE !=
| ^~~~~~~~~~~~~~~~
In file included from ../lib/eal/include/rte_lcore.h:20,
from ../lib/eal/include/generic/rte_spinlock.h:20,
from ../lib/eal/x86/include/rte_spinlock.h:12,
from ../lib/eal/x86/include/rte_rwlock.h:13,
from ../lib/eal/include/rte_fbarray.h:39,
from ../lib/eal/include/rte_memory.h:25,
from ../lib/eal/include/rte_malloc.h:16,
from ../lib/eal/common/eal_common_interrupts.c:11:
../lib/eal/include/rte_thread.h:43:3: error: data definition has no type or storage class [-Werror]
43 | } rte_thread_t;
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:43:3: error: type defaults to ‘int’ in declaration of ‘rte_thread_t’ [-Werror=implicit-int]
../lib/eal/include/rte_thread.h:101:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
101 | int rte_thread_create(rte_thread_t *thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:128:27: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
128 | rte_thread_create_control(rte_thread_t *thread, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:157:36: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
157 | rte_thread_create_internal_control(rte_thread_t *id, const char *name,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:173:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
173 | int rte_thread_join(rte_thread_t thread_id, uint32_t *value_ptr);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:186:23: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
186 | int rte_thread_detach(rte_thread_t thread_id);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:194:1: error: unknown type name ‘rte_thread_t’; did you mean ‘rte_thread_key’?
194 | rte_thread_t rte_thread_self(void);
| ^~~~~~~~~~~~
| rte_thread_key
../lib/eal/include/rte_thread.h:211:21: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
211 | rte_thread_set_name(rte_thread_t thread_id, const char *thread_name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:231:30: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
231 | rte_thread_set_prefixed_name(rte_thread_t id, const char *name);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:22: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:246:39: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
246 | int rte_thread_equal(rte_thread_t t1, rte_thread_t t2);
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:329:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
329 | int rte_thread_set_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:346:35: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
346 | int rte_thread_get_affinity_by_id(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:384:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
384 | int rte_thread_get_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
../lib/eal/include/rte_thread.h:400:29: error: expected declaration specifiers or ‘...’ before ‘rte_thread_t’
400 | int rte_thread_set_priority(rte_thread_t thread_id,
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped
DPDK STV team
reply other threads:[~2023-09-14 7:54 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='8899fd$kllboj@orsmga003-auth.jf.intel.com' \
--to=sys_stv@intel.com \
--cc=test-report@dpdk.org \
--cc=thomas@monjalon.net \
/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).