Subject: problems with current 21.02.96 source tree
To: None <current-users@NetBSD.ORG>
From: Thorsten Frueauf <frueauf@ira.uka.de>
List: current-users
Date: 02/21/1996 18:31:01
Hello!

I have the following problems with the current 21.02.1996 source tree:


/src/bin/dd:
cc -O  -Werror  -c /src/bin/dd/args.c
cc1: warnings being treated as errors
/src/bin/dd/args.c:288: warning: initialization discards `const' from pointer target type
/src/bin/dd/args.c:290: warning: initialization discards `const' from pointer target type
/src/bin/dd/args.c:291: warning: initialization discards `const' from pointer target type
/src/bin/dd/args.c:295: warning: initialization discards `const' from pointer target type
/src/bin/dd/args.c:296: warning: initialization discards `const' from pointer target type
/src/bin/dd/args.c:297: warning: initialization discards `const' from pointer target type
*** Error code 1


/src/sbin/nfsiod:
mkdep -a /src/sbin/nfsiod/nfsiod.c
/src/sbin/nfsiod/nfsiod.c:60: nfs/nfsv2.h: No such file or directory


/src/usr.bin/fstat:
mkdep -a /src/usr.bin/fstat/fstat.c
/src/usr.bin/fstat/fstat.c:65: nfs/nfsv2.h: No such file or directory


/src/usr.sbin/pstat:
cc -O -Dhp300  -Werror  -c /src/usr.sbin/pstat/pstat.c
In file included from /usr/include/nfs/nfsnode.h:46,
                 from /src/usr.sbin/pstat/pstat.c:64:
/usr/include/nfs/nfs.h:169: parse error before `NFSKERBKEY_T'
cc1: warnings being treated as errors
/usr/include/nfs/nfs.h:169: warning: no semicolon at end of struct or union
/usr/include/nfs/nfs.h:180: parse error before `NFSKERBKEY_T'
/usr/include/nfs/nfs.h:180: warning: no semicolon at end of struct or union
/usr/include/nfs/nfs.h:203: `NFS_NPROCS' undeclared here (not in a function)
/usr/include/nfs/nfs.h:205: `NFS_NPROCS' undeclared here (not in a function)
In file included from /src/usr.sbin/pstat/pstat.c:64:
/usr/include/nfs/nfsnode.h:73: parse error before `nfsuint64'
/usr/include/nfs/nfsnode.h:73: warning: no semicolon at end of struct or union
/usr/include/nfs/nfsnode.h:100: parse error before `nfsfh_t'
/usr/include/nfs/nfsnode.h:100: warning: no semicolon at end of struct or union
/usr/include/nfs/nfsnode.h:106: parse error before `nfsuint64'
/usr/include/nfs/nfsnode.h:106: warning: no semicolon at end of struct or union
/usr/include/nfs/nfsnode.h:107: warning: data definition has no type or storage class
/usr/include/nfs/nfsnode.h:118: parse error before `n_fh'
/usr/include/nfs/nfsnode.h:118: warning: data definition has no type or storage class
/src/usr.sbin/pstat/pstat.c: In function `nfs_print':
/src/usr.sbin/pstat/pstat.c:487: storage size of `nfsnode' isn't known
/src/usr.sbin/pstat/pstat.c:494: dereferencing pointer to incomplete type
/src/usr.sbin/pstat/pstat.c:514: dereferencing pointer to incomplete type
/src/usr.sbin/pstat/pstat.c:515: dereferencing pointer to incomplete type
/src/usr.sbin/pstat/pstat.c:516: dereferencing pointer to incomplete type
/src/usr.sbin/pstat/pstat.c:516: dereferencing pointer to incomplete type
/src/usr.sbin/pstat/pstat.c:517: dereferencing pointer to incomplete type
/src/usr.sbin/pstat/pstat.c:519: dereferencing pointer to incomplete type
/src/usr.sbin/pstat/pstat.c:519: dereferencing pointer to incomplete type
/src/usr.sbin/pstat/pstat.c:523: dereferencing pointer to incomplete type
*** Error code 1


Anyone noticed those too and has a fix?

Thanx for any help in advance!

Greets
      Thorsten