lkml.org 
[lkml]   [2013]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:perf/urgent] perf tools: Fix build errors with O and DESTDIR make vars set
On 12.07.13 01:49:40, tip-bot for Robert Richter wrote:
> Commit-ID: 107de3724eff5a6fa6474a4d2aa5460b63749ebf
> Gitweb: http://git.kernel.org/tip/107de3724eff5a6fa6474a4d2aa5460b63749ebf
> Author: Robert Richter <robert.richter@linaro.org>
> AuthorDate: Tue, 11 Jun 2013 17:22:38 +0200
> Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
> CommitDate: Mon, 8 Jul 2013 17:34:00 -0300
>
> perf tools: Fix build errors with O and DESTDIR make vars set
>
> Fixing build errors with O and DESTDIR make vars set:
>
> $ make prefix=/usr/local O=$builddir DESTDIR=$destdir -C tools/ perf
> ...
> make[1]: Entering directory `.../.source/perf/tools/perf'
> CC .../.build/perf/perf/util/parse-events.o
> util/parse-events.c:14:32: fatal error: parse-events-bison.h: No such file or directory
> compilation terminated.
> make[1]: *** [.../.build/perf/perf/util/parse-events.o] Error 1
> ...

Boris just raised another variant of building perf tools, which
unfortunately is broken now:

$ make tools/perf
LINK /home/robert/cx/linux/tools/perf/perf
gcc: error: ../linux/tools/lib/lk/liblk.a: No such file or directory

There is also

$ make -C tools perf
$ make -C tools/perf

Plus variants with O= and DESTDIR set.

Looking how to fix this...

-Robert


\
 
 \ /
  Last update: 2013-07-12 12:21    [W:0.080 / U:3.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site