Skip to contentSkip to conversation

Build error on CentOS 8.4.2105 with gcc 8.5.0 or clang 11.0

Bug 909 [email protected] 1 participant 2 messages Dec 14, 2021 – Mar 31, 2025

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=909

            Bug ID: 909
           Summary: Build error on CentOS 8.4.2105 with gcc 8.5.0 or clang
                    11.0
           Product: DPDK
           Version: 21.11
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: meson
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

[2616/2939] Compiling C object app/dpdk-dumpcap.p/dumpcap_main.c.o
FAILED: app/dpdk-dumpcap.p/dumpcap_main.c.o
clang -Iapp/dpdk-dumpcap.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/pdump -I../lib/pdump -Ilib/bpf -I../lib/bpf -Ilib/pcapng -I../lib/pcapng -I/opt/SDM/CLUSTER_SENSORS/CSCI_NETBEE/1.0.0/CentOS/8.4.2105/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -MD -MQ app/dpdk-dumpcap.p/dumpcap_main.c.o -MF app/dpdk-dumpcap.p/dumpcap_main.c.o.d -o app/dpdk-dumpcap.p/dumpcap_main.c.o -c ../app/dumpcap/main.c ../app/dumpcap/main.c:635:8: error: use of undeclared identifier 'STDOUT_FILENO'

                fd = STDOUT_FILENO;
                     ^
../app/dumpcap/main.c:752:4: warning: implicit declaration of function 'usleep'
is invalid in C99 [-Wimplicit-function-declaration]
                        usleep(10);
                        ^

1 warning and 1 error generated.
[2625/2939] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped: subcommand failed.
[Error] Error build dpdk

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=909

Stephen Hemminger ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Stephen Hemminger ([email protected]) --- This seems to be a problem with CentOs 8 and it is EOL. Closing the bug.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.