2.1.45 and nfsd module

Russell Coker - mailing lists account (bofh@snoopy.virtual.net.au)
Fri, 18 Jul 97 10:58:22 +1100


When trying to compile 2.1.45 with nfsd as a kernel module I get the
following error:

make[2]: Entering directory `/usr/src/t/linux/fs/nfsd'
gcc -D__KERNEL__ -I/usr/src/t/linux/include -Wall -Wstrict-prototypes -O2
-fomit -frame-pointer -pipe -m486 -DCPU=486 -DMODULE -c -o nfssvc.o
nfssvc.c gcc -D__KERNEL__ -I/usr/src/t/linux/include -Wall
-Wstrict-prototypes -O2 -fomit -frame-pointer -pipe -m486 -DCPU=486
-DMODULE -c -o nfsctl.o nfsctl.c nfsctl.c: In function `init_module':
nfsctl.c:227: warning: assignment from incompatible pointer type gcc
-D__KERNEL__ -I/usr/src/t/linux/include -Wall -Wstrict-prototypes -O2
-fomit -frame-pointer -pipe -m486 -DCPU=486 -DMODULE -c -o nfsproc.o
nfsproc.c nfsproc.c: In function `nfsd_proc_create':
nfsproc.c:220: structure has no member named `fh_inode'
nfsproc.c:233: structure has no member named `fh_inode'
nfsproc.c:200: warning: `dirp' might be used uninitialized in this function
make[2]: *** [nfsproc.o] Error 1
make[2]: Leaving directory `/usr/src/t/linux/fs/nfsd'

Let me know if you'd like more details.

Russell Coker