Re: tools/vm build fails

From: Fengguang Wu
Date: Mon Oct 22 2012 - 20:20:06 EST


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@xxxxxxxxxx>

UAPI: (Scripted) Disintegrate include/linux


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

Thanks,
Fengguang
--
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/