Re: Perf tool won't build without libnewt

From: Mark Rutland
Date: Wed Mar 20 2013 - 09:38:36 EST


On Wed, Mar 20, 2013 at 01:23:22PM +0000, Arnaldo Carvalho de Melo wrote:
> Em Wed, Mar 20, 2013 at 12:11:11PM +0000, Mark Rutland escreveu:
> > I attempted to cross-build v3.9-rc3's perf tool for an arm system today, and
> > got the following out of the build system:
> >
> > CHK libnewt
> > Makefile:655: newt not found, disables TUI support. Please install newt-devel or libnewt-dev
> > [...]
> > builtin-report.c: In function â__cmd_reportâ:
> > builtin-report.c:478:15: error: âK_SWITCH_INPUT_DATAâ undeclared (first use in this function)
> > builtin-report.c:478:15: note: each undeclared identifier is reported only once for each function it appears in
> > builtin-report.c: In function âcmd_reportâ:
> > builtin-report.c:821:13: error: âK_SWITCH_INPUT_DATAâ undeclared (first use in this function)
> > make: *** [builtin-report.o] Error 1
> > make: *** Waiting for unfinished jobs....
> >
> > I've bisected this down to ad0de0971b: "perf report: Enable the runtime
> > switching of perf data file".
>
> Can you try with latest tip/perf/urgent, should go to Linus soon.
>
> This cset should fix it:

Indeed it does.

>
> commit 5f7439e07822942f32b9e0a66f4a3cc9c3e29e67
> Author: Michael Ellerman <michael@xxxxxxxxxxxxxx>
> Date: Tue Feb 26 16:02:03 2013 +1100
>
> perf report: Fix build with NO_NEWT=1
>
> ----
>
> Thanks for reporting!
>
> - Arnaldo

Cheers,
Mark.
--
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/