From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: fix missing DEPDIRS to avoid libarary underlinking Date: Mon, 13 Jun 2016 12:08:04 +0200 Message-ID: <4880734.Dg9G2McolW@xps13> References: <1465811334-22395-1-git-send-email-christian.ehrhardt@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: ferruh.yigit@intel.com, dev@dpdk.org To: Christian Ehrhardt Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id ED41E137D for ; Mon, 13 Jun 2016 12:08:06 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id k184so14501390wme.1 for ; Mon, 13 Jun 2016 03:08:06 -0700 (PDT) In-Reply-To: <1465811334-22395-1-git-send-email-christian.ehrhardt@canonical.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" 2016-06-13 11:48, Christian Ehrhardt: > --- a/drivers/net/af_packet/Makefile > +++ b/drivers/net/af_packet/Makefile > @@ -54,5 +54,6 @@ SRCS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += rte_eth_af_packet.c > DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += lib/librte_mbuf > DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += lib/librte_ether > DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += lib/librte_kvargs > +DEPDIRS-$(CONFIG_RTE_LIBRTE_PMD_AF_PACKET) += lib/librte_eal It looks more logical to have eal as first DEPDIR in these lists. > --- a/drivers/net/vhost/Makefile > +++ b/drivers/net/vhost/Makefile > @@ -36,6 +36,8 @@ include $(RTE_SDK)/mk/rte.vars.mk > # > LIB = librte_pmd_vhost.a > > +LDLIBS += -lpthread > + It is not a DEPDIR but an external dependency. It deserves a separate patch. Do we need it in rte.app.mk? It is an EAL dependency as well.