Subject: problems with current 20.02.1996 source tree
To: None <current-users@NetBSD.ORG>
From: Thorsten Frueauf <frueauf@ira.uka.de>
List: current-users
Date: 02/20/1996 11:33:24
Hello!

With the current 20.02.1996 source tree I got the following errors:

1) /src/lib/librpcsvc:
cc -O -Werror  -c bootparam_prot.c
In file included from bootparam_prot.h:17,
                 from bootparam_prot.c:6:
/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)
*** Error code 1


2) /src/sbin/nfsiod:
cc -O  -Werror  -c /amd/home/milano/source/netbsd-src/sbin/nfsiod/nfsiod.c
In file included from /amd/home/milano/source/netbsd-src/sbin/nfsiod/nfsiod.c:61
:
/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)
*** Error code 1


3) kernel on amiga:
cc  -O2 -Werror -mc68020 -msoft-float -I. -I../../../../arch -I../../../.. -DTIM
EZONE="0" -DDST="1" -DNMBCLUSTERS="0x400" -DM68030 -DM68020 -DFPCOPROC -DSWAPPAG
ER -DVNODEPAGER -DDEVPAGER -DINET -DIPFILTER -DGATEWAY -DDIRECTED_BROADCAST -DMR
OUTING -DNFSSERVER -DNFSCLIENT -DFFS -DMFS -DPROCFS -DKERNFS -DFDESC -DNULLFS -D
FIFO -DADOSFS -DCD9660 -DUNION -DUMAPFS -DCOMPAT_10 -DCOMPAT_09 -DCOMPAT_43 -DCO
MPAT_SUNOS -DTCP_COMPAT_42 -DCOMPAT_NOMID -DSYSVSHM -DSYSVMSG -DSYSVSEM -DGENERI
C -DLKM -DKTRACE -DDIAGNOSTIC -DNKMEMCLUSTERS=256 -DPANICWAIT -DDEBUG -DDDB -DKB
DRESET -DMACHINE_NONCONTIG -DCL5426CONSOLE -DGRF_CL5426 -D_KERNEL -Dmc68020 -Dam
iga  -c ../../../../arch/amiga/dev/ite.c
cc1: warnings being treated as errors
../../../../arch/amiga/dev/ite.c:1332: warning: static declaration for `strncmp'
 follows non-static
../../../../arch/amiga/dev/ite.c: In function `strncmp':
../../../../arch/amiga/dev/ite.c:1334: argument `l' doesn't match prototype
../../../../lib/libkern/libkern.h:119: prototype declaration
*** Error code 1


I "fixed" 1) and 2) with temporary defines of NFSKERBKEY_T and NFS_NPROCS in the
depending source files, but of course this is no proper solution.

Anyone has an idea about 3)?

Thanx for any help in advance!

Greets
      Thorsten