From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6BFF7A04DD; Thu, 26 Nov 2020 16:42:31 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4BD43C9CA; Thu, 26 Nov 2020 16:42:30 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 3EEE4C9C4 for ; Thu, 26 Nov 2020 16:42:29 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id E16865C0140; Thu, 26 Nov 2020 10:42:27 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 26 Nov 2020 10:42:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=EzZV8BTMwqxY0 270XUywKKZ0tdSprha4KVaY3EIKJIc=; b=X4Et31yZsDWty/1pUXXLgOYdJ4XP9 6BmfhbkJ9Qxa7PRqdCyuYOx9Y/gAqdVR0YON/d/tmUk06Q9pS+109AAxGc9LCLql bvYaZ3SFNpJCi7v3/X/oadDqo3W+e0OTD203OWzoLnpRZcP4MuWTNB5xv6AF1OPU ioozbcUjAGlu3jF/AcJH0lwBbZSVdFxPDTJ6MZDn3SAOaMxkO65S0cUbKDqepPsc aDyxYvs/nFIkekqXvRQ5ejGfLDIcRx7dELsjQOWqxuseNIdHhv/9AYuadKz4pG0p 5o6tMwEzTaZtOtK/PDnF8Fw5aaoKERFtjWe+Eg8b6eDiAbWFXoQBYBUOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=EzZV8BTMwqxY0270XUywKKZ0tdSprha4KVaY3EIKJIc=; b=E4UvckMK Uvq3a20Fx8hs9lSMf1qrxc3P8rrgdu9noj2d7xY8T0NYK/YCA4EVdk9lfEtE76G8 CoATYFp764VeBiwlgKW0miqe9nMtmgdIjfCggvDd9FPmLEd81adbzxFeAz86nDli rj4XXXD+0ESslsgXqppvTlS4cis1MvQYwt7XnzwEdNP/Z6N/6tJ5VOSBb6yuQhie iiWxKzhtgSRTdQKKnoph+QDc/zfbFoESijpwTzaKsMMTTp2JKJm9e3cJop+hOdlz vRYTxfdbILAapxIemuX5wqhjojYrbTo0/gb+5pjPme8mdU3ZgftX/3UDx/YbSGnP 3Mg5ZNi24aVWQQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudehvddgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepvdehgfeivdejgedtveehfefhteelfefgieevgfffveefjeegtdfg uedthedtgeevnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 5BB3B3280059; Thu, 26 Nov 2020 10:42:26 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: david.marchand@redhat.com, bruce.richardson@intel.com, Gregory Etelson Date: Thu, 26 Nov 2020 16:42:18 +0100 Message-Id: <20201126154218.1222717-1-thomas@monjalon.net> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201117181746.17904-1-getelson@nvidia.com> References: <20201117181746.17904-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 1/1] doc: add pkg-config requirement for applications X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Gregory Etelson DPDK relies on pkg-config(1) to provide correct parameters for compiler and linker used in application build. Inaccurate build parameters, produced by pkg-config from DPDK .pc files could fail application build or cause unpredicted results during application runtime. Update system requirements doc about a bug in pkg-config v0.27 used in RHEL-7. Signed-off-by: Gregory Etelson Signed-off-by: Thomas Monjalon --- v2: make a more global note about the need for pkg-config in app build --- doc/guides/linux_gsg/sys_reqs.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/guides/linux_gsg/sys_reqs.rst b/doc/guides/linux_gsg/sys_reqs.rst index 6ecdc04aa9..ab38284950 100644 --- a/doc/guides/linux_gsg/sys_reqs.rst +++ b/doc/guides/linux_gsg/sys_reqs.rst @@ -94,6 +94,19 @@ found in that driver's documentation in the relevant DPDK guide document, e.g. :doc:`../nics/index` +Building DPDK Applications +-------------------------- + +The tool pkg-config or pkgconf, integrated in most build systems, +must be used to parse options and dependencies from libdpdk.pc. + +.. note:: + + pkg-config 0.27, supplied with RHEL-7, + does not process correctly Libs.private section, + resulting in misses in statically linked applications. + + Running DPDK Applications ------------------------- -- 2.28.0