All of lore.kernel.org
 help / color / mirror / Atom feed
* undefined reference to `sys_nfsservctl'
@ 2011-08-29  4:44 Christian Kujau
  2011-08-29  6:17 ` Stephen Rothwell
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Kujau @ 2011-08-29  4:44 UTC (permalink / raw)
  To: LKML; +Cc: Trond.Myklebust

When trying to compile 3.1-rc3 (git -c11a7e2), this happens after MODPOST:

  MODPOST vmlinux.o
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/powerpc/kernel/built-in.o: In function `sys_call_table':
(.text+0x5be0): undefined reference to `sys_nfsservctl'
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [sub-make] Error 2

Full make.log and .config: http://nerdbynature.de/bits/3.1-rc3/nfs/

This message can be found in an older thread, around 2.5.7:

  http://lkml.indiana.edu/hypermail/linux/kernel/0203.2/1006.html

In my .config I have set (from "make oldconfig")

# CONFIG_NFS_FS is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y
CONFIG_NFS_COMMON=y

Any ideas?

Christian.
-- 
BOFH excuse #332:

suboptimal routing experience

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

* Re: undefined reference to `sys_nfsservctl'
  2011-08-29  4:44 undefined reference to `sys_nfsservctl' Christian Kujau
@ 2011-08-29  6:17 ` Stephen Rothwell
  2011-08-29 15:11   ` Christian Kujau
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2011-08-29  6:17 UTC (permalink / raw)
  To: Christian Kujau; +Cc: LKML, Trond.Myklebust

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

Hi Christian,

On Sun, 28 Aug 2011 21:44:50 -0700 (PDT) Christian Kujau <lists@nerdbynature.de> wrote:
>
> When trying to compile 3.1-rc3 (git -c11a7e2), this happens after MODPOST:
> 
>   MODPOST vmlinux.o
> WARNING: modpost: Found 1 section mismatch(es).
> To see full details build your kernel with:
> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>   GEN     .version
>   CHK     include/generated/compile.h
>   UPD     include/generated/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> arch/powerpc/kernel/built-in.o: In function `sys_call_table':
> (.text+0x5be0): undefined reference to `sys_nfsservctl'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make: *** [sub-make] Error 2

I posted a patch to Linus earlier today (subject of lkml message:
"linux-next: build failure in Linus' tree").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

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

* Re: undefined reference to `sys_nfsservctl'
  2011-08-29  6:17 ` Stephen Rothwell
@ 2011-08-29 15:11   ` Christian Kujau
  2011-08-31  4:38     ` Kumar Gala
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Kujau @ 2011-08-29 15:11 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: LKML, Trond.Myklebust, neilb, bfields

On Mon, 29 Aug 2011 at 16:17, Stephen Rothwell wrote:
> >   MODPOST vmlinux.o
> > WARNING: modpost: Found 1 section mismatch(es).
> > To see full details build your kernel with:
> > 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> >   GEN     .version
> >   CHK     include/generated/compile.h
> >   UPD     include/generated/compile.h
> >   CC      init/version.o
> >   LD      init/built-in.o
> >   LD      .tmp_vmlinux1
> > arch/powerpc/kernel/built-in.o: In function `sys_call_table':
> > (.text+0x5be0): undefined reference to `sys_nfsservctl'
> > make[1]: *** [.tmp_vmlinux1] Error 1
> > make: *** [sub-make] Error 2
> 
> I posted a patch to Linus earlier today (subject of lkml message:
> "linux-next: build failure in Linus' tree").

Ah, thanks. Will try. Meanwhile I've just reverted 
f5b940997397229975ea073679b03967932a541b (All Arch: remove linkage for 
sys_nfsservctl system call) and it compiled w/o errors too.

Christian.
-- 
BOFH excuse #364:

Sand fleas eating the Internet cables

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

* Re: undefined reference to `sys_nfsservctl'
  2011-08-29 15:11   ` Christian Kujau
