From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1F393423E4; Sun, 15 Jan 2023 17:53:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E68640156; Sun, 15 Jan 2023 17:53:45 +0100 (CET) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mails.dpdk.org (Postfix) with ESMTP id B207B40042; Sun, 15 Jan 2023 17:53:43 +0100 (CET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 10FB3320076F; Sun, 15 Jan 2023 11:53:38 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 15 Jan 2023 11:53:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1673801618; x=1673888018; bh=/FhEDwNl8CIAelMum7IPkusrG /FELGoJX9IFY3LjR5o=; b=qNJw6hAsFgYSQa/JUTFeXfTP5hxuNGr5w3CKw5lIm gF2Imi01rKDGWd+v3magvdQMwUt9UADeinnrxlkKcTbAHlVY7xbr844/kovAj97t OART52PGPzessFQBd5/1goNvXNgqXFM3Rtg+HPspZz0BaYosNrG+1K1Y4gkDDfTE ocEfNjSY7EMSJKSKNDUjpRK8FaN0QdSVTSjwd379ckpxiQdN9Aj92s4TyM6H3VOX KebT6RfD5+sUm01IyeU8BadmL1CKemgIubNqseH25I+PF7IVleyutmD7zPQI2xqO dGd4p9bA1LbPDjsFxVVLz2vuTkknQZgMQxhvZfLHW4ZNw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1673801618; x=1673888018; bh=/FhEDwNl8CIAelMum7IPkusrG/FELGoJX9I FY3LjR5o=; b=iEgbOiW1/DfpLfly8mmbxIS86xrhZJBom3adj4CvHPIZxfhMYjP TqchItJjWTsNQMUovPUnZkthI+jvVTzmerKi8L6GMQ5OZUM0LKCaKBal5vtC6r4q BGsjUV97fjLU7redjRdsemrqJG5rY226DCY99cNGDi7z65w0l13uXbtfh87itj5V IqriEnZI0fvg4YB6hlpK+9jN+QBh/tpwd8hPgkXPG+9lHRIoVuanx/swo9fGqLGV vOwWA01V4aZ2frutHns8VOaLEA76rTPITVoJWkwCMtclmtIDfYxzeVX0uhRVxHx8 57BXtV42E2A1jghuTpYliMxdjndWi766MEg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddtvddgleejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeevveefveeiiefhtedukeegkeelieegffeukeevudetueffieduveet iedukeefleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 15 Jan 2023 11:53:36 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: stable@dpdk.org, Bruce Richardson , Nicolas Chautru , Liron Himi , Andrew Rybchenko , David Marchand , Tianfei Zhang , Andy Pei , Kamil Chalupnik , Ferruh Yigit , Jerin Jacob Subject: [PATCH] build: fix dependencies lookup Date: Sun, 15 Jan 2023 17:53:15 +0100 Message-Id: <20230115165315.1709877-1-thomas@monjalon.net> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The first parameter of the Meson function "find_library()" should be the library name without the "lib" prefix. Otherwise Meson prints this warning: WARNING: find_library('libexecinfo') starting in "lib" only works by accident and is not portable Fixes: 1cd512b2f532 ("build: detect execinfo library on Linux") Fixes: e1defba4cf66 ("raw/ifpga/base: support device tree") Fixes: a489f5dbf437 ("baseband/turbo_sw: support meson build") Fixes: 72c00ae9dba7 ("regex/cn9k: use cnxk infrastructure") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon --- config/meson.build | 4 ++-- drivers/baseband/turbo_sw/meson.build | 10 +++++----- drivers/regex/cn9k/meson.build | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config/meson.build b/config/meson.build index 0c4d1f06e5..bcc711479e 100644 --- a/config/meson.build +++ b/config/meson.build @@ -191,7 +191,7 @@ if find_libnuma endif has_libfdt = 0 -fdt_dep = cc.find_library('libfdt', required: false) +fdt_dep = cc.find_library('fdt', required: false) if fdt_dep.found() and cc.has_header('fdt.h') dpdk_conf.set10('RTE_HAS_LIBFDT', true) has_libfdt = 1 @@ -199,7 +199,7 @@ if fdt_dep.found() and cc.has_header('fdt.h') dpdk_extra_ldflags += '-lfdt' endif -libexecinfo = cc.find_library('libexecinfo', required: false) +libexecinfo = cc.find_library('execinfo', required: false) if libexecinfo.found() add_project_link_arguments('-lexecinfo', language: 'c') dpdk_extra_ldflags += '-lexecinfo' diff --git a/drivers/baseband/turbo_sw/meson.build b/drivers/baseband/turbo_sw/meson.build index 417ec63394..aeb9a76f9e 100644 --- a/drivers/baseband/turbo_sw/meson.build +++ b/drivers/baseband/turbo_sw/meson.build @@ -6,11 +6,11 @@ dep_turbo = dependency('flexran_sdk_turbo', required: false) dep_dec5g = dependency('flexran_sdk_ldpc_decoder_5gnr', required: false) if dep_turbo.found() - ext_deps += cc.find_library('libstdc++', required: true) - ext_deps += cc.find_library('libirc', required: true) - ext_deps += cc.find_library('libimf', required: true) - ext_deps += cc.find_library('libipps', required: true) - ext_deps += cc.find_library('libsvml', required: true) + ext_deps += cc.find_library('stdc++', required: true) + ext_deps += cc.find_library('irc', required: true) + ext_deps += cc.find_library('imf', required: true) + ext_deps += cc.find_library('ipps', required: true) + ext_deps += cc.find_library('svml', required: true) ext_deps += dep_turbo ext_deps += dependency('flexran_sdk_crc', required: true) ext_deps += dependency('flexran_sdk_rate_matching', required: true) diff --git a/drivers/regex/cn9k/meson.build b/drivers/regex/cn9k/meson.build index 06c906710c..19b2e70111 100644 --- a/drivers/regex/cn9k/meson.build +++ b/drivers/regex/cn9k/meson.build @@ -8,10 +8,10 @@ if not is_linux or not dpdk_conf.get('RTE_ARCH_64') subdir_done() endif -lib = cc.find_library('librxp_compiler', required: false) +lib = cc.find_library('rxp_compiler', required: false) if lib.found() ext_deps += lib - ext_deps += cc.find_library('libstdc++', required: true) + ext_deps += cc.find_library('stdc++', required: true) cflags += ['-DREE_COMPILER_SDK'] endif -- 2.39.0