perf probe: Build error with missing libraries

From: Arnaldo Carvalho de Melo
Date: Mon Jan 13 2014 - 13:06:17 EST


On a Ubuntu system just installed (13.10, x86_64), I'm installing the
devel libs one by one to check if there are problems with the automatic
disabling of features that requires libraries not installed.

Stumbled at this:

CC /tmp/build/perf/util/probe-event.o
util/probe-event.c: In function âtry_to_find_probe_trace_eventsâ:
util/probe-event.c:753:46: error: unused parameter âtargetâ
[-Werror=unused-parameter]
int max_tevs __maybe_unused, const char *target)
^
util/probe-event.c: At top level:
util/probe-event.c:193:12: error: âget_text_start_addressâ defined but
not used [-Werror=unused-function]
static int get_text_start_address(const char *exec, unsigned long
*address)
^
cc1: all warnings being treated as errors
make[1]: *** [/tmp/build/perf/util/probe-event.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 2
make: Leaving directory `/home/acme/git/linux/tools/perf'
acme@ubuntu13:~/git/linux$

Investigating...

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/