@ 2011-08-31  4:38     ` Kumar Gala
  2011-08-31  5:12       ` Stephen Rothwell
  0 siblings, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2011-08-31  4:38 UTC (permalink / raw)
  To: Christian Kujau
  Cc: Stephen Rothwell, lkml list, Trond.Myklebust, neilb, bfields,
	Benjamin Herrenschmidt


On Aug 29, 2011, at 10:11 AM, Christian Kujau wrote:

> On Mon, 29 Aug 2011 at 16:17, Stephen Rothwell wrote:
>>>  MODPOST vmlinux.o
>>> WARNING: modpost: Found 1 section mismatch(es).
>>> To see full details build your kernel with:
>>> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>>>  GEN     .version
>>>  CHK     include/generated/compile.h
>>>  UPD     include/generated/compile.h
>>>  CC      init/version.o
>>>  LD      init/built-in.o
>>>  LD      .tmp_vmlinux1
>>> arch/powerpc/kernel/built-in.o: In function `sys_call_table':
>>> (.text+0x5be0): undefined reference to `sys_nfsservctl'
>>> make[1]: *** [.tmp_vmlinux1] Error 1
>>> make: *** [sub-make] Error 2
>> 
>> I posted a patch to Linus earlier today (subject of lkml message:
>> "linux-next: build failure in Linus' tree").
> 
> Ah, thanks. Will try. Meanwhile I've just reverted 
> f5b940997397229975ea073679b03967932a541b (All Arch: remove linkage for 
> sys_nfsservctl system call) and it compiled w/o errors too.
> 
> Christian.

Posted patch to fix this on PPC.  Hopefully BenH will notice ;)

- k

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

* Re: undefined reference to `sys_nfsservctl'
  2011-08-31  4:38     ` Kumar Gala
@ 2011-08-31  5:12       ` Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2011-08-31  5:12 UTC (permalink / raw)
  To: Kumar Gala
  Cc: Christian Kujau, lkml list, Trond.Myklebust, neilb, bfields,
	Benjamin Herrenschmidt

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

Hi Kumar,

On Tue, 30 Aug 2011 23:38:48 -0500 Kumar Gala <galak@kernel.crashing.org> wrote:
> 
> On Aug 29, 2011, at 10:11 AM, Christian Kujau wrote:
> 
> > On Mon, 29 Aug 2011 at 16:17, Stephen Rothwell wrote:
> >>>  MODPOST vmlinux.o
> >>> WARNING: modpost: Found 1 section mismatch(es).
> >>> To see full details build your kernel with:
> >>> 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
> >>>  GEN     .version
> >>>  CHK     include/generated/compile.h
> >>>  UPD     include/generated/compile.h
> >>>  CC      init/version.o
> >>>  LD      init/built-in.o
> >>>  LD      .tmp_vmlinux1
> >>> arch/powerpc/kernel/built-in.o: In function `sys_call_table':
> >>> (.text+0x5be0): undefined reference to `sys_nfsservctl'
> >>> make[1]: *** [.tmp_vmlinux1] Error 1
> >>> make: *** [sub-make] Error 2
> >> 
> >> I posted a patch to Linus earlier today (subject of lkml message:
> >> "linux-next: build failure in Linus' tree").
> > 
> > Ah, thanks. Will try. Meanwhile I've just reverted 
> > f5b940997397229975ea073679b03967932a541b (All Arch: remove linkage for 
> > sys_nfsservctl system call) and it compiled w/o errors too.
> 
> Posted patch to fix this on PPC.  Hopefully BenH will notice ;)

And Linus took my patch today, so already fixed upstream.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

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

end of thread, other threads:[~2011-08-31  5:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-29  4:44 undefined reference to `sys_nfsservctl' Christian Kujau
2011-08-29  6:17 ` Stephen Rothwell
2011-08-29 15:11   ` Christian Kujau
2011-08-31  4:38     ` Kumar Gala
2011-08-31  5:12       ` Stephen Rothwell

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.