Subject: Re: More NFS v2 problems?
To: None <neil@domino.org>
From: Paul Goyette <paul@pgoyette.bdt.com>
List: current-users
Date: 02/25/1996 04:59:06
> > This is from yesterday's (23-Feb) sup:
> > 
> > cc  -O -Werror -msoft-float -I. -I../../../../arch -I../../../.. 
> > -DTIMEZONE="0" -DDST="0" -DHZ="0x3c" -DMAXFDESCS="0x800" -DSWAPPAGER 
> > -DVNODEPAGER -DDEVPAGER -DDIAGNOSTIC -DKTRACE -DGDB -DFIFO -DDDB -DFFS 
> > -DQUOTA -DMFS -DNFSSERVER -DNFSCLIENT -DNULLFS -DCD9660 -DKERNFS -DFDESC 
> > -DPROCFS -DUNION -DLKM -DSCSI -DINET -DTCP_COMPAT_42 -DGATEWAY 
> > -DCOMPAT_42 -DCOMPAT_43 -DNS -DMAPMEM -DSYSVSHM -DSYSVSEM -DSYSVMSG 
> > -DM68030 -DFPSP -DFPU_EMULATE -DCOMPAT_NOMID -DCOMPAT_SUNOS -DCOMPAT_09 
> > -DCOMPAT_10 -DMACHINE_NONCONTIG -D_KERNEL -Dmc68020 -Dmac68k  -c 
> > ../../../../nfs/nfs_boot.c
> > In file included from ../../../../nfs/nfs_boot.c:51:
> > ../../../../nfs/nfsdiskless.h:55: `NFSX_V2FH' undeclared here (not in a 
> > function)
> > In file included from ../../../../nfs/nfs_boot.c:54:
> > ../../../../nfs/nfs_var.h:78: parse error before `*'
> > ../../../../nfs/nfs_var.h:79: parse error before `nfsfh_t'
> > ../../../../nfs/nfs_var.h:293: parse error before `*'
> >k cc1: warnings being treated as errors
> > ../../../../nfs/nfs_var.h:293: warning: data definition has no type or 
> > storage class
> > *** Error code 1
> > 
> Make sure you have the new includes installed, and also do a make clean,
> config MAKEFILE, make depend, make. This worked for me.

OK - there's egg on my face!  Seems I had a temporary patched version of 
nfs_boot.c in the upper layer of my source tree union fs.  I took it out, 
and the "official" version that sits in the lower layer compiles fine!