Messages in this thread Patch in this message | | | Date | Sat, 28 Feb 2015 09:46:42 +0100 | From | Ingo Molnar <> | Subject | [PATCH v2] perf tools: Improve libbfd detection message |
| |
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 <mingo@kernel.org> --
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
| |