Subject: Re: More NFS v2 problems?
To: Paul Goyette <paul@pgoyette.bdt.com>
From: Neil J. McRae <neil@domino.org>
List: current-users
Date: 02/25/1996 10:36:58
On Sat, 24 Feb 1996 05:16:10 -0800 (PST) 
 Paul Goyette <paul@pgoyette.bdt.com> wrote:

> 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.

Neil

--  
Neil J. McRae                                 DNS: Domino Network Services
neil@domino.org         NetBSD/sparc: 100% SpF (Solaris protection Factor)   
  Free the daemon in your computer!