From patchwork Fri Aug 24 09:00:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 144992 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1048709ljw; Fri, 24 Aug 2018 02:00:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbO2kYNFIRiPz/hQBthRRpOuZcuKXn7/lmxcEVljEqxrWdMNh9lrC7t7Uie/e/EzEB2df+s X-Received: by 2002:a37:119e:: with SMTP id 30-v6mr723259qkr.136.1535101249157; Fri, 24 Aug 2018 02:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535101249; cv=none; d=google.com; s=arc-20160816; b=We9ILbmTfG0/wvxf6GF7vGwYfOxAk5MNalWF2qXg33jMq/GFr3h9VenT5TLaNZYjfW DIB4ntIozPfAuZvsT6FK4H4GSZO4X9j+IlEltvItGgIpQp4bj32dzD54j0E9qEu7IfUl tLBQxonBG2mWUu7t/Vlyuk0Eq1H1XgaJ947PBB8+GgjQTSQPOO+XN0TgZkTF/tbYpWwV BfxOaBOhpQkfbF8f4ZFO16m2rUvmVE+TfuJ/E8ZFUbSGopTdWykO/PEwWbEZwHnF8XdB wh99yVp1sc38AnV272CzXKwXfXmgPu+qFvKTJRSDnamnZ3KVG2R5buUU4c9QPDYLhW8R 14YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=/z0OYjAaXvunj39PxEYp2QJujMPoWFyLqT6bWCjRoOQ=; b=VHzEE4wR7FKNAo7oBQpu43ahY0bs9DBIkNPP10hIniXHVO1cTxuiv6s1Ic44tu+qdi HQqg3XfIlE1yGsjirVqZ0E0EkePzd9s05q4A8UkfLqPlXJiHr+PlKfE8wpojElj689s9 sPX00R5q7XuNsDR/HFWbNoYpVrxzsVWOpPp256tlCUlIUy9tqwQzNFmcF4eQkgDT1WLt kDR+vI4Qk0X/HrHFgBLDcTs8DXK8+dh0hXtlQvEJt4DUnH6NyK06boRxJ05jmJU6CjTz yInYPggd+nps7I1iAdczLBzPTDpqkeabFMJHy0NEb1fwmeq2Fu/jFRPhRQ8ZQhc1d5hn I/Ng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id 57-v6si684102qtz.128.2018.08.24.02.00.48; Fri, 24 Aug 2018 02:00:49 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id C9AF36863A; Fri, 24 Aug 2018 09:00:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 2243060F48; Fri, 24 Aug 2018 09:00:21 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 9AF2960D3D; Fri, 24 Aug 2018 09:00:16 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id A5DF660F41 for ; Fri, 24 Aug 2018 09:00:10 +0000 (UTC) Received: from mxback11g.mail.yandex.net (mxback11g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:90]) by forward100o.mail.yandex.net (Yandex) with ESMTP id E8F9C2A262D0 for ; Fri, 24 Aug 2018 12:00:08 +0300 (MSK) Received: from smtp3p.mail.yandex.net (smtp3p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:8]) by mxback11g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id d4cnwsVaKa-0840mT68; Fri, 24 Aug 2018 12:00:08 +0300 Received: by smtp3p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cSg7r8nOeE-08j4InPc; Fri, 24 Aug 2018 12:00:08 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Fri, 24 Aug 2018 09:00:06 +0000 Message-Id: <1535101206-23204-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535101206-23204-1-git-send-email-odpbot@yandex.ru> References: <1535101206-23204-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 682 Subject: [lng-odp] [PATCH v1 1/1] m4: fix dpdk linking with mellanox drivers X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Maxim Uvarov Provide proper names to PMDs to fix issue: /usr/bin/ld: cannot find -lmlx4 /usr/bin/ld: cannot find -libverbs /usr/bin/ld: cannot find -lmlx5 /usr/bin/ld: cannot find -libverbs clang: error: linker command failed with exit code 1 (use -v to see invocation) Signed-off-by: Maxim Uvarov --- /** Email created from pull request 682 (muvarov:devel/master_docker_pull) ** https://github.com/Linaro/odp/pull/682 ** Patch: https://github.com/Linaro/odp/pull/682.patch ** Base sha: 989df5d2f97ab4711328b11282dcc743f5740e00 ** Merge commit sha: 1c86e96f58151911a4cc5b3ad774a72d324b58bc **/ m4/odp_dpdk.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m4/odp_dpdk.m4 b/m4/odp_dpdk.m4 index 2ef5253c8..54c73b2b6 100644 --- a/m4/odp_dpdk.m4 +++ b/m4/odp_dpdk.m4 @@ -9,9 +9,9 @@ cur_driver=`basename "$filename" .a | sed -e 's/^lib//'` AS_VAR_APPEND([DPDK_PMDS], [-l$cur_driver,]) AS_CASE([$cur_driver], [rte_pmd_nfp], [AS_VAR_APPEND([DPDK_LIBS], [" -lm"])], - [rte_pmd_mlx4], [AS_VAR_APPEND([DPDK_LIBS], [" -lmlx4 -libverbs"])], - [rte_pmd_mlx5], [AS_VAR_APPEND([DPDK_LIBS], [" -lmlx5 -libverbs"])], - [rte_pmd_pcap], [AS_VAR_APPEND([DPDK_LIBS], [" -lpcap"])], + [rte_pmd_mlx4], [AS_VAR_APPEND([DPDK_LIBS], [" -l$cur_driver"])], + [rte_pmd_mlx5], [AS_VAR_APPEND([DPDK_LIBS], [" -l$cur_driver"])], + [rte_pmd_pcap], [AS_VAR_APPEND([DPDK_LIBS], [" -l$cur_driver -lpcap"])], [rte_pmd_aesni_gcm], [AS_VAR_APPEND([DPDK_LIBS], [" -lIPSec_MB"])], [rte_pmd_aesni_mb], [AS_VAR_APPEND([DPDK_LIBS], [" -lIPSec_MB"])], [rte_pmd_kasumi], [AS_VAR_APPEND([DPDK_LIBS], [" -lsso_kasumi"])],