All of lore.kernel.org
 help / color / mirror / Atom feed
* tools/vm build fails
@ 2012-10-23  0:00 Daniel Hazelton
  2012-10-23  0:20 ` Fengguang Wu
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Hazelton @ 2012-10-23  0:00 UTC (permalink / raw)
  To: linux-kernel, akpm, fengguang.wu, kosaki.motohiro, drepper, paulmck

After doing any build in the kernel (last attempt was an allmodconfig) 
I've tried to build the 'vm' tool in tools/vm and the build fails - 
looks to be fallout from the uapi header work.

[madman@localhost tools]$ make V=1 vm
make -C vm/
make[1]: Entering directory `/home/madman/sources/linux-2.6/tools/vm'
gcc -Wall -Wextra -o page-types page-types.c
In file included from page-types.c:38:0:
../../include/linux/kernel-page-flags.h:4:42: fatal error: 
uapi/linux/kernel-page-flags.h: No such file or directory
compilation terminated.
make[1]: *** [page-types] Error 1
make[1]: Leaving directory `/home/madman/sources/linux-2.6/tools/vm'
make: *** [vm] Error 2

I'm not a kernel developer (I've tried and been unable to wrap my head 
around any part that I was going to try working on :( )and was just 
trying bits in tools/ at random to see what, exactly, they were and this 
kept happening, no matter the state of the tree.

I updated my git tree about 3 hours ago to mirror the latest Linus from 
git.kernel.org after having run into this error yesterday and deciding I 
must have done something wrong. This looks like it might be a missing -I 
or similar since the file does exist and is at that exact path from the 
file that is directly including it.

DRH

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: tools/vm build fails
  2012-10-23  0:00 tools/vm build fails Daniel Hazelton
@ 2012-10-23  0:20 ` Fengguang Wu
  0 siblings, 0 replies; 2+ messages in thread
From: Fengguang Wu @ 2012-10-23  0:20 UTC (permalink / raw)
  To: Daniel Hazelton, David Howells
  Cc: linux-kernel, akpm, kosaki.motohiro, drepper, paulmck

Hi Daniel,

On Mon, Oct 22, 2012 at 08:00:56PM -0400, Daniel Hazelton wrote:
> After doing any build in the kernel (last attempt was an
> allmodconfig) I've tried to build the 'vm' tool in tools/vm and the
> build fails - looks to be fallout from the uapi header work.
> 
> [madman@localhost tools]$ make V=1 vm
> make -C vm/
> make[1]: Entering directory `/home/madman/sources/linux-2.6/tools/vm'
> gcc -Wall -Wextra -o page-types page-types.c
> In file included from page-types.c:38:0:
> ../../include/linux/kernel-page-flags.h:4:42: fatal error:
> uapi/linux/kernel-page-flags.h: No such file or directory
> compilation terminated.
> make[1]: *** [page-types] Error 1
> make[1]: Leaving directory `/home/madman/sources/linux-2.6/tools/vm'
> make: *** [vm] Error 2

That must be related to:

commit 607ca46e97a1b6594b29647d98a32d545c24bdff
Author:     David Howells <dhowells@redhat.com>

    UAPI: (Scripted) Disintegrate include/linux


It should be trivially fixable in several ways, and David must know
the best way. :)

Thanks,
Fengguang

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-23  0:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-23  0:00 tools/vm build fails Daniel Hazelton
2012-10-23  0:20 ` Fengguang Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.