Re: new NFS fails compile

Bill Hawes (whawes@star.net)
Wed, 10 Dec 1997 12:31:50 -0500


Brian wrote:
>
> In an attempt to get my system up to date with all listed in
> linux/Documentation/Changes, I tried to install linux-nfs-0.4.21,
>
> This is on a Slackware 3.2 system with everything else in the Changes file
> updated. make fails:
>
> Wall -m486 -pipe -DHAVE_NETGROUPS -Wno-unused -c getfh.c -o getfh.o gcc -g
> -O2 -I../../support/include -I../../kernel/include -I../../ksrc/include
> -Wall -m486 -pipe -DHAVE_NETGROUPS -Wno-unused -c nfsctl.c -o nfsctl.o
> nfsctl.c: In function `nfsctl':
> nfsctl.c:18: `__NR_nfsservctl' undeclared (first use this function)
> nfsctl.c:18: (Each undeclared identifier is reported only once
> nfsctl.c:18: for each function it appears in.)
> nfsctl.c:18: warning: `__res' might be used uninitialized in this function
> make[2]: *** [nfsctl.o] Error 1
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>
> Does anyone know what this could be?

If I recall, you don't need to build anything in the kernel directory --
it's already part of the 2.1.xx kernel. Try modifying the makefile to
not build anything in that directory.

The linux-nfs package hasn't been updated in a while.

Regards,
Bill