From patchwork Thu Jun 22 13:48:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 128922 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7D48D42D1B; Thu, 22 Jun 2023 15:50:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51643406B8; Thu, 22 Jun 2023 15:50:30 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id B29B2406A2; Thu, 22 Jun 2023 15:50:28 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0DD545C0150; Thu, 22 Jun 2023 09:50:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 22 Jun 2023 09:50:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1687441827; x= 1687528227; bh=zAIJcF3UBPz4fmd2B/z8m3U4bQ1j+mOVGNdzQGASa+A=; b=s kg6t+m83bTm/+9nGkht/0bVQ7LXTF/qoqKFjsuRlVac5CaUUVPBc/yAAlZ1n/ORF qZwJ3sQK9DnnMqlfkPMRG92wv6wRHWb8dQmvjJ/5TOjFMBsdvscjzlQ1jCby/vfc NPZyq5jYxO6W+6FzKWJ8EUGbisbH7+lD95rX73jdrqO2nQX6uWdYpoFbf2rY4MfM e4rF4HZhFwBxbj6n/N91MX8WTO62+yYDL2DRt8uSurWmhMmVM+mSM4atFc2oARJl RY7uTrQFE0eamdFED8Lsg9pMViBY+niTsRHBw4Z9UK+5O/Bn2Z069bQGZneSifT9 cw5nZMS60p540gZu9WYlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1687441827; x= 1687528227; bh=zAIJcF3UBPz4fmd2B/z8m3U4bQ1j+mOVGNdzQGASa+A=; b=F 29Uo6+DmuQ4vygEXW12aaoi//y+Ji/ZoE1VPbfbma2S0ERnSdSXE+z9pxY+FHR0b Z3rit6SUP2W6cxgcLA7ZfkIH0Rg/VNpkOfD3SynE6Oo++V5mtryAu1+tm5wLHHwY HtLPy7rr5J5eaGtnFvGd9QDdsV/sBJUerIbjgJMORKCiSWaoIt4kR2dDZ1ZjTr4l fHmLefOKqCGixWY75tfcPA5lK9lSI35+buvKMAXdC1yAD/Y18h4jx/a+mNSUIOy6 EZacCDMknxH84bCILziCfvVPS6sACUk68A0P3BHo6G/ZPqdCCqLy2EDRJeW+tdqd PzSve1S88qEBvbMfOvo4A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeeguddgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedvjefhudeghedvtdeijeeigeetuedugfejueekieeltdfhteev keehhfeilefhtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Jun 2023 09:50:25 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: David Marchand , stable@dpdk.org, Tomasz Kantecki , Andrew Rybchenko , Natanael Copa Subject: [PATCH] examples/l2fwd-cat: fix external build Date: Thu, 22 Jun 2023 15:48:55 +0200 Message-ID: <20230622135021.831889-1-thomas@monjalon.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230620140704.171667-1-david.marchand@redhat.com> References: <20230620140704.171667-1-david.marchand@redhat.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: David Marchand cpu_set_t definition requires _GNU_SOURCE. Fixes: e0473c6d5b18 ("eal: fix build with musl") Cc: stable@dpdk.org Signed-off-by: David Marchand Tested-by: Thomas Monjalon --- This patch was missing in the patchset to make all examples compile. It will be merged with others from: "Test examples compilation externally" --- examples/l2fwd-cat/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/l2fwd-cat/Makefile b/examples/l2fwd-cat/Makefile index 23a09550a4..d06053451a 100644 --- a/examples/l2fwd-cat/Makefile +++ b/examples/l2fwd-cat/Makefile @@ -35,6 +35,7 @@ endif endif CFLAGS += -DALLOW_EXPERIMENTAL_API +CFLAGS += -D_GNU_SOURCE LDFLAGS += -lpqos