Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/121241 _Compilation issues_ Submitter: Tomasz Duszynski Date: 2022-12-22 00:01:06 Reply_mail: <20221222000106.270619-1-tduszynski@marvell.com> DPDK git baseline: Repo:dpdk, CommitID: 373f4c7de8ff350548cacc3d56e788461677f2c7 Meson Build Summary: 25 Builds Done, 4 Successful, 21 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +--------------+------------+--------------+------------+------------+-----------+----------+------------+ | FC36-64 | fail | fail | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL86-64 | fail | fail | | fail | fail | | | | SUSE15-64 | fail | fail | | | | | | | RHEL90-64 | fail | | | | | | | | UB2004-64 | fail | fail | | | | fail | | | UB2204-32 | fail | | | | | | | | UB2204-64 | fail | fail | | | | fail | fail | | CentOS79-64 | fail | | | | | | | | RHEL86-64Rt | fail | | | | | | | | UB2210-64 | fail | | | | | | | | FC37-64 | 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: FC36-64 Kernel Version: 5.17.7-300.fc36.x86_64 GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1) Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD13-64 Kernel Version: 13.1-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL86-64 Kernel Version: 4.18.0-372.9.1.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) 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-150400.22-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 11.0.1 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: RHEL90-64 Kernel Version: 5.14.0-70.13.1.el9_0.x86_64 GCC Version: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) Clang Version: 13.0.1 (Red Hat 13.0.1-1.el9) 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-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-doc OS: UB2204-32 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: NA i686-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-25-generic GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 Clang Version: 14.0.0-1ubuntu1 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.76.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: RHEL86-64Rt Kernel Version: 4.18.0-372.9.1.rt7.166.el8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13) Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54) x86_64-native-linuxapp-gcc OS: UB2210-64 Kernel Version: 5.19.0-21-generic GCC Version: gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0 Clang Version: 15.0.2-1 x86_64-native-linuxapp-gcc OS: FC37-64 Kernel Version: 6.0.7-301.fc37.x86_64 GCC Version: gcc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2) Clang Version: 15.0.4 (Fedora 15.0.4-1.fc37) x86_64-native-linuxapp-gcc *Build Failed #1: OS: FC36-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:27: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:27: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:24: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:14: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function) 68 | case RTE_BUS_SCAN_UNDEFINED: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:68:14: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:14: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) 69 | case RTE_BUS_SCAN_ALLOWLIST: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:14: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) 73 | case RTE_BUS_SCAN_BLOCKLIST: | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/platform.c:264:24: note: in expansion of macro ‘RTE_TAILQ_NEXT’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:9: note: in expansion of macro ‘container_of’ 120 | container_of(ptr, const struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:39: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:31: error: invalid use of undefined type ‘struct rte_device’ 289 | if (!device_exists(dev->name)) | ^~ ../drivers/bus/platform/platform.c:292:31: error: invalid use of undefined type ‘struct rte_device’ 292 | if (device_allowed(dev->name)) { | ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:31: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 298 | return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token 393 | RTE_REGISTER_BUS(platform_bus, platform_bus.bus); | ^ | ) cc1: all warnings being treated as errors [575/3234] Generating rte_bus_ifpga.pmd.c with a custom command [576/3234] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/private.h:14, from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/rte_bus_platform.h:91:27: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:27: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ ../drivers/bus/platform/private.h:30:24: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform_params.c: In function ‘platform_dev_match’: ../drivers/bus/platform/platform_params.c:38:37: error: invalid use of undefined type ‘const struct rte_device’ 38 | if (name && strcmp(name, dev->name)) | ^~ ../drivers/bus/platform/platform_params.c: In function ‘platform_bus_dev_iterate’: ../drivers/bus/platform/platform_params.c:48:9: error: unknown type name ‘rte_bus_find_device_t’ 48 | rte_bus_find_device_t find_device; | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:56:37: error: ‘EINVAL’ undeclared (first use in this function) 56 | rte_errno = EINVAL; | ^~~~~~ ../drivers/bus/platform/platform_params.c:56:37: note: each undeclared identifier is reported only once for each function it appears in [577/3234] Generating rte_bus_dpaa.pmd.c with a custom command [578/3234] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [579/3234] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [580/3234] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o [581/3234] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [582/3234] Generating vhost.sym_chk with a custom command (wrapped by meson to capture output) [583/3234] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #2: OS: FC36-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o clang -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/platform_params.c:13: In file included from ../drivers/bus/platform/private.h:14: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field has incomplete type 'struct rte_device' struct rte_device device; /**< Core device */ ^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ In file included from ../drivers/bus/platform/platform_params.c:13: In file included from ../drivers/bus/platform/private.h:14: ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field has incomplete type 'struct rte_driver' struct rte_driver driver; /**< Core driver */ ^ ../lib/eal/include/rte_dev.h:30:8: note: forward declaration of 'struct rte_driver' struct rte_driver; ^ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:17: error: field has incomplete type 'struct rte_bus' struct rte_bus bus; /* Core bus */ ^ ../lib/eal/include/rte_bus.h:25:8: note: forward declaration of 'struct rte_bus' struct rte_bus; ^ ../drivers/bus/platform/platform_params.c:38:30: error: incomplete definition of type 'struct rte_device' if (name && strcmp(name, dev->name)) ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform_params.c:48:2: error: use of undeclared identifier 'rte_bus_find_device_t'; did you mean 'rte_bus_find_by_device'? rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ rte_bus_find_by_device ../lib/eal/include/rte_bus.h:110:17: note: 'rte_bus_find_by_device' declared here struct rte_bus *rte_bus_find_by_device(const struct rte_device *dev); ^ ../drivers/bus/platform/platform_params.c:48:23: error: expected ';' after expression rte_bus_find_device_t find_device; ^ ; ../drivers/bus/platform/platform_params.c:48:24: error: use of undeclared identifier 'find_device' rte_bus_find_device_t find_device; ^ ../drivers/bus/platform/platform_params.c:56:16: error: use of undeclared identifier 'EINVAL' rte_errno = EINVAL; ^ ../drivers/bus/platform/platform_params.c:62:2: error: use of undeclared identifier 'find_device' find_device = platform_bus.bus.find_device; ^ ../drivers/bus/platform/platform_params.c:63:7: error: use of undeclared identifier 'find_device' if (!find_device) ^ ../drivers/bus/platform/platform_params.c:48:2: error: expression result unused [-Werror,-Wunused-value] rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ 11 errors generated. [578/3220] Generating rte_bus_ifpga.pmd.c with a custom command [579/3220] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o clang -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field has incomplete type 'struct rte_device' struct rte_device device; /**< Core device */ ^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field has incomplete type 'struct rte_driver' struct rte_driver driver; /**< Core driver */ ^ ../lib/eal/include/rte_dev.h:30:8: note: forward declaration of 'struct rte_driver' struct rte_driver; ^ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:17: error: field has incomplete type 'struct rte_bus' struct rte_bus bus; /* Core bus */ ^ ../lib/eal/include/rte_bus.h:25:8: note: forward declaration of 'struct rte_bus' struct rte_bus; ^ ../drivers/bus/platform/platform.c:68:7: error: use of undeclared identifier 'RTE_BUS_SCAN_UNDEFINED' case RTE_BUS_SCAN_UNDEFINED: ^ ../drivers/bus/platform/platform.c:69:7: error: use of undeclared identifier 'RTE_BUS_SCAN_ALLOWLIST' case RTE_BUS_SCAN_ALLOWLIST: ^ ../drivers/bus/platform/platform.c:73:7: error: use of undeclared identifier 'RTE_BUS_SCAN_BLOCKLIST' case RTE_BUS_SCAN_BLOCKLIST: ^ ../drivers/bus/platform/platform.c:264:70: error: member reference type 'void' is not a pointer pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../lib/eal/linux/include/rte_os.h:25:54: note: expanded from macro 'RTE_TAILQ_NEXT' #define RTE_TAILQ_NEXT(elem, field) TAILQ_NEXT(elem, field) ~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/sys/queue.h:459:41: note: expanded from macro 'TAILQ_NEXT' #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) ~~~~~ ^ ../drivers/bus/platform/platform.c:289:24: error: incomplete definition of type 'struct rte_device' if (!device_exists(dev->name)) ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform.c:292:24: error: incomplete definition of type 'struct rte_device' if (device_allowed(dev->name)) { ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform.c:298:24: error: passing 'void' to parameter of incompatible type 'struct rte_platform_device *' return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: expanded from macro 'RTE_DEV_TO_PLATFORM_DEV' container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:811:41: note: expanded from macro 'container_of' #define container_of(ptr, type, member) __extension__ ({ \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:183:44: note: passing argument to parameter 'pdev' here platform_probe(struct rte_platform_device *pdev) ^ ../drivers/bus/platform/platform.c:304:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:393:32: error: redefinition of parameter 'platform_bus' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:44: error: expected ')' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:17: note: to match this '(' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:18: error: a parameter list without types is only allowed in a function definition RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ 17 errors generated. [580/3220] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [581/3220] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o [582/3220] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [583/3220] Generating rte_bus_dpaa.pmd.c with a custom command [584/3220] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [585/3220] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [586/3220] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #3: OS: RHEL86-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/private.h:14, from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type struct rte_device device; /**< Core device */ ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type struct rte_driver driver; /**< Core driver */ ^~~~~~ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type struct rte_bus bus; /* Core bus */ ^~~ ../drivers/bus/platform/platform_params.c: In function ‘platform_dev_match’: ../drivers/bus/platform/platform_params.c:38:30: error: dereferencing pointer to incomplete type ‘const struct rte_device’ if (name && strcmp(name, dev->name)) ^~ ../drivers/bus/platform/platform_params.c: In function ‘platform_bus_dev_iterate’: ../drivers/bus/platform/platform_params.c:48:2: error: unknown type name ‘rte_bus_find_device_t’ rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:56:16: error: ‘EINVAL’ undeclared (first use in this function) rte_errno = EINVAL; ^~~~~~ ../drivers/bus/platform/platform_params.c:56:16: note: each undeclared identifier is reported only once for each function it appears in [576/3184] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type struct rte_device device; /**< Core device */ ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type struct rte_driver driver; /**< Core driver */ ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type struct rte_bus bus; /* Core bus */ ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:7: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function); did you mean ‘RTE_BUS_AUXILIARY’? case RTE_BUS_SCAN_UNDEFINED: ^~~~~~~~~~~~~~~~~~~~~~ RTE_BUS_AUXILIARY ../drivers/bus/platform/platform.c:68:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:7: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) case RTE_BUS_SCAN_ALLOWLIST: ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:7: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) case RTE_BUS_SCAN_BLOCKLIST: ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/platform.c:264:17: note: in expansion of macro ‘RTE_TAILQ_NEXT’ pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:2: note: in expansion of macro ‘container_of’ container_of(ptr, const struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:32: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:24: error: dereferencing pointer to incomplete type ‘struct rte_device’ if (!device_exists(dev->name)) ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:24: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:378:3: error: field name not in record or union initializer .scan = platform_bus_scan, ^ ../drivers/bus/platform/platform.c:378:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:379:3: error: field name not in record or union initializer .probe = platform_bus_probe, ^ ../drivers/bus/platform/platform.c:379:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:380:3: error: field name not in record or union initializer .find_device = platform_bus_find_device, ^ ../drivers/bus/platform/platform.c:380:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:381:3: error: field name not in record or union initializer .plug = platform_bus_plug, ^ ../drivers/bus/platform/platform.c:381:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:382:3: error: field name not in record or union initializer .unplug = platform_bus_unplug, ^ ../drivers/bus/platform/platform.c:382:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:383:3: error: field name not in record or union initializer .parse = platform_bus_parse, ^ ../drivers/bus/platform/platform.c:383:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:384:3: error: field name not in record or union initializer .dma_map = platform_bus_dma_map, ^ ../drivers/bus/platform/platform.c:384:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:385:3: error: field name not in record or union initializer .dma_unmap = platform_bus_dma_unmap, ^ ../drivers/bus/platform/platform.c:385:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:386:3: error: field name not in record or union initializer .get_iommu_class = platform_bus_get_iommu_class, ^ ../drivers/bus/platform/platform.c:386:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:387:3: error: field name not in record or union initializer .dev_iterate = platform_bus_dev_iterate, ^ ../drivers/bus/platform/platform.c:387:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ) cc1: all warnings being treated as errors [577/3184] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [578/3184] Generating rte_bus_ifpga.pmd.c with a custom command [579/3184] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [580/3184] Generating rte_bus_dpaa.pmd.c with a custom command [581/3184] Generating rte_bus_fslmc.pmd.c with a custom command [582/3184] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [583/3184] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [584/3184] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #4: OS: RHEL86-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o clang -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field has incomplete type 'struct rte_device' struct rte_device device; /**< Core device */ ^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field has incomplete type 'struct rte_driver' struct rte_driver driver; /**< Core driver */ ^ ../lib/eal/include/rte_dev.h:30:8: note: forward declaration of 'struct rte_driver' struct rte_driver; ^ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:17: error: field has incomplete type 'struct rte_bus' struct rte_bus bus; /* Core bus */ ^ ../lib/eal/include/rte_bus.h:25:8: note: forward declaration of 'struct rte_bus' struct rte_bus; ^ ../drivers/bus/platform/platform.c:68:7: error: use of undeclared identifier 'RTE_BUS_SCAN_UNDEFINED' case RTE_BUS_SCAN_UNDEFINED: ^ ../drivers/bus/platform/platform.c:69:7: error: use of undeclared identifier 'RTE_BUS_SCAN_ALLOWLIST' case RTE_BUS_SCAN_ALLOWLIST: ^ ../drivers/bus/platform/platform.c:73:7: error: use of undeclared identifier 'RTE_BUS_SCAN_BLOCKLIST' case RTE_BUS_SCAN_BLOCKLIST: ^ ../drivers/bus/platform/platform.c:264:70: error: member reference type 'void' is not a pointer pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../lib/eal/linux/include/rte_os.h:25:54: note: expanded from macro 'RTE_TAILQ_NEXT' #define RTE_TAILQ_NEXT(elem, field) TAILQ_NEXT(elem, field) ~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/sys/queue.h:459:41: note: expanded from macro 'TAILQ_NEXT' #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) ~~~~~ ^ ../drivers/bus/platform/platform.c:289:24: error: incomplete definition of type 'struct rte_device' if (!device_exists(dev->name)) ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform.c:292:24: error: incomplete definition of type 'struct rte_device' if (device_allowed(dev->name)) { ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform.c:298:24: error: passing 'void' to parameter of incompatible type 'struct rte_platform_device *' return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: expanded from macro 'RTE_DEV_TO_PLATFORM_DEV' container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:811:41: note: expanded from macro 'container_of' #define container_of(ptr, type, member) __extension__ ({ \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:183:44: note: passing argument to parameter 'pdev' here platform_probe(struct rte_platform_device *pdev) ^ ../drivers/bus/platform/platform.c:304:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:393:32: error: redefinition of parameter 'platform_bus' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:44: error: expected ')' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:17: note: to match this '(' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:18: error: a parameter list without types is only allowed in a function definition RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ 17 errors generated. [584/3184] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [585/3184] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o clang -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/platform_params.c:13: In file included from ../drivers/bus/platform/private.h:14: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field has incomplete type 'struct rte_device' struct rte_device device; /**< Core device */ ^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ In file included from ../drivers/bus/platform/platform_params.c:13: In file included from ../drivers/bus/platform/private.h:14: ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field has incomplete type 'struct rte_driver' struct rte_driver driver; /**< Core driver */ ^ ../lib/eal/include/rte_dev.h:30:8: note: forward declaration of 'struct rte_driver' struct rte_driver; ^ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:17: error: field has incomplete type 'struct rte_bus' struct rte_bus bus; /* Core bus */ ^ ../lib/eal/include/rte_bus.h:25:8: note: forward declaration of 'struct rte_bus' struct rte_bus; ^ ../drivers/bus/platform/platform_params.c:38:30: error: incomplete definition of type 'struct rte_device' if (name && strcmp(name, dev->name)) ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform_params.c:48:2: error: use of undeclared identifier 'rte_bus_find_device_t'; did you mean 'rte_bus_find_by_device'? rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ rte_bus_find_by_device ../lib/eal/include/rte_bus.h:110:17: note: 'rte_bus_find_by_device' declared here struct rte_bus *rte_bus_find_by_device(const struct rte_device *dev); ^ ../drivers/bus/platform/platform_params.c:48:23: error: expected ';' after expression rte_bus_find_device_t find_device; ^ ; ../drivers/bus/platform/platform_params.c:48:24: error: use of undeclared identifier 'find_device' rte_bus_find_device_t find_device; ^ ../drivers/bus/platform/platform_params.c:56:16: error: use of undeclared identifier 'EINVAL' rte_errno = EINVAL; ^ ../drivers/bus/platform/platform_params.c:62:2: error: use of undeclared identifier 'find_device' find_device = platform_bus.bus.find_device; ^ ../drivers/bus/platform/platform_params.c:63:7: error: use of undeclared identifier 'find_device' if (!find_device) ^ ../drivers/bus/platform/platform_params.c:48:2: error: expression result unused [-Werror,-Wunused-value] rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ 11 errors generated. [586/3184] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [587/3184] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [588/3184] Generating rte_bus_dpaa.pmd.c with a custom command [589/3184] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o [590/3184] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [591/3184] Generating rte_bus_ifpga.sym_chk with a custom command (wrapped by meson to capture output) [592/3184] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #5: OS: RHEL86-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type struct rte_device device; /**< Core device */ ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type struct rte_driver driver; /**< Core driver */ ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type struct rte_bus bus; /* Core bus */ ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:7: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function); did you mean ‘RTE_BUS_AUXILIARY’? case RTE_BUS_SCAN_UNDEFINED: ^~~~~~~~~~~~~~~~~~~~~~ RTE_BUS_AUXILIARY ../drivers/bus/platform/platform.c:68:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:7: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) case RTE_BUS_SCAN_ALLOWLIST: ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:7: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) case RTE_BUS_SCAN_BLOCKLIST: ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/platform.c:264:17: note: in expansion of macro ‘RTE_TAILQ_NEXT’ pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:2: note: in expansion of macro ‘container_of’ container_of(ptr, const struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:32: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:24: error: dereferencing pointer to incomplete type ‘struct rte_device’ if (!device_exists(dev->name)) ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:24: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:378:3: error: field name not in record or union initializer .scan = platform_bus_scan, ^ ../drivers/bus/platform/platform.c:378:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:379:3: error: field name not in record or union initializer .probe = platform_bus_probe, ^ ../drivers/bus/platform/platform.c:379:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:380:3: error: field name not in record or union initializer .find_device = platform_bus_find_device, ^ ../drivers/bus/platform/platform.c:380:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:381:3: error: field name not in record or union initializer .plug = platform_bus_plug, ^ ../drivers/bus/platform/platform.c:381:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:382:3: error: field name not in record or union initializer .unplug = platform_bus_unplug, ^ ../drivers/bus/platform/platform.c:382:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:383:3: error: field name not in record or union initializer .parse = platform_bus_parse, ^ ../drivers/bus/platform/platform.c:383:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:384:3: error: field name not in record or union initializer .dma_map = platform_bus_dma_map, ^ ../drivers/bus/platform/platform.c:384:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:385:3: error: field name not in record or union initializer .dma_unmap = platform_bus_dma_unmap, ^ ../drivers/bus/platform/platform.c:385:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:386:3: error: field name not in record or union initializer .get_iommu_class = platform_bus_get_iommu_class, ^ ../drivers/bus/platform/platform.c:386:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:387:3: error: field name not in record or union initializer .dev_iterate = platform_bus_dev_iterate, ^ ../drivers/bus/platform/platform.c:387:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ) cc1: all warnings being treated as errors [594/3042] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/private.h:14, from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type struct rte_device device; /**< Core device */ ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type struct rte_driver driver; /**< Core driver */ ^~~~~~ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type struct rte_bus bus; /* Core bus */ ^~~ ../drivers/bus/platform/platform_params.c: In function ‘platform_dev_match’: ../drivers/bus/platform/platform_params.c:38:30: error: dereferencing pointer to incomplete type ‘const struct rte_device’ if (name && strcmp(name, dev->name)) ^~ ../drivers/bus/platform/platform_params.c: In function ‘platform_bus_dev_iterate’: ../drivers/bus/platform/platform_params.c:48:2: error: unknown type name ‘rte_bus_find_device_t’ rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:56:16: error: ‘EINVAL’ undeclared (first use in this function) rte_errno = EINVAL; ^~~~~~ ../drivers/bus/platform/platform_params.c:56:16: note: each undeclared identifier is reported only once for each function it appears in [595/3042] Generating rte_bus_ifpga.pmd.c with a custom command [596/3042] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [597/3042] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [598/3042] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [599/3042] Generating rte_bus_dpaa.pmd.c with a custom command [600/3042] Generating rte_bus_fslmc.pmd.c with a custom command [601/3042] Generating vhost.sym_chk with a custom command (wrapped by meson to capture output) [602/3042] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #6: OS: RHEL86-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type struct rte_device device; /**< Core device */ ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type struct rte_driver driver; /**< Core driver */ ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type struct rte_bus bus; /* Core bus */ ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:7: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function); did you mean ‘RTE_BUS_AUXILIARY’? case RTE_BUS_SCAN_UNDEFINED: ^~~~~~~~~~~~~~~~~~~~~~ RTE_BUS_AUXILIARY ../drivers/bus/platform/platform.c:68:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:7: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) case RTE_BUS_SCAN_ALLOWLIST: ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:7: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) case RTE_BUS_SCAN_BLOCKLIST: ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/platform.c:264:17: note: in expansion of macro ‘RTE_TAILQ_NEXT’ pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:2: note: in expansion of macro ‘container_of’ container_of(ptr, const struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:32: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:24: error: dereferencing pointer to incomplete type ‘struct rte_device’ if (!device_exists(dev->name)) ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:24: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:378:3: error: field name not in record or union initializer .scan = platform_bus_scan, ^ ../drivers/bus/platform/platform.c:378:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:379:3: error: field name not in record or union initializer .probe = platform_bus_probe, ^ ../drivers/bus/platform/platform.c:379:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:380:3: error: field name not in record or union initializer .find_device = platform_bus_find_device, ^ ../drivers/bus/platform/platform.c:380:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:381:3: error: field name not in record or union initializer .plug = platform_bus_plug, ^ ../drivers/bus/platform/platform.c:381:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:382:3: error: field name not in record or union initializer .unplug = platform_bus_unplug, ^ ../drivers/bus/platform/platform.c:382:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:383:3: error: field name not in record or union initializer .parse = platform_bus_parse, ^ ../drivers/bus/platform/platform.c:383:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:384:3: error: field name not in record or union initializer .dma_map = platform_bus_dma_map, ^ ../drivers/bus/platform/platform.c:384:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:385:3: error: field name not in record or union initializer .dma_unmap = platform_bus_dma_unmap, ^ ../drivers/bus/platform/platform.c:385:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:386:3: error: field name not in record or union initializer .get_iommu_class = platform_bus_get_iommu_class, ^ ../drivers/bus/platform/platform.c:386:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:387:3: error: field name not in record or union initializer .dev_iterate = platform_bus_dev_iterate, ^ ../drivers/bus/platform/platform.c:387:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ) cc1: all warnings being treated as errors [573/3184] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/private.h:14, from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type struct rte_device device; /**< Core device */ ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type struct rte_driver driver; /**< Core driver */ ^~~~~~ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type struct rte_bus bus; /* Core bus */ ^~~ ../drivers/bus/platform/platform_params.c: In function ‘platform_dev_match’: ../drivers/bus/platform/platform_params.c:38:30: error: dereferencing pointer to incomplete type ‘const struct rte_device’ if (name && strcmp(name, dev->name)) ^~ ../drivers/bus/platform/platform_params.c: In function ‘platform_bus_dev_iterate’: ../drivers/bus/platform/platform_params.c:48:2: error: unknown type name ‘rte_bus_find_device_t’ rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:56:16: error: ‘EINVAL’ undeclared (first use in this function) rte_errno = EINVAL; ^~~~~~ ../drivers/bus/platform/platform_params.c:56:16: note: each undeclared identifier is reported only once for each function it appears in [574/3184] Compiling C object drivers/librte_bus_ifpga.a.p/meson-generated_.._rte_bus_ifpga.pmd.c.o [575/3184] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [576/3184] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [577/3184] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [578/3184] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [579/3184] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_qman.c.o [580/3184] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [581/3184] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #7: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o clang -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field has incomplete type 'struct rte_device' struct rte_device device; /**< Core device */ ^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field has incomplete type 'struct rte_driver' struct rte_driver driver; /**< Core driver */ ^ ../lib/eal/include/rte_dev.h:30:8: note: forward declaration of 'struct rte_driver' struct rte_driver; ^ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:17: error: field has incomplete type 'struct rte_bus' struct rte_bus bus; /* Core bus */ ^ ../lib/eal/include/rte_bus.h:25:8: note: forward declaration of 'struct rte_bus' struct rte_bus; ^ ../drivers/bus/platform/platform.c:264:70: error: member reference type 'void' is not a pointer pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../lib/eal/linux/include/rte_os.h:25:54: note: expanded from macro 'RTE_TAILQ_NEXT' #define RTE_TAILQ_NEXT(elem, field) TAILQ_NEXT(elem, field) ~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/sys/queue.h:459:41: note: expanded from macro 'TAILQ_NEXT' #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) ~~~~~ ^ ../drivers/bus/platform/platform.c:289:24: error: incomplete definition of type 'struct rte_device' if (!device_exists(dev->name)) ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform.c:292:24: error: incomplete definition of type 'struct rte_device' if (device_allowed(dev->name)) { ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform.c:298:24: error: passing 'void' to parameter of incompatible type 'struct rte_platform_device *' return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: expanded from macro 'RTE_DEV_TO_PLATFORM_DEV' container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:811:41: note: expanded from macro 'container_of' #define container_of(ptr, type, member) __extension__ ({ \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:183:44: note: passing argument to parameter 'pdev' here platform_probe(struct rte_platform_device *pdev) ^ ../drivers/bus/platform/platform.c:304:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:393:32: error: redefinition of parameter 'platform_bus' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:44: error: expected ')' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:17: note: to match this '(' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:18: error: a parameter list without types is only allowed in a function definition RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:68:7: error: use of undeclared identifier 'RTE_BUS_SCAN_UNDEFINED' case RTE_BUS_SCAN_UNDEFINED: ^ ../drivers/bus/platform/platform.c:69:7: error: use of undeclared identifier 'RTE_BUS_SCAN_ALLOWLIST' case RTE_BUS_SCAN_ALLOWLIST: ^ ../drivers/bus/platform/platform.c:73:7: error: use of undeclared identifier 'RTE_BUS_SCAN_BLOCKLIST' case RTE_BUS_SCAN_BLOCKLIST: ^ 17 errors generated. [575/3265] Compiling C object drivers/librte_bus_dpaa.a.p/meson-generated_.._rte_bus_dpaa.pmd.c.o [576/3265] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [577/3265] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o clang -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/platform_params.c:13: In file included from ../drivers/bus/platform/private.h:14: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field has incomplete type 'struct rte_device' struct rte_device device; /**< Core device */ ^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ In file included from ../drivers/bus/platform/platform_params.c:13: In file included from ../drivers/bus/platform/private.h:14: ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field has incomplete type 'struct rte_driver' struct rte_driver driver; /**< Core driver */ ^ ../lib/eal/include/rte_dev.h:30:8: note: forward declaration of 'struct rte_driver' struct rte_driver; ^ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:17: error: field has incomplete type 'struct rte_bus' struct rte_bus bus; /* Core bus */ ^ ../lib/eal/include/rte_bus.h:25:8: note: forward declaration of 'struct rte_bus' struct rte_bus; ^ ../drivers/bus/platform/platform_params.c:38:30: error: incomplete definition of type 'struct rte_device' if (name && strcmp(name, dev->name)) ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform_params.c:48:2: error: use of undeclared identifier 'rte_bus_find_device_t'; did you mean 'rte_bus_find_by_device'? rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ rte_bus_find_by_device ../lib/eal/include/rte_bus.h:110:17: note: 'rte_bus_find_by_device' declared here struct rte_bus *rte_bus_find_by_device(const struct rte_device *dev); ^ ../drivers/bus/platform/platform_params.c:48:23: error: expected ';' after expression rte_bus_find_device_t find_device; ^ ; ../drivers/bus/platform/platform_params.c:48:2: error: expression result unused [-Werror,-Wunused-value] rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:48:24: error: use of undeclared identifier 'find_device' rte_bus_find_device_t find_device; ^ ../drivers/bus/platform/platform_params.c:56:16: error: use of undeclared identifier 'EINVAL' rte_errno = EINVAL; ^ ../drivers/bus/platform/platform_params.c:62:2: error: use of undeclared identifier 'find_device' find_device = platform_bus.bus.find_device; ^ ../drivers/bus/platform/platform_params.c:63:7: error: use of undeclared identifier 'find_device' if (!find_device) ^ 11 errors generated. [578/3265] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [579/3265] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [580/3265] Generating drivers/rte_bus_ifpga.pmd.c with a custom command [581/3265] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o [582/3265] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [583/3265] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #8: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12:0: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type struct rte_device device; /**< Core device */ ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type struct rte_driver driver; /**< Core driver */ ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20:0: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type struct rte_bus bus; /* Core bus */ ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:7: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function); did you mean ‘_BSD_SIZE_T_DEFINED_’? case RTE_BUS_SCAN_UNDEFINED: ^~~~~~~~~~~~~~~~~~~~~~ _BSD_SIZE_T_DEFINED_ ../drivers/bus/platform/platform.c:68:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:7: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function); did you mean ‘RTE_BUS_SCAN_UNDEFINED’? case RTE_BUS_SCAN_ALLOWLIST: ^~~~~~~~~~~~~~~~~~~~~~ RTE_BUS_SCAN_UNDEFINED ../drivers/bus/platform/platform.c:73:7: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function); did you mean ‘RTE_BUS_SCAN_ALLOWLIST’? case RTE_BUS_SCAN_BLOCKLIST: ^~~~~~~~~~~~~~~~~~~~~~ RTE_BUS_SCAN_ALLOWLIST In file included from ../drivers/bus/platform/platform.c:8:0: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:46: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/platform.c:264:17: note: in expansion of macro ‘RTE_TAILQ_NEXT’ pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:2: note: in expansion of macro ‘container_of’ container_of(ptr, const struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:32: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:24: error: dereferencing pointer to incomplete type ‘struct rte_device’ if (!device_exists(dev->name)) ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21:0, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:46: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:24: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:46: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:46: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:46: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:378:3: error: field name not in record or union initializer .scan = platform_bus_scan, ^ ../drivers/bus/platform/platform.c:378:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:379:3: error: field name not in record or union initializer .probe = platform_bus_probe, ^ ../drivers/bus/platform/platform.c:379:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:380:3: error: field name not in record or union initializer .find_device = platform_bus_find_device, ^ ../drivers/bus/platform/platform.c:380:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:381:3: error: field name not in record or union initializer .plug = platform_bus_plug, ^ ../drivers/bus/platform/platform.c:381:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:382:3: error: field name not in record or union initializer .unplug = platform_bus_unplug, ^ ../drivers/bus/platform/platform.c:382:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:383:3: error: field name not in record or union initializer .parse = platform_bus_parse, ^ ../drivers/bus/platform/platform.c:383:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:384:3: error: field name not in record or union initializer .dma_map = platform_bus_dma_map, ^ ../drivers/bus/platform/platform.c:384:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:385:3: error: field name not in record or union initializer .dma_unmap = platform_bus_dma_unmap, ^ ../drivers/bus/platform/platform.c:385:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:386:3: error: field name not in record or union initializer .get_iommu_class = platform_bus_get_iommu_class, ^ ../drivers/bus/platform/platform.c:386:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:387:3: error: field name not in record or union initializer .dev_iterate = platform_bus_dev_iterate, ^ ../drivers/bus/platform/platform.c:387:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ cc1: all warnings being treated as errors [574/3263] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/private.h:14:0, from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type struct rte_device device; /**< Core device */ ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type struct rte_driver driver; /**< Core driver */ ^~~~~~ In file included from ../drivers/bus/platform/platform_params.c:13:0: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type struct rte_bus bus; /* Core bus */ ^~~ ../drivers/bus/platform/platform_params.c: In function ‘platform_dev_match’: ../drivers/bus/platform/platform_params.c:38:30: error: dereferencing pointer to incomplete type ‘const struct rte_device’ if (name && strcmp(name, dev->name)) ^~ ../drivers/bus/platform/platform_params.c: In function ‘platform_bus_dev_iterate’: ../drivers/bus/platform/platform_params.c:48:2: error: unknown type name ‘rte_bus_find_device_t’ rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:56:16: error: ‘EINVAL’ undeclared (first use in this function) rte_errno = EINVAL; ^~~~~~ ../drivers/bus/platform/platform_params.c:56:16: note: each undeclared identifier is reported only once for each function it appears in [575/3263] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_qman.c.o [576/3263] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common.c.o [577/3263] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [578/3263] Generating drivers/rte_bus_ifpga.pmd.c with a custom command [579/3263] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [580/3263] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o [581/3263] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [582/3263] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #9: OS: RHEL90-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/private.h:14, from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/rte_bus_platform.h:91:27: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:27: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:24: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform_params.c: In function ‘platform_dev_match’: ../drivers/bus/platform/platform_params.c:38:37: error: invalid use of undefined type ‘const struct rte_device’ 38 | if (name && strcmp(name, dev->name)) | ^~ ../drivers/bus/platform/platform_params.c: In function ‘platform_bus_dev_iterate’: ../drivers/bus/platform/platform_params.c:48:9: error: unknown type name ‘rte_bus_find_device_t’ 48 | rte_bus_find_device_t find_device; | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:56:37: error: ‘EINVAL’ undeclared (first use in this function) 56 | rte_errno = EINVAL; | ^~~~~~ ../drivers/bus/platform/platform_params.c:56:37: note: each undeclared identifier is reported only once for each function it appears in [572/3180] Generating drivers/rte_bus_ifpga.pmd.c with a custom command [573/3180] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:27: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:27: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:24: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:14: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function) 68 | case RTE_BUS_SCAN_UNDEFINED: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:68:14: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:14: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) 69 | case RTE_BUS_SCAN_ALLOWLIST: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:14: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) 73 | case RTE_BUS_SCAN_BLOCKLIST: | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/platform.c:264:24: note: in expansion of macro ‘RTE_TAILQ_NEXT’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:9: note: in expansion of macro ‘container_of’ 120 | container_of(ptr, const struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:39: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:31: error: invalid use of undefined type ‘struct rte_device’ 289 | if (!device_exists(dev->name)) | ^~ ../drivers/bus/platform/platform.c:292:31: error: invalid use of undefined type ‘struct rte_device’ 292 | if (device_allowed(dev->name)) { | ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:31: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 298 | return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token 393 | RTE_REGISTER_BUS(platform_bus, platform_bus.bus); | ^ | ) cc1: all warnings being treated as errors [574/3180] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [575/3180] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [576/3180] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [577/3180] Generating drivers/rte_bus_dpaa.pmd.c with a custom command [578/3180] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [579/3180] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [580/3180] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #10: OS: UB2004-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o clang -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field has incomplete type 'struct rte_device' struct rte_device device; /**< Core device */ ^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field has incomplete type 'struct rte_driver' struct rte_driver driver; /**< Core driver */ ^ ../lib/eal/include/rte_dev.h:30:8: note: forward declaration of 'struct rte_driver' struct rte_driver; ^ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:17: error: field has incomplete type 'struct rte_bus' struct rte_bus bus; /* Core bus */ ^ ../lib/eal/include/rte_bus.h:25:8: note: forward declaration of 'struct rte_bus' struct rte_bus; ^ ../drivers/bus/platform/platform.c:264:70: error: member reference type 'void' is not a pointer pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../lib/eal/linux/include/rte_os.h:25:54: note: expanded from macro 'RTE_TAILQ_NEXT' #define RTE_TAILQ_NEXT(elem, field) TAILQ_NEXT(elem, field) ~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/sys/queue.h:459:41: note: expanded from macro 'TAILQ_NEXT' #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) ~~~~~ ^ ../drivers/bus/platform/platform.c:289:24: error: incomplete definition of type 'struct rte_device' if (!device_exists(dev->name)) ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform.c:292:24: error: incomplete definition of type 'struct rte_device' if (device_allowed(dev->name)) { ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform.c:298:24: error: passing 'void' to parameter of incompatible type 'struct rte_platform_device *' return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: expanded from macro 'RTE_DEV_TO_PLATFORM_DEV' container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:811:41: note: expanded from macro 'container_of' #define container_of(ptr, type, member) __extension__ ({ \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:183:44: note: passing argument to parameter 'pdev' here platform_probe(struct rte_platform_device *pdev) ^ ../drivers/bus/platform/platform.c:304:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:393:32: error: redefinition of parameter 'platform_bus' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:44: error: expected ')' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:17: note: to match this '(' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:18: error: a parameter list without types is only allowed in a function definition RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:68:7: error: use of undeclared identifier 'RTE_BUS_SCAN_UNDEFINED' case RTE_BUS_SCAN_UNDEFINED: ^ ../drivers/bus/platform/platform.c:69:7: error: use of undeclared identifier 'RTE_BUS_SCAN_ALLOWLIST' case RTE_BUS_SCAN_ALLOWLIST: ^ ../drivers/bus/platform/platform.c:73:7: error: use of undeclared identifier 'RTE_BUS_SCAN_BLOCKLIST' case RTE_BUS_SCAN_BLOCKLIST: ^ 17 errors generated. [609/3257] Generating rte_bus_ifpga.sym_chk with a custom command (wrapped by meson to capture output) [610/3257] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o clang -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/platform_params.c:13: In file included from ../drivers/bus/platform/private.h:14: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field has incomplete type 'struct rte_device' struct rte_device device; /**< Core device */ ^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ In file included from ../drivers/bus/platform/platform_params.c:13: In file included from ../drivers/bus/platform/private.h:14: ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field has incomplete type 'struct rte_driver' struct rte_driver driver; /**< Core driver */ ^ ../lib/eal/include/rte_dev.h:30:8: note: forward declaration of 'struct rte_driver' struct rte_driver; ^ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:17: error: field has incomplete type 'struct rte_bus' struct rte_bus bus; /* Core bus */ ^ ../lib/eal/include/rte_bus.h:25:8: note: forward declaration of 'struct rte_bus' struct rte_bus; ^ ../drivers/bus/platform/platform_params.c:38:30: error: incomplete definition of type 'struct rte_device' if (name && strcmp(name, dev->name)) ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform_params.c:48:2: error: use of undeclared identifier 'rte_bus_find_device_t'; did you mean 'rte_bus_find_by_device'? rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ rte_bus_find_by_device ../lib/eal/include/rte_bus.h:110:17: note: 'rte_bus_find_by_device' declared here struct rte_bus *rte_bus_find_by_device(const struct rte_device *dev); ^ ../drivers/bus/platform/platform_params.c:48:23: error: expected ';' after expression rte_bus_find_device_t find_device; ^ ; ../drivers/bus/platform/platform_params.c:48:2: error: expression result unused [-Werror,-Wunused-value] rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:48:24: error: use of undeclared identifier 'find_device' rte_bus_find_device_t find_device; ^ ../drivers/bus/platform/platform_params.c:56:16: error: use of undeclared identifier 'EINVAL' rte_errno = EINVAL; ^ ../drivers/bus/platform/platform_params.c:62:2: error: use of undeclared identifier 'find_device' find_device = platform_bus.bus.find_device; ^ ../drivers/bus/platform/platform_params.c:63:7: error: use of undeclared identifier 'find_device' if (!find_device) ^ 11 errors generated. [611/3257] Compiling C object drivers/librte_bus_vdev.a.p/meson-generated_.._rte_bus_vdev.pmd.c.o [612/3257] Generating rte_bus_vmbus.pmd.c with a custom command [613/3257] Generating rte_bus_pci.pmd.c with a custom command [614/3257] Generating rte_bus_fslmc.pmd.c with a custom command [615/3257] Compiling C object drivers/libtmp_rte_common_cnxk.a.p/common_cnxk_roc_cpt_debug.c.o [616/3257] Generating rte_bus_dpaa.sym_chk with a custom command (wrapped by meson to capture output) [617/3257] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #11: OS: UB2004-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/private.h:14, from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform_params.c: In function ‘platform_dev_match’: ../drivers/bus/platform/platform_params.c:38:30: error: invalid use of undefined type ‘const struct rte_device’ 38 | if (name && strcmp(name, dev->name)) | ^~ ../drivers/bus/platform/platform_params.c: In function ‘platform_bus_dev_iterate’: ../drivers/bus/platform/platform_params.c:48:2: error: unknown type name ‘rte_bus_find_device_t’ 48 | rte_bus_find_device_t find_device; | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:56:16: error: ‘EINVAL’ undeclared (first use in this function) 56 | rte_errno = EINVAL; | ^~~~~~ ../drivers/bus/platform/platform_params.c:56:16: note: each undeclared identifier is reported only once for each function it appears in [570/3265] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:7: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function) 68 | case RTE_BUS_SCAN_UNDEFINED: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:68:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:7: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) 69 | case RTE_BUS_SCAN_ALLOWLIST: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:7: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) 73 | case RTE_BUS_SCAN_BLOCKLIST: | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/platform.c:264:17: note: in expansion of macro ‘RTE_TAILQ_NEXT’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:2: note: in expansion of macro ‘container_of’ 120 | container_of(ptr, const struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:32: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:24: error: invalid use of undefined type ‘struct rte_device’ 289 | if (!device_exists(dev->name)) | ^~ ../drivers/bus/platform/platform.c:292:24: error: invalid use of undefined type ‘struct rte_device’ 292 | if (device_allowed(dev->name)) { | ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:24: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 298 | return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token 393 | RTE_REGISTER_BUS(platform_bus, platform_bus.bus); | ^ | ) cc1: all warnings being treated as errors [571/3265] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [572/3265] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [573/3265] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_qman.c.o [574/3265] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o [575/3265] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [576/3265] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [577/3265] Generating rte_bus_ifpga.sym_chk with a custom command (wrapped by meson to capture output) [578/3265] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #12: OS: UB2204-32 Target: i686-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/private.h:14, from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/rte_bus_platform.h:91:27: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:27: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:24: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform_params.c: In function ‘platform_dev_match’: ../drivers/bus/platform/platform_params.c:38:37: error: invalid use of undefined type ‘const struct rte_device’ 38 | if (name && strcmp(name, dev->name)) | ^~ ../drivers/bus/platform/platform_params.c: In function ‘platform_bus_dev_iterate’: ../drivers/bus/platform/platform_params.c:48:9: error: unknown type name ‘rte_bus_find_device_t’ 48 | rte_bus_find_device_t find_device; | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:56:37: error: ‘EINVAL’ undeclared (first use in this function) 56 | rte_errno = EINVAL; | ^~~~~~ ../drivers/bus/platform/platform_params.c:56:37: note: each undeclared identifier is reported only once for each function it appears in [552/2148] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:27: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:27: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:24: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:14: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function) 68 | case RTE_BUS_SCAN_UNDEFINED: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:68:14: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:14: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) 69 | case RTE_BUS_SCAN_ALLOWLIST: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:14: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) 73 | case RTE_BUS_SCAN_BLOCKLIST: | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/platform.c:264:24: note: in expansion of macro ‘RTE_TAILQ_NEXT’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:9: note: in expansion of macro ‘container_of’ 120 | container_of(ptr, const struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:39: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:31: error: invalid use of undefined type ‘struct rte_device’ 289 | if (!device_exists(dev->name)) | ^~ ../drivers/bus/platform/platform.c:292:31: error: invalid use of undefined type ‘struct rte_device’ 292 | if (device_allowed(dev->name)) { | ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:31: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 298 | return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token 393 | RTE_REGISTER_BUS(platform_bus, platform_bus.bus); | ^ | ) cc1: all warnings being treated as errors [553/2148] Compiling C object drivers/librte_bus_ifpga.a.p/meson-generated_.._rte_bus_ifpga.pmd.c.o [554/2148] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [555/2148] Generating drivers/rte_bus_dpaa.pmd.c with a custom command [556/2148] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [557/2148] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [558/2148] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [559/2148] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [560/2148] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #13: OS: UB2004-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:7: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function) 68 | case RTE_BUS_SCAN_UNDEFINED: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:68:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:7: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) 69 | case RTE_BUS_SCAN_ALLOWLIST: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:7: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) 73 | case RTE_BUS_SCAN_BLOCKLIST: | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/platform.c:264:17: note: in expansion of macro ‘RTE_TAILQ_NEXT’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:2: note: in expansion of macro ‘container_of’ 120 | container_of(ptr, const struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:32: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:24: error: invalid use of undefined type ‘struct rte_device’ 289 | if (!device_exists(dev->name)) | ^~ ../drivers/bus/platform/platform.c:292:24: error: invalid use of undefined type ‘struct rte_device’ 292 | if (device_allowed(dev->name)) { | ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:24: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 298 | return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token 393 | RTE_REGISTER_BUS(platform_bus, platform_bus.bus); | ^ | ) cc1: all warnings being treated as errors [568/3047] Generating rte_bus_ifpga.pmd.c with a custom command [569/3047] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common.c.o [570/3047] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [571/3047] Generating rte_bus_dpaa.pmd.c with a custom command [572/3047] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [573/3047] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [574/3047] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [575/3047] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [576/3047] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #14: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc+16byte FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:27: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:27: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:24: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:14: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function) 68 | case RTE_BUS_SCAN_UNDEFINED: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:68:14: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:14: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) 69 | case RTE_BUS_SCAN_ALLOWLIST: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:14: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) 73 | case RTE_BUS_SCAN_BLOCKLIST: | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/platform.c:264:24: note: in expansion of macro ‘RTE_TAILQ_NEXT’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:9: note: in expansion of macro ‘container_of’ 120 | container_of(ptr, const struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:39: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:31: error: invalid use of undefined type ‘struct rte_device’ 289 | if (!device_exists(dev->name)) | ^~ ../drivers/bus/platform/platform.c:292:31: error: invalid use of undefined type ‘struct rte_device’ 292 | if (device_allowed(dev->name)) { | ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:31: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 298 | return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token 393 | RTE_REGISTER_BUS(platform_bus, platform_bus.bus); | ^ | ) cc1: all warnings being treated as errors [581/3269] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [582/3269] Compiling C object drivers/librte_bus_dpaa.so.23.1.p/meson-generated_.._rte_bus_dpaa.pmd.c.o [583/3269] Generating drivers/rte_bus_fslmc.pmd.c with a custom command [584/3269] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o [585/3269] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [586/3269] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [587/3269] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [588/3269] Generating drivers/rte_bus_ifpga.sym_chk with a custom command (wrapped by meson to capture output) [589/3269] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #15: OS: UB2204-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:27: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:27: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:24: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:14: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function) 68 | case RTE_BUS_SCAN_UNDEFINED: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:68:14: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:14: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) 69 | case RTE_BUS_SCAN_ALLOWLIST: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:14: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) 73 | case RTE_BUS_SCAN_BLOCKLIST: | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/platform.c:264:24: note: in expansion of macro ‘RTE_TAILQ_NEXT’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:9: note: in expansion of macro ‘container_of’ 120 | container_of(ptr, const struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:39: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:31: error: invalid use of undefined type ‘struct rte_device’ 289 | if (!device_exists(dev->name)) | ^~ ../drivers/bus/platform/platform.c:292:31: error: invalid use of undefined type ‘struct rte_device’ 292 | if (device_allowed(dev->name)) { | ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:31: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 298 | return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token 393 | RTE_REGISTER_BUS(platform_bus, platform_bus.bus); | ^ | ) cc1: all warnings being treated as errors [573/3265] Generating drivers/rte_bus_dpaa.pmd.c with a custom command [574/3265] Compiling C object drivers/librte_bus_ifpga.so.23.1.p/meson-generated_.._rte_bus_ifpga.pmd.c.o [575/3265] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [576/3265] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [577/3265] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [578/3265] Generating drivers/rte_bus_ifpga.sym_chk with a custom command (wrapped by meson to capture output) [579/3265] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [580/3265] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [581/3265] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #16: OS: UB2204-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o clang -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/platform_params.c:13: In file included from ../drivers/bus/platform/private.h:14: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field has incomplete type 'struct rte_device' struct rte_device device; /**< Core device */ ^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ In file included from ../drivers/bus/platform/platform_params.c:13: In file included from ../drivers/bus/platform/private.h:14: ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field has incomplete type 'struct rte_driver' struct rte_driver driver; /**< Core driver */ ^ ../lib/eal/include/rte_dev.h:30:8: note: forward declaration of 'struct rte_driver' struct rte_driver; ^ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:17: error: field has incomplete type 'struct rte_bus' struct rte_bus bus; /* Core bus */ ^ ../lib/eal/include/rte_bus.h:25:8: note: forward declaration of 'struct rte_bus' struct rte_bus; ^ ../drivers/bus/platform/platform_params.c:38:30: error: incomplete definition of type 'struct rte_device' if (name && strcmp(name, dev->name)) ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform_params.c:48:2: error: use of undeclared identifier 'rte_bus_find_device_t'; did you mean 'rte_bus_find_by_device'? rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ rte_bus_find_by_device ../lib/eal/include/rte_bus.h:110:17: note: 'rte_bus_find_by_device' declared here struct rte_bus *rte_bus_find_by_device(const struct rte_device *dev); ^ ../drivers/bus/platform/platform_params.c:48:23: error: expected ';' after expression rte_bus_find_device_t find_device; ^ ; ../drivers/bus/platform/platform_params.c:48:24: error: use of undeclared identifier 'find_device' rte_bus_find_device_t find_device; ^ ../drivers/bus/platform/platform_params.c:56:16: error: use of undeclared identifier 'EINVAL' rte_errno = EINVAL; ^ ../drivers/bus/platform/platform_params.c:62:2: error: use of undeclared identifier 'find_device' find_device = platform_bus.bus.find_device; ^ ../drivers/bus/platform/platform_params.c:63:7: error: use of undeclared identifier 'find_device' if (!find_device) ^ ../drivers/bus/platform/platform_params.c:48:2: error: expression result unused [-Werror,-Wunused-value] rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ 11 errors generated. [584/3265] Compiling C object drivers/libtmp_rte_bus_vmbus.a.p/bus_vmbus_vmbus_bufring.c.o [585/3265] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o clang -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field has incomplete type 'struct rte_device' struct rte_device device; /**< Core device */ ^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field has incomplete type 'struct rte_driver' struct rte_driver driver; /**< Core driver */ ^ ../lib/eal/include/rte_dev.h:30:8: note: forward declaration of 'struct rte_driver' struct rte_driver; ^ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:17: error: field has incomplete type 'struct rte_bus' struct rte_bus bus; /* Core bus */ ^ ../lib/eal/include/rte_bus.h:25:8: note: forward declaration of 'struct rte_bus' struct rte_bus; ^ ../drivers/bus/platform/platform.c:68:7: error: use of undeclared identifier 'RTE_BUS_SCAN_UNDEFINED' case RTE_BUS_SCAN_UNDEFINED: ^ ../drivers/bus/platform/platform.c:69:7: error: use of undeclared identifier 'RTE_BUS_SCAN_ALLOWLIST' case RTE_BUS_SCAN_ALLOWLIST: ^ ../drivers/bus/platform/platform.c:73:7: error: use of undeclared identifier 'RTE_BUS_SCAN_BLOCKLIST' case RTE_BUS_SCAN_BLOCKLIST: ^ ../drivers/bus/platform/platform.c:264:70: error: member reference type 'void' is not a pointer pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ ../lib/eal/linux/include/rte_os.h:25:54: note: expanded from macro 'RTE_TAILQ_NEXT' #define RTE_TAILQ_NEXT(elem, field) TAILQ_NEXT(elem, field) ~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/sys/queue.h:459:41: note: expanded from macro 'TAILQ_NEXT' #define TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) ~~~~~ ^ ../drivers/bus/platform/platform.c:289:24: error: incomplete definition of type 'struct rte_device' if (!device_exists(dev->name)) ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform.c:292:24: error: incomplete definition of type 'struct rte_device' if (device_allowed(dev->name)) { ~~~^ ../lib/eal/include/rte_bus.h:26:8: note: forward declaration of 'struct rte_device' struct rte_device; ^ ../drivers/bus/platform/platform.c:298:24: error: passing 'void' to parameter of incompatible type 'struct rte_platform_device *' return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: expanded from macro 'RTE_DEV_TO_PLATFORM_DEV' container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:811:41: note: expanded from macro 'container_of' #define container_of(ptr, type, member) __extension__ ({ \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:183:44: note: passing argument to parameter 'pdev' here platform_probe(struct rte_platform_device *pdev) ^ ../drivers/bus/platform/platform.c:304:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:30: error: initializing 'struct rte_platform_device *' with an expression of incompatible type 'void' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:393:32: error: redefinition of parameter 'platform_bus' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:44: error: expected ')' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:17: note: to match this '(' RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ../drivers/bus/platform/platform.c:393:18: error: a parameter list without types is only allowed in a function definition RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ 17 errors generated. [586/3265] Linking static target drivers/librte_bus_ifpga.a [587/3265] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [588/3265] Compiling C object drivers/librte_bus_ifpga.so.23.1.p/meson-generated_.._rte_bus_ifpga.pmd.c.o [589/3265] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [590/3265] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o [591/3265] Generating drivers/rte_bus_dpaa.sym_chk with a custom command (wrapped by meson to capture output) [592/3265] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #17: OS: UB2204-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:27: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:27: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:24: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:14: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function) 68 | case RTE_BUS_SCAN_UNDEFINED: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:68:14: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:14: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) 69 | case RTE_BUS_SCAN_ALLOWLIST: | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:14: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) 73 | case RTE_BUS_SCAN_BLOCKLIST: | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/platform.c:264:24: note: in expansion of macro ‘RTE_TAILQ_NEXT’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:9: note: in expansion of macro ‘container_of’ 120 | container_of(ptr, const struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:39: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ 264 | pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:31: error: invalid use of undefined type ‘struct rte_device’ 289 | if (!device_exists(dev->name)) | ^~ ../drivers/bus/platform/platform.c:292:31: error: invalid use of undefined type ‘struct rte_device’ 292 | if (device_allowed(dev->name)) { | ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:31: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 298 | return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 304 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 325 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:67: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:67: note: (near initialization for ‘pdev’) 812 | const typeof(((type *)0)->member) *_ptr = (ptr); \ | ^ ../drivers/bus/platform/rte_bus_platform.h:117:9: note: in expansion of macro ‘container_of’ 117 | container_of(ptr, struct rte_platform_device, device) | ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:44: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ 346 | struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token 393 | RTE_REGISTER_BUS(platform_bus, platform_bus.bus); | ^ | ) cc1: all warnings being treated as errors [572/3097] Generating drivers/rte_bus_ifpga.pmd.c with a custom command [573/3097] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [574/3097] Generating drivers/rte_bus_dpaa.pmd.c with a custom command [575/3097] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o [576/3097] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [577/3097] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [578/3097] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [579/3097] Generating lib/vhost.sym_chk with a custom command (wrapped by meson to capture output) [580/3097] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #18: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12:0: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field 'device' has incomplete type struct rte_device device; /**< Core device */ ^ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field 'driver' has incomplete type struct rte_driver driver; /**< Core driver */ ^ In file included from ../drivers/bus/platform/platform.c:20:0: ../drivers/bus/platform/private.h:30:17: error: field 'bus' has incomplete type struct rte_bus bus; /* Core bus */ ^ ../drivers/bus/platform/platform.c: In function 'device_allowed': ../drivers/bus/platform/platform.c:68:7: error: 'RTE_BUS_SCAN_UNDEFINED' undeclared (first use in this function) case RTE_BUS_SCAN_UNDEFINED: ^ ../drivers/bus/platform/platform.c:68:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:7: error: 'RTE_BUS_SCAN_ALLOWLIST' undeclared (first use in this function) case RTE_BUS_SCAN_ALLOWLIST: ^ ../drivers/bus/platform/platform.c:73:7: error: 'RTE_BUS_SCAN_BLOCKLIST' undeclared (first use in this function) case RTE_BUS_SCAN_BLOCKLIST: ^ In file included from ../drivers/bus/platform/platform.c:8:0: ../drivers/bus/platform/platform.c: In function 'platform_bus_find_device': ../lib/eal/include/rte_common.h:812:46: error: initialization from incompatible pointer type [-Werror] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/platform.c:264:17: note: in expansion of macro 'RTE_TAILQ_NEXT' pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^ ../drivers/bus/platform/rte_bus_platform.h:120:2: note: in expansion of macro 'container_of' container_of(ptr, const struct rte_platform_device, device) ^ ../drivers/bus/platform/platform.c:264:32: note: in expansion of macro 'RTE_DEV_TO_PLATFORM_DEV_CONST' pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^ ../drivers/bus/platform/platform.c: In function 'platform_bus_plug': ../drivers/bus/platform/platform.c:289:24: error: dereferencing pointer to incomplete type if (!device_exists(dev->name)) ^ ../drivers/bus/platform/platform.c:292:24: error: dereferencing pointer to incomplete type if (device_allowed(dev->name)) { ^ In file included from ../drivers/bus/platform/rte_bus_platform.h:21:0, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:46: error: initialization from incompatible pointer type [-Werror] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro 'container_of' container_of(ptr, struct rte_platform_device, device) ^ ../drivers/bus/platform/platform.c:298:24: note: in expansion of macro 'RTE_DEV_TO_PLATFORM_DEV' return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); ^ ../drivers/bus/platform/platform.c: In function 'platform_bus_unplug': ../lib/eal/include/rte_common.h:812:46: error: initialization from incompatible pointer type [-Werror] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro 'container_of' container_of(ptr, struct rte_platform_device, device) ^ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro 'RTE_DEV_TO_PLATFORM_DEV' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ../lib/eal/include/rte_common.h:812:46: error: (near initialization for 'pdev') [-Werror] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro 'container_of' container_of(ptr, struct rte_platform_device, device) ^ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro 'RTE_DEV_TO_PLATFORM_DEV' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ../drivers/bus/platform/platform.c: In function 'platform_bus_dma_map': ../lib/eal/include/rte_common.h:812:46: error: initialization from incompatible pointer type [-Werror] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro 'container_of' container_of(ptr, struct rte_platform_device, device) ^ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro 'RTE_DEV_TO_PLATFORM_DEV' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ../lib/eal/include/rte_common.h:812:46: error: (near initialization for 'pdev') [-Werror] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro 'container_of' container_of(ptr, struct rte_platform_device, device) ^ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro 'RTE_DEV_TO_PLATFORM_DEV' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ../drivers/bus/platform/platform.c: In function 'platform_bus_dma_unmap': ../lib/eal/include/rte_common.h:812:46: error: initialization from incompatible pointer type [-Werror] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro 'container_of' container_of(ptr, struct rte_platform_device, device) ^ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro 'RTE_DEV_TO_PLATFORM_DEV' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ../lib/eal/include/rte_common.h:812:46: error: (near initialization for 'pdev') [-Werror] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro 'container_of' container_of(ptr, struct rte_platform_device, device) ^ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro 'RTE_DEV_TO_PLATFORM_DEV' struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:378:3: error: field name not in record or union initializer .scan = platform_bus_scan, ^ ../drivers/bus/platform/platform.c:378:3: error: (near initialization for 'platform_bus.bus') ../drivers/bus/platform/platform.c:379:3: error: field name not in record or union initializer .probe = platform_bus_probe, ^ ../drivers/bus/platform/platform.c:379:3: error: (near initialization for 'platform_bus.bus') ../drivers/bus/platform/platform.c:380:3: error: field name not in record or union initializer .find_device = platform_bus_find_device, ^ ../drivers/bus/platform/platform.c:380:3: error: (near initialization for 'platform_bus.bus') ../drivers/bus/platform/platform.c:381:3: error: field name not in record or union initializer .plug = platform_bus_plug, ^ ../drivers/bus/platform/platform.c:381:3: error: (near initialization for 'platform_bus.bus') ../drivers/bus/platform/platform.c:382:3: error: field name not in record or union initializer .unplug = platform_bus_unplug, ^ ../drivers/bus/platform/platform.c:382:3: error: (near initialization for 'platform_bus.bus') ../drivers/bus/platform/platform.c:383:3: error: field name not in record or union initializer .parse = platform_bus_parse, ^ ../drivers/bus/platform/platform.c:383:3: error: (near initialization for 'platform_bus.bus') ../drivers/bus/platform/platform.c:384:3: error: field name not in record or union initializer .dma_map = platform_bus_dma_map, ^ ../drivers/bus/platform/platform.c:384:3: error: (near initialization for 'platform_bus.bus') ../drivers/bus/platform/platform.c:385:3: error: field name not in record or union initializer .dma_unmap = platform_bus_dma_unmap, ^ ../drivers/bus/platform/platform.c:385:3: error: (near initialization for 'platform_bus.bus') ../drivers/bus/platform/platform.c:386:3: error: field name not in record or union initializer .get_iommu_class = platform_bus_get_iommu_class, ^ ../drivers/bus/platform/platform.c:386:3: error: (near initialization for 'platform_bus.bus') ../drivers/bus/platform/platform.c:387:3: error: field name not in record or union initializer .dev_iterate = platform_bus_dev_iterate, ^ ../drivers/bus/platform/platform.c:387:3: error: (near initialization for 'platform_bus.bus') ../drivers/bus/platform/platform.c:393:44: error: expected ')' before '.' token RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ cc1: all warnings being treated as errors [570/3212] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [571/3212] Generating drivers/rte_bus_ifpga.pmd.c with a custom command [572/3212] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common.c.o [573/3212] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [574/3212] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o [575/3212] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [576/3212] Generating drivers/rte_bus_dpaa.pmd.c with a custom command [577/3212] Generating lib/vhost.sym_chk with a custom command (wrapped by meson to capture output) [578/3212] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #19: OS: RHEL86-64Rt Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform.c.o -c ../drivers/bus/platform/platform.c In file included from ../drivers/bus/platform/platform.c:12: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type struct rte_device device; /**< Core device */ ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type struct rte_driver driver; /**< Core driver */ ^~~~~~ In file included from ../drivers/bus/platform/platform.c:20: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type struct rte_bus bus; /* Core bus */ ^~~ ../drivers/bus/platform/platform.c: In function ‘device_allowed’: ../drivers/bus/platform/platform.c:68:7: error: ‘RTE_BUS_SCAN_UNDEFINED’ undeclared (first use in this function); did you mean ‘RTE_BUS_AUXILIARY’? case RTE_BUS_SCAN_UNDEFINED: ^~~~~~~~~~~~~~~~~~~~~~ RTE_BUS_AUXILIARY ../drivers/bus/platform/platform.c:68:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/bus/platform/platform.c:69:7: error: ‘RTE_BUS_SCAN_ALLOWLIST’ undeclared (first use in this function) case RTE_BUS_SCAN_ALLOWLIST: ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c:73:7: error: ‘RTE_BUS_SCAN_BLOCKLIST’ undeclared (first use in this function) case RTE_BUS_SCAN_BLOCKLIST: ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/bus/platform/platform.c:8: ../drivers/bus/platform/platform.c: In function ‘platform_bus_find_device’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘const struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/platform.c:264:17: note: in expansion of macro ‘RTE_TAILQ_NEXT’ pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^~~~~~~~~~~~~~ ../drivers/bus/platform/rte_bus_platform.h:120:2: note: in expansion of macro ‘container_of’ container_of(ptr, const struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:264:32: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV_CONST’ pdev = start ? RTE_TAILQ_NEXT(RTE_DEV_TO_PLATFORM_DEV_CONST(start), next) : ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_plug’: ../drivers/bus/platform/platform.c:289:24: error: dereferencing pointer to incomplete type ‘struct rte_device’ if (!device_exists(dev->name)) ^~ In file included from ../drivers/bus/platform/rte_bus_platform.h:21, from ../drivers/bus/platform/platform.c:12: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:298:24: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ return platform_probe(RTE_DEV_TO_PLATFORM_DEV(dev)); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_unplug’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:304:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_map’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:325:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: In function ‘platform_bus_dma_unmap’: ../lib/eal/include/rte_common.h:812:46: error: initialization of ‘const int *’ from incompatible pointer type ‘struct rte_device *’ [-Werror=incompatible-pointer-types] const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../lib/eal/include/rte_common.h:812:46: note: (near initialization for ‘pdev’) const typeof(((type *)0)->member) *_ptr = (ptr); \ ^ ../drivers/bus/platform/rte_bus_platform.h:117:2: note: in expansion of macro ‘container_of’ container_of(ptr, struct rte_platform_device, device) ^~~~~~~~~~~~ ../drivers/bus/platform/platform.c:346:37: note: in expansion of macro ‘RTE_DEV_TO_PLATFORM_DEV’ struct rte_platform_device *pdev = RTE_DEV_TO_PLATFORM_DEV(dev); ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform.c: At top level: ../drivers/bus/platform/platform.c:378:3: error: field name not in record or union initializer .scan = platform_bus_scan, ^ ../drivers/bus/platform/platform.c:378:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:379:3: error: field name not in record or union initializer .probe = platform_bus_probe, ^ ../drivers/bus/platform/platform.c:379:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:380:3: error: field name not in record or union initializer .find_device = platform_bus_find_device, ^ ../drivers/bus/platform/platform.c:380:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:381:3: error: field name not in record or union initializer .plug = platform_bus_plug, ^ ../drivers/bus/platform/platform.c:381:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:382:3: error: field name not in record or union initializer .unplug = platform_bus_unplug, ^ ../drivers/bus/platform/platform.c:382:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:383:3: error: field name not in record or union initializer .parse = platform_bus_parse, ^ ../drivers/bus/platform/platform.c:383:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:384:3: error: field name not in record or union initializer .dma_map = platform_bus_dma_map, ^ ../drivers/bus/platform/platform.c:384:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:385:3: error: field name not in record or union initializer .dma_unmap = platform_bus_dma_unmap, ^ ../drivers/bus/platform/platform.c:385:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:386:3: error: field name not in record or union initializer .get_iommu_class = platform_bus_get_iommu_class, ^ ../drivers/bus/platform/platform.c:386:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:387:3: error: field name not in record or union initializer .dev_iterate = platform_bus_dev_iterate, ^ ../drivers/bus/platform/platform.c:387:3: note: (near initialization for ‘platform_bus.bus’) ../drivers/bus/platform/platform.c:393:44: error: expected ‘)’ before ‘.’ token RTE_REGISTER_BUS(platform_bus, platform_bus.bus); ^ ) cc1: all warnings being treated as errors [577/3219] Compiling C object drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/private.h:14, from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/rte_bus_platform.h:91:20: error: field ‘device’ has incomplete type struct rte_device device; /**< Core device */ ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:20: error: field ‘driver’ has incomplete type struct rte_driver driver; /**< Core driver */ ^~~~~~ In file included from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/private.h:30:17: error: field ‘bus’ has incomplete type struct rte_bus bus; /* Core bus */ ^~~ ../drivers/bus/platform/platform_params.c: In function ‘platform_dev_match’: ../drivers/bus/platform/platform_params.c:38:30: error: dereferencing pointer to incomplete type ‘const struct rte_device’ if (name && strcmp(name, dev->name)) ^~ ../drivers/bus/platform/platform_params.c: In function ‘platform_bus_dev_iterate’: ../drivers/bus/platform/platform_params.c:48:2: error: unknown type name ‘rte_bus_find_device_t’ rte_bus_find_device_t find_device; ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:56:16: error: ‘EINVAL’ undeclared (first use in this function) rte_errno = EINVAL; ^~~~~~ ../drivers/bus/platform/platform_params.c:56:16: note: each undeclared identifier is reported only once for each function it appears in [578/3219] Compiling C object drivers/libtmp_rte_bus_dpaa.a.p/bus_dpaa_base_qbman_qman.c.o [579/3219] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [580/3219] Generating rte_bus_ifpga.pmd.c with a custom command [581/3219] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [582/3219] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [583/3219] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [584/3219] Compiling C object drivers/libtmp_rte_bus_vdev.a.p/bus_vdev_vdev.c.o [585/3219] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #20: OS: UB2210-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/private.h:14, from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/rte_bus_platform.h:91:27: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:27: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ ../drivers/bus/platform/private.h:30:24: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform_params.c: In function ‘platform_dev_match’: ../drivers/bus/platform/platform_params.c:38:37: error: invalid use of undefined type ‘const struct rte_device’ 38 | if (name && strcmp(name, dev->name)) | ^~ ../drivers/bus/platform/platform_params.c: In function ‘platform_bus_dev_iterate’: ../drivers/bus/platform/platform_params.c:48:9: error: unknown type name ‘rte_bus_find_device_t’ 48 | rte_bus_find_device_t find_device; | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:56:37: error: ‘EINVAL’ undeclared (first use in this function) 56 | rte_errno = EINVAL; | ^~~~~~ ../drivers/bus/platform/platform_params.c:56:37: note: each undeclared identifier is reported only once for each function it appears in [568/3251] Linking static target drivers/librte_bus_dpaa.a [569/3251] Compiling C object drivers/librte_bus_dpaa.so.23.1.p/meson-generated_.._rte_bus_dpaa.pmd.c.o [570/3251] Generating drivers/rte_bus_ifpga.pmd.c with a custom command [571/3251] Compiling C object drivers/libtmp_rte_bus_fslmc.a.p/bus_fslmc_qbman_qbman_portal.c.o [572/3251] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [573/3251] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [574/3251] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [575/3251] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [576/3251] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped *Build Failed #21: OS: FC37-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o gcc -Idrivers/libtmp_rte_bus_platform.a.p -Idrivers -I../drivers -Idrivers/bus/platform -I../drivers/bus/platform -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=bus.platform -MD -MQ drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -MF drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o.d -o drivers/libtmp_rte_bus_platform.a.p/bus_platform_platform_params.c.o -c ../drivers/bus/platform/platform_params.c In file included from ../drivers/bus/platform/private.h:14, from ../drivers/bus/platform/platform_params.c:13: ../drivers/bus/platform/rte_bus_platform.h:91:27: error: field ‘device’ has incomplete type 91 | struct rte_device device; /**< Core device */ | ^~~~~~ ../drivers/bus/platform/rte_bus_platform.h:102:27: error: field ‘driver’ has incomplete type 102 | struct rte_driver driver; /**< Core driver */ | ^~~~~~ ../drivers/bus/platform/private.h:30:24: error: field ‘bus’ has incomplete type 30 | struct rte_bus bus; /* Core bus */ | ^~~ ../drivers/bus/platform/platform_params.c: In function ‘platform_dev_match’: ../drivers/bus/platform/platform_params.c:38:37: error: invalid use of undefined type ‘const struct rte_device’ 38 | if (name && strcmp(name, dev->name)) | ^~ ../drivers/bus/platform/platform_params.c: In function ‘platform_bus_dev_iterate’: ../drivers/bus/platform/platform_params.c:48:9: error: unknown type name ‘rte_bus_find_device_t’ 48 | rte_bus_find_device_t find_device; | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/bus/platform/platform_params.c:56:37: error: ‘EINVAL’ undeclared (first use in this function) 56 | rte_errno = EINVAL; | ^~~~~~ ../drivers/bus/platform/platform_params.c:56:37: note: each undeclared identifier is reported only once for each function it appears in [581/3219] Linking static target drivers/librte_bus_ifpga.a [582/3219] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_vfio.c.o [583/3219] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_pci_common_uio.c.o [584/3219] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o [585/3219] Generating drivers/rte_bus_dpaa.pmd.c with a custom command [586/3219] Generating drivers/rte_bus_fslmc.pmd.c with a custom command [587/3219] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci_uio.c.o [588/3219] Compiling C object drivers/libtmp_rte_bus_pci.a.p/bus_pci_linux_pci.c.o [589/3219] Compiling C object lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o ninja: build stopped DPDK STV team