From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 9BFE598 for ; Tue, 24 Jul 2018 11:29:21 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id f21-v6so1807101wmc.5 for ; Tue, 24 Jul 2018 02:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=zYq1zYdhZoSQP8Uo3LYPGkWzVnxZckXeJBvYO82cTvE=; b=B2XsQCM2NyUGwMTAEWlunUBj3lcgsL+NPRRNb9XyjAL7TIm+zzBv43Fr8UVoAOPMcn jco534X1rYaagkbylo4sYtThsRXM8W4cG4cRt+E6R2xHWaD63aWTVb/9/5ggJzOVCqxD R9Re2g1NwJ1x/3zIjJ1cE9oC2A379gp7iDbjHIFR8CFO0TtN4O4CnNROR90LLbmAB2DY YfB3LLjzGOEGGBmGge6nbgyhAJYogp70wrR17U/Di1Q8pRErvLVDu+yF5C2aGJBg6GwQ nn68oQLdivLohanth+LU+obSpotToTOcZrmFiAwPrxbIPpMeCO4yBWVRwuoBsxROt9yB otGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zYq1zYdhZoSQP8Uo3LYPGkWzVnxZckXeJBvYO82cTvE=; b=sBascKLtEJfj9V49MSsLbM7TGM8i6uRxFobMhU0HOg/Ii1HVdpFrVfbQU812ZEtytq jbjLH0/3WoGLrzUJmNan0hmsXRE+d8EEXkLe4G21udw5e+/fzKxvUBy19YBp5ci9Sjg2 y2s7qQ/vn1jE33dU4C7YdZtSQIIw9/OLR5gKlMPnKdGh4LPXjxO7KGa75jCGD15Et7gm dhnTRfl3wS8ifZnH3lsV+upM1azoAZP1LABU1s+5ahf7wa/h1Sw+hhOBukUpzPwV5ppb l1naG51gjPJPPc5ug2FpPJ7AwMESySyGviwMMrnWM1/Pb24kkc+0uPAUEdA66cLYEf5L hEJQ== X-Gm-Message-State: AOUpUlE1KN6ZEcX1QfHWooZnl2PobfEQlCGsX+i3wCVdob2Bdv+cZJV0 ms7AJiNE5tB/wnbOTUDg0xChuoeS9Q== X-Google-Smtp-Source: AAOMgpcCBaBZOR8vajeacB+aQb7UInMhl+XecAhISNvJeDBd09x3mar4XrRvH2SNOywFrVh+mSDKUw== X-Received: by 2002:a1c:15ce:: with SMTP id 197-v6mr1347826wmv.99.1532424561184; Tue, 24 Jul 2018 02:29:21 -0700 (PDT) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id f23-v6sm1293800wmc.42.2018.07.24.02.29.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jul 2018 02:29:20 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org, Shahaf Shuler , Yongseok Koh Cc: adrien.mazarguil@6wind.com Date: Tue, 24 Jul 2018 11:29:09 +0200 Message-Id: <14690e825609ee181e3cd522302d4788ef436f35.1532424524.git.nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.18.0 Subject: [dpdk-dev] [PATCH] mk: fix application compilation with lmnl and mlx5 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: , X-List-Received-Date: Tue, 24 Jul 2018 09:29:21 -0000 When Mellanox MLX5 PMD is compiled with CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS=y, the external dependency on libmln is missing. Fixes: 4d5cce06231a ("net/mlx5: lay groundwork for switch offloads") Cc: adrien.mazarguil@6wind.com Signed-off-by: Nelio Laranjeiro --- 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 f4d28c2da..ff39d37aa 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -149,7 +149,7 @@ else _LDLIBS-$(CONFIG_RTE_LIBRTE_MLX4_PMD) += -lrte_pmd_mlx4 -libverbs -lmlx4 endif ifeq ($(CONFIG_RTE_LIBRTE_MLX5_DLOPEN_DEPS),y) -_LDLIBS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += -lrte_pmd_mlx5 -ldl +_LDLIBS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += -lrte_pmd_mlx5 -ldl -lmnl else _LDLIBS-$(CONFIG_RTE_LIBRTE_MLX5_PMD) += -lrte_pmd_mlx5 -libverbs -lmlx5 -lmnl endif -- 2.18.0