Subject: some problems with current source tree
To: None <current-users@NetBSD.ORG>
From: Thorsten Frueauf <frueauf@ira.uka.de>
List: current-users
Date: 02/12/1996 18:10:33
Hello!
I noticed several problems with the current 12.02.1996 source tree:
1) The recent changes to /src/share/mk/bsd.man.mk lead to strange errors
like:
install -c -o bin -g bin -m 444 symlink.cat7 /usr/share/man/catsymlink.cat7/syml
ink.0
install: /usr/share/man/catsymlink.cat7/symlink.0: No such file or directory
*** Error code 1
Stop.
2) make in /src/sbin/newlfs:
cc -O -Werror -c /home/milano/source/netbsd-src/sbin/newlfs/../../sys/ufs/lfs/
lfs_cksum.c
cc1: warnings being treated as errors
In file included from /home/milano/source/netbsd-src/sbin/newlfs/../../sys/ufs/l
fs/lfs_cksum.c:39:
/usr/include/ufs/lfs/lfs_extern.h:116: warning: `struct ucred' declared inside p
arameter list
/usr/include/ufs/lfs/lfs_extern.h:116: warning: its scope is only this definitio
n or declaration,
/usr/include/ufs/lfs/lfs_extern.h:116: warning: which is probably not what you w
ant.
/usr/include/ufs/lfs/lfs_extern.h:118: warning: `struct ucred' declared inside p
arameter list
*** Error code 1
Stop.
3) make in /src/libexec/lfs_cleanerd:
cc -O -I/home/milano/source/netbsd-src/libexec/lfs_cleanerd -DDIAGNOSTIC -Werro
r -c /home/milano/source/netbsd-src/libexec/lfs_cleanerd/../../sys/ufs/lfs/lfs_
cksum.c
cc1: warnings being treated as errors
In file included from /home/milano/source/netbsd-src/libexec/lfs_cleanerd/../../
sys/ufs/lfs/lfs_cksum.c:39:
/usr/include/ufs/lfs/lfs_extern.h:116: warning: `struct ucred' declared inside p
arameter list
/usr/include/ufs/lfs/lfs_extern.h:116: warning: its scope is only this definitio
n or declaration,
/usr/include/ufs/lfs/lfs_extern.h:116: warning: which is probably not what you w
ant.
/usr/include/ufs/lfs/lfs_extern.h:118: warning: `struct ucred' declared inside p
arameter list
*** Error code 1
Stop.
4) makeing a 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_ECS -DGRF_NTSC -DGRF_PAL -DGRF_
CL5426 -D_KERNEL -Dmc68020 -Damiga -c ../../../../kern/init_main.c
In file included from ../../../../kern/init_main.c:65:
../../../../sys/cpu.h:43: conflicting types for `delay'
machine/param.h:230: previous declaration of `delay'
*** Error code 1
Stop.
Point 4) I solved with the following patch to /src/sys/sys/cpu.h:
*** cpu.h-orig Sun Feb 11 13:21:06 1996
--- cpu.h Mon Feb 12 16:15:32 1996
***************
*** 40,46 ****
void consinit __P((void));
void boot __P((int));
void pagemove __P((caddr_t, caddr_t, size_t));
! void delay __P((unsigned));
void cpu_exit __P((struct proc *));
void cpu_startup __P((void));
--- 40,46 ----
void consinit __P((void));
void boot __P((int));
void pagemove __P((caddr_t, caddr_t, size_t));
! void delay __P((int));
void cpu_exit __P((struct proc *));
void cpu_startup __P((void));
But I dunno if that one is a proper patch.
Has anyone got those too? Any suggestions on how to solve them?
Thanx for any help in advance!
Greets
Thorsten