Re: 2.1.46 compilation error

Fred Love (flove@mindspring.com)
Sun, 20 Jul 1997 13:12:08 -0500


Jason Burrell wrote:
>
> I get this when compiling modules under 2.1.46.
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.45/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
> -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS
> -include /usr/src/linux-2.1.45/include/linux/modversions.h -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/linux-2.1.45/fs/nfsd'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory /usr/src/linux-2.1.45/fs'
> make: *** [modules] Error 2

I got the smae thing, had to remove NFSD from compiled kernel.

Fred