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

From: Randy Dunlap
Date: Mon Jun 27 2011 - 12:20:27 EST


On Mon, 27 Jun 2011 21:25:55 +0530 Prateek Sharma wrote:

> Will this issue be be please fixed in rc5 ? Not being able to even
> compile it is a big hindrance.

I asked Andrew to merge the patch for this but I haven't seen any email
from him recently, so maybe someone else needs to merge the patch.

http://marc.info/?l=linux-mm&m=130827204306775&w=2

Acked-by: Mel Gorman <mgorman@xxxxxxx>
Acked-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>



> > -----Original Message-----
> > From: linux-kernel-owner@xxxxxxxxxxxxxxx [mailto:linux-kernel-owner@xxxxxxxxxxxxxxx] On Behalf Of Paul Rolland (???ã???)
> >
> > Sent: Tuesday, June 21, 2011 3:14 PM
> > To: Linus Torvalds
> > Cc: Linux Kernel Mailing List; rol@xxxxxxxxx
> > Subject: Re: Linux 3.0-rc4 - fail to compile...
> > 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.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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/