DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 909] Build error on CentOS 8.4.2105 with gcc 8.5.0 or clang 11.0
Date: Tue, 14 Dec 2021 17:40:56 +0000	[thread overview]
Message-ID: <bug-909-3@http.bugs.dpdk.org/> (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: dev@dpdk.org
          Reporter: philippefroissant@orange.fr
  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

-- 
You are receiving this mail because:
You are the assignee for the bug.

                 reply	other threads:[~2021-12-14 17:40 UTC|newest]

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

Reply instructions:

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

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

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

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

  git send-email \
    --in-reply-to=bug-909-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

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

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