mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Linux 3.0-rc4 - fail to compile...
       [not found] <BANLkTin+pn=WSegcW7cnHk4=76wHkaHPCw@mail.gmail.com>
@ 2011-06-27 15:55 ` Prateek Sharma
  2011-06-27 16:20   ` Randy Dunlap
  0 siblings, 1 reply; 6+ messages in thread
From: Prateek Sharma @ 2011-06-27 15:55 UTC (permalink / raw)
  To: linux-kernel

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


> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Paul Rolland (???・???)
>
> Sent: Tuesday, June 21, 2011 3:14 PM
> To: Linus Torvalds
> Cc: Linux Kernel Mailing List; rol@witbe.net
> Subject: Re: Linux 3.0-rc4 - fail to compile...
> Hello,
>
> On Mon, 20 Jun 2011 21:02:56 -0700
>
> Linus Torvalds <torvalds@linux-foundation.org> 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

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

* Re: Linux 3.0-rc4 - fail to compile...
  2011-06-27 15:55 ` Linux 3.0-rc4 - fail to compile Prateek Sharma
@ 2011-06-27 16:20   ` Randy Dunlap
  0 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2011-06-27 16:20 UTC (permalink / raw)
  To: Prateek Sharma; +Cc: linux-kernel, akpm, torvalds

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@suse.de>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>



> > -----Original Message-----
> > From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Paul Rolland (???・???)
> >
> > Sent: Tuesday, June 21, 2011 3:14 PM
> > To: Linus Torvalds
> > Cc: Linux Kernel Mailing List; rol@witbe.net
> > Subject: Re: Linux 3.0-rc4 - fail to compile...
> > Hello,
> >
> > On Mon, 20 Jun 2011 21:02:56 -0700
> >
> > Linus Torvalds <torvalds@linux-foundation.org> 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 ***

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

* Re: Linux 3.0-rc4 - fail to compile...
  2011-06-21  7:27   ` KAMEZAWA Hiroyuki
@ 2011-06-21  8:08     ` Paul Rolland
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Rolland @ 2011-06-21  8:08 UTC (permalink / raw)
  To: KAMEZAWA Hiroyuki; +Cc: Linus Torvalds, Linux Kernel Mailing List, rol

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

Hello,

On Tue, 21 Jun 2011 16:27:39 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

> On Tue, 21 Jun 2011 09:13:35 +0200
> Paul Rolland (ポール・ロラン)  <rol@witbe.net> wrote:
> 
> Sorry, now patch is queued into mmotm.
> 
> This patch : http://marc.info/?l=linux-mm-commits&m=130834703319994&w=2

Patch applied cleanly on top of -rc4

Thanks very much, that fixes it !!

Tested-by: Paul Rolland <rol@witbe.net>

Best,
Paul



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* RE: Linux 3.0-rc4 - fail to compile...
  2011-06-21  7:13 ` Linux 3.0-rc4 - fail to compile Paul Rolland
  2011-06-21  7:27   ` KAMEZAWA Hiroyuki
@ 2011-06-21  7:43   ` Deng, Xuyue
  1 sibling, 0 replies; 6+ messages in thread
From: Deng, Xuyue @ 2011-06-21  7:43 UTC (permalink / raw)
  To: Paul Rolland (ポール・ロラン)
  Cc: Linux Kernel Mailing List

Hi, the same issue occurs on my machine.

But I cannot find any explict configuration option to enable CONFIG_NUMA. 
Did you place "CONFIG_NUMA=y" in the .config anyway? 


Best Regards
Deng, xuyue

-----Original Message-----
From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Paul Rolland (???・???)
Sent: Tuesday, June 21, 2011 3:14 PM
To: Linus Torvalds
Cc: Linux Kernel Mailing List; rol@witbe.net
Subject: Re: Linux 3.0-rc4 - fail to compile...

Hello,

On Mon, 20 Jun 2011 21:02:56 -0700
Linus Torvalds <torvalds@linux-foundation.org> 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



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

* Re: Linux 3.0-rc4 - fail to compile...
  2011-06-21  7:13 ` Linux 3.0-rc4 - fail to compile Paul Rolland
@ 2011-06-21  7:27   ` KAMEZAWA Hiroyuki
  2011-06-21  8:08     ` Paul Rolland
  2011-06-21  7:43   ` Deng, Xuyue
  1 sibling, 1 reply; 6+ messages in thread
From: KAMEZAWA Hiroyuki @ 2011-06-21  7:27 UTC (permalink / raw)
  To: Paul Rolland; +Cc: Linus Torvalds, Linux Kernel Mailing List

On Tue, 21 Jun 2011 09:13:35 +0200
Paul Rolland (ポール・ロラン)  <rol@witbe.net> wrote:

> Hello,
> 
> On Mon, 20 Jun 2011 21:02:56 -0700
> Linus Torvalds <torvalds@linux-foundation.org> 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.


Sorry, now patch is queued into mmotm.

This patch : http://marc.info/?l=linux-mm-commits&m=130834703319994&w=2

Thanks,
-Kame



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

* Re: Linux 3.0-rc4 - fail to compile...
  2011-06-21  4:02 Linux 3.0-rc4 Linus Torvalds
@ 2011-06-21  7:13 ` Paul Rolland
  2011-06-21  7:27   ` KAMEZAWA Hiroyuki
  2011-06-21  7:43   ` Deng, Xuyue
  0 siblings, 2 replies; 6+ messages in thread
From: Paul Rolland @ 2011-06-21  7:13 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel Mailing List, rol

[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]

Hello,

On Mon, 20 Jun 2011 21:02:56 -0700
Linus Torvalds <torvalds@linux-foundation.org> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2011-06-27 16:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <BANLkTin+pn=WSegcW7cnHk4=76wHkaHPCw@mail.gmail.com>
2011-06-27 15:55 ` Linux 3.0-rc4 - fail to compile Prateek Sharma
2011-06-27 16:20   ` Randy Dunlap
2011-06-21  4:02 Linux 3.0-rc4 Linus Torvalds
2011-06-21  7:13 ` Linux 3.0-rc4 - fail to compile Paul Rolland
2011-06-21  7:27   ` KAMEZAWA Hiroyuki
2011-06-21  8:08     ` Paul Rolland
2011-06-21  7:43   ` Deng, Xuyue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®