From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Ehrhardt Subject: [PATCH v2 1/2] mk: fix missing vhost dependency to pthread to avoid libarary underlinking Date: Mon, 13 Jun 2016 13:06:56 +0200 Message-ID: <1465816017-25772-2-git-send-email-christian.ehrhardt@canonical.com> References: <1465816017-25772-1-git-send-email-christian.ehrhardt@canonical.com> To: christian.ehrhardt@canonical.com, ferruh.yigit@intel.com, thomas.monjalon@6wind.com, dev@dpdk.org Return-path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by dpdk.org (Postfix) with ESMTP id 5DA26475E for ; Mon, 13 Jun 2016 13:07:01 +0200 (CEST) In-Reply-To: <1465816017-25772-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" Add the missing external dependency to pthread to avoid referring to symbols the library is not linked against. Signed-off-by: Christian Ehrhardt --- drivers/net/vhost/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/vhost/Makefile b/drivers/net/vhost/Makefile index f49a69b..545d998 100644 --- 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 + CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) -- 2.7.4