From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 4781F2BD7 for ; Tue, 22 Mar 2016 09:56:46 +0100 (CET) Received: by mail-wm0-f46.google.com with SMTP id p65so153166501wmp.0 for ; Tue, 22 Mar 2016 01:56:46 -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:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=kPRPDa9leSRGM3RnHMDxVRinoJ/Qcw/nh7sZMHf0mdE=; b=ep1eKKmrvPSLQckmbf0QXvfJHUXyZ7tx1PrlY/XLBt8NO6KMf4VUoR6pSU7U1p/UWm dZeXVV1UWqXgfxDEI36wnGOql10Tiv310av6ifCXM7VtNFVv2Y9W2ZWZK5KxoqRGF9wQ XH8TMJybVIFJ/oVKIFaBCC69wpLQFxN8oyywUGBylpCu1jE1HvdGNt5gHLbJN211KTZy P6iBIFoFWJDwQ5YqYfMjFZsMazTIbKX7EtBrjH7O4tPtAApP1oZOwAuJLfebj6Yprs2K WN6k+yfUC+6cLsdXB+8CNJ9BmVs4tTShcdHBGDuHYfytRLuj1+Ri+Ld4quL67RaNtodl PuNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=kPRPDa9leSRGM3RnHMDxVRinoJ/Qcw/nh7sZMHf0mdE=; b=khGmQ3EYFYp95iEhiGNHezG2qvb7lUqRYf5wHlLxde1Hjr44yBHdCLS3+pf3a0uk0x HboIFvWrmNBnqsroqHJ5vgHhwVEwWFAO1JT1PnhX1+1wQDDCbR4GXkJDNoAn2kIva7ax 8o9yMJxb3NThFsoEYWLL7zPu41CjTpyt1P/r5eCSwNNATVFPltM/qRsocueEws+QYcEe F+SLJkIvq6AVtAdmaLUoJVjFjN5xP0B+FAmVOFf/vGc564dzGWsLlxJSg9qJhNiONZ4m hFuNzMPoW5Z6aIZDRGVZad0i8aWUa776t3H28cEGuP8OL4X7XUILARiaGiRNuPfBzX6T D4vg== X-Gm-Message-State: AD7BkJIvKcKN2pOFSsD95xFQ7QTEXETcyI7dh5CvYxtvl8KLt/jdIpTVeodMwC9hh+dZmA0H X-Received: by 10.28.87.139 with SMTP id l133mr17793409wmb.38.1458637006121; Tue, 22 Mar 2016 01:56:46 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id s66sm16363819wmb.6.2016.03.22.01.56.44 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2016 01:56:44 -0700 (PDT) From: Thomas Monjalon To: Daniel Mrzyglod Cc: dev@dpdk.org Date: Tue, 22 Mar 2016 09:55:05 +0100 Message-ID: <2532380.h4kKuHkruB@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1458634142-10084-1-git-send-email-danielx.t.mrzyglod@intel.com> References: <1458634142-10084-1-git-send-email-danielx.t.mrzyglod@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mk: fix eal shared library dependencies -lrt X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2016 08:56:46 -0000 2016-03-22 09:09, Daniel Mrzyglod: > For GLIBC < 2.17 it is necessery to add -lrt for linker > from glibc > 2.17 The `clock_*' suite of functions (declared in ) is now > available directly in the main C library. This affect Ubuntu 12.04 in i686 > and other older Linux Distros). [...] > --- a/app/test/Makefile > +++ b/app/test/Makefile > @@ -114,6 +114,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_string.c > SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_lib.c > > ifeq ($(CONFIG_RTE_LIBRTE_SCHED),y) > +LDFLAGS += -lrt Why are you adding it only for librte_sched? Is it needed by librte_sched or by some functions testing librte_sched?