From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PACTH v3 2/2] mlx4: fix shared library dependency Date: Mon, 03 Aug 2015 00:23:34 +0200 Message-ID: <1629489.P5PnBUKlIk@xps13> References: <1438178178-5062-1-git-send-email-nelio.laranjeiro@6wind.com> <1438348458-12291-1-git-send-email-nelio.laranjeiro@6wind.com> <1438348458-12291-2-git-send-email-nelio.laranjeiro@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Nelio Laranjeiro Return-path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id D8ACF7EB0 for ; Mon, 3 Aug 2015 00:24:49 +0200 (CEST) Received: by wibud3 with SMTP id ud3so91434711wib.0 for ; Sun, 02 Aug 2015 15:24:49 -0700 (PDT) In-Reply-To: <1438348458-12291-2-git-send-email-nelio.laranjeiro@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-07-31 15:14, Nelio Laranjeiro: > librte_pmd_mlx4.so needs to be linked with libibverbs otherwise, the PMD is > not able to open Mellanox devices and the following message is printed by > testpmd at startup > "librte_pmd_mlx4: cannot access device, is mlx4_ib loaded?". > > Applications dependency on libibverbs are moved to be only valid in static > mode, in shared mode, applications do not depend on it anymore, > librte_pmd_mlx4.so keeps this dependency and thus is linked with libibverbs. > > MLX4 cannot be supported in combined shared library because there is no clean > way of adding -libverbs to the combined library. > > Signed-off-by: Nelio Laranjeiro > Acked-by: Olivier Matz > +$(info MLX4: Not supported in a combined shared library) > +all: > + false changed to; all: @echo 'MLX4: Not supported in a combined shared library' @false Applied, thanks