From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 2F400A00E6 for ; Wed, 15 May 2019 22:25:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 000714D27; Wed, 15 May 2019 22:25:05 +0200 (CEST) Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 168562C17 for ; Wed, 15 May 2019 22:25:05 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id c13so358800pgt.1 for ; Wed, 15 May 2019 13:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=2SkrHtwQDmbV1A5iX6GSxLQSNFKaQgTrqh2RiO6dbJc=; b=DL4vJmzGYn+kXEbzIztQQAU187Ie4Z+pqmHs09NQXQhLIjNwlPF53RLNAhlda5GSMI IazShB0o414TC3TEabgLS4ifOL5TaHT/4XtxKq/3Z96nLrH9o5J492H4zVoy5rgavMDl 7VgFQbQJLCB3WU7ul1okvVOdfzHeLxP1imtqie/eLFXaF1+jj1hBVDpp6azfn3oMh0Bb yKpdnjktx/++XvXuXB7JOMUMrD9f8TzPo/aEiNQaFgTeCIF6JQSUa1ZzQyiWt9bl9sxh f0osGCNe9lt+Qgt8ME6u1dvOOYPAsB7HNpTnayVrKwmNfkhrxIo6S303ZXtag7adAerO sv1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=2SkrHtwQDmbV1A5iX6GSxLQSNFKaQgTrqh2RiO6dbJc=; b=b5FhYvrzA1qKDK8d6OmugYj+IyXZpF0F+8vI4YHkUEgidvU1+ks9ZA5ro5r6r3mJc1 +FCpfeXH9kh/Ra1Q1Xa/tISwsN8sUJDmkSET3vsv3UQEc7SbWn4hUA2IWRMoE78GdaW+ v/WOPvL7AFbO70wAGR4e4YOhvy1a4/5szlHHXyuFJWzKplf5MG6B9UUpBYMWylJfun3T CetyhFqAV7iXR91hAPxVJhLR9nUCF3lNPhufll22n2O4HIsyqsQFwYJQiuDXEXllDeka H51YIbx8P3Zcv/Thzt4rHBC2zWjM5zuwIKZdFO7hfmmWF+Nt8hPWeuAwoL2nNqKYEKuV FVIw== X-Gm-Message-State: APjAAAU+NxUOPIrArhWOOqDRjJuFsO/FazE/UW0yKbnVvSfVBmfOg9r9 5E9V2NoT+oG2eE+kg4fpBD9b11HA18g= X-Google-Smtp-Source: APXvYqx6EXP9nHzE5Za5LGbFGw27OkvZV5d/nwbMJjOhLkT5mN1Mmb0saNSi21v3OoxLTBwXzoAZiQ== X-Received: by 2002:a65:64d9:: with SMTP id t25mr45671861pgv.130.1557951903806; Wed, 15 May 2019 13:25:03 -0700 (PDT) Received: from sc9-mailhost2.vmware.com ([66.170.99.2]) by smtp.gmail.com with ESMTPSA id q193sm5485309pfc.52.2019.05.15.13.25.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 May 2019 13:25:03 -0700 (PDT) From: William Tu To: dev@dpdk.org Date: Wed, 15 May 2019 13:24:39 -0700 Message-Id: <1557951879-123265-1-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] net/af_xdp: add libelf for pmd_af_xdp. 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190515202439.R8RbO2vDSeFWZg3BAfwNmXD6KQpFaaUtt9yI29SgNh8@z> The libbpf requires linking elf library. Fix it by adding -lelf. Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD") Signed-off-by: William Tu --- mk/rte.app.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 7c9b4b538e52..e5d15218618a 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -145,7 +145,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL) += -lrte_mempool_dpaa2 endif _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += -lrte_pmd_af_packet -_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AF_XDP) += -lrte_pmd_af_xdp -lbpf +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_AF_XDP) += -lrte_pmd_af_xdp -lbpf -lelf _LDLIBS-$(CONFIG_RTE_LIBRTE_ARK_PMD) += -lrte_pmd_ark _LDLIBS-$(CONFIG_RTE_LIBRTE_ATLANTIC_PMD) += -lrte_pmd_atlantic _LDLIBS-$(CONFIG_RTE_LIBRTE_AVP_PMD) += -lrte_pmd_avp -- 2.7.4