Re: Linux 3.0-rc4 - fail to compile...

From: ããããããã
Date: Tue Jun 21 2011 - 03:13:47 EST


Hello,

On Mon, 20 Jun 2011 21:02:56 -0700
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> Mostly the usual small driver one- (or few-) liners, and some bigger
> changes to drm (and md). But also two new smallish drivers
> (net/usb/kalmia.c, and the ADP8870 backlight driver). Some filesystem
> fixes (btrfs, cifs, afs, xfs, nfsd).

This is failing to compile on my machine :
...
CC mm/page_cgroup.o
CC fs/direct-io.o
mm/page_cgroup.c: In function âpage_cgroup_initâ:
mm/page_cgroup.c:308: error: implicit declaration of function ânode_start_pfnâ
mm/page_cgroup.c:309: error: implicit declaration of function ânode_end_pfnâ
make[1]: *** [mm/page_cgroup.o] Error 1
make: *** [mm] Error 2
make: *** Waiting for unfinished jobs....
CC fs/mpage.o
CC fs/ioprio.o

This seems to be caused by arch/x86/include/asm/mmzone_64.h which only defines
node_start_pfn and node_end_pfn if CONFIG_NUMA is set.

Adding CONFIG_NUMA to my .config fixes the issue.

Paul


Attachment: signature.asc
Description: PGP signature