Re: undefined reference to `sys_nfsservctl'

From: Stephen Rothwell
Date: Wed Aug 31 2011 - 01:12:41 EST


Hi Kumar,

On Tue, 30 Aug 2011 23:38:48 -0500 Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature