From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id EC4DD7E6A for ; Wed, 17 Dec 2014 13:55:35 +0100 (CET) Received: by mail-wi0-f180.google.com with SMTP id n3so15981803wiv.1 for ; Wed, 17 Dec 2014 04:55:35 -0800 (PST) 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:in-reply-to :references; bh=6YPhjYsbjep4/8AWGZSWryfBmUzVpwNt5EHmbFACGJo=; b=Q5PRR7ZJ8bpoL/kDI0BQdCNkFRS1/YRyTvxE44oMrCrqL4KeoaC9lK4+37RkelWc+9 kzrKfM7ObttPMLzobWZ6g4gsDGkUG5vvOCbPnrmgpOM57u/6mGE9F1Fa1bpkyf9QPMiX 5vLlqew8na9dvGbSx1JF/OsLvo2lOao96ED+svKo9Bm4QSspMpGns8lG7ixSmLgBY0lM Y+jyVWXXMUq6wKYnx/L5D2nYcdmdQKLeqDH0ekmqo6QMzMFhoO70UImcVHs3fIlNnsll hK44aG2HFkjXx6QZp31GTpI2we8Is+J5fz3r3FdHG2eP+lOhEXlkApPqozUapYa4+e8/ epXw== X-Gm-Message-State: ALoCoQkrPkAA02aiOSpoGmi3iDW2B/NuXWN0huPgsBIamikc8hESjAnWEMQULFIQ8prvu+Jy+B59 X-Received: by 10.194.5.227 with SMTP id v3mr73420596wjv.63.1418820935839; Wed, 17 Dec 2014 04:55:35 -0800 (PST) Received: from glumotte.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id gs10sm6948929wib.12.2014.12.17.04.55.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Dec 2014 04:55:35 -0800 (PST) From: Olivier Matz To: dev@dpdk.org Date: Wed, 17 Dec 2014 13:55:24 +0100 Message-Id: <1418820925-20318-5-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1418820925-20318-1-git-send-email-olivier.matz@6wind.com> References: <1418820925-20318-1-git-send-email-olivier.matz@6wind.com> Subject: [dpdk-dev] [PATCH 4/5] examples/vm_power_manager: move -lvirt in LDLIBS 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: Wed, 17 Dec 2014 12:55:36 -0000 The argument -lvirt is a linker parameter, not a CFLAG. Signed-off-by: Olivier Matz --- examples/vm_power_manager/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/vm_power_manager/Makefile b/examples/vm_power_manager/Makefile index b0a1037..113dbc4 100644 --- a/examples/vm_power_manager/Makefile +++ b/examples/vm_power_manager/Makefile @@ -45,9 +45,11 @@ APP = vm_power_mgr SRCS-y := main.c vm_power_cli.c power_manager.c channel_manager.c SRCS-y += channel_monitor.c -CFLAGS += -O3 -lvirt -I$(RTE_SDK)/lib/librte_power/ +CFLAGS += -O3 -I$(RTE_SDK)/lib/librte_power/ CFLAGS += $(WERROR_FLAGS) +LDLIBS += -lvirt + # workaround for a gcc bug with noreturn attribute # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603 ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y) -- 2.1.3