From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751766AbbB1Iqy (ORCPT ); Sat, 28 Feb 2015 03:46:54 -0500 Received: from mail-we0-f170.google.com ([74.125.82.170]:38787 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750829AbbB1Iqv (ORCPT ); Sat, 28 Feb 2015 03:46:51 -0500 Date: Sat, 28 Feb 2015 09:46:42 +0100 From: Ingo Molnar To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, David Ahern , Jiri Olsa , Namhyung Kim , Peter Zijlstra , Arnaldo Carvalho de Melo Subject: [PATCH v2] perf tools: Improve libbfd detection message Message-ID: <20150228084610.GE31887@gmail.com> References: <1425064989-26440-1-git-send-email-acme@kernel.org> <20150228081248.GA31856@gmail.com> <20150228084134.GD31887@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150228084134.GD31887@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Before: No bfd.h/libbfd found, install binutils-dev[el]/zlib-static to gain symbol demangling After: No bfd.h/libbfd found, please install binutils-dev[el]/zlib-static/libiberty-dev to gain symbol demangling Change the message to the standard 'please install' language and also add libiberty-dev suggestion for Ubuntu systems. Signed-off-by: Ingo Molnar -- v2: Added the 'libiberty-dev' package suggestion. diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index c3570b5f3bf3..7649cb87a03a 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile @@ -636,7 +635,7 @@ else EXTLIBS += -liberty CFLAGS += -DHAVE_CPLUS_DEMANGLE_SUPPORT else - msg := $(warning No bfd.h/libbfd found, install binutils-dev[el]/zlib-static to gain symbol demangling) + msg := $(warning No bfd.h/libbfd found, please install binutils-dev[el]/zlib-static/libiberty-dev to gain symbol demangling) CFLAGS += -DNO_DEMANGLE endif endif