Subject: Re: some problems with current source tree
To: None <frueauf@ira.uka.de>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 02/15/1996 10:19:52
>From: Thorsten Frueauf <frueauf@ira.uka.de>
>Date: Mon, 12 Feb 1996 18:10:33 +0000 (GMT)
>
>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

This is a /bin/sh bug, that was fixed a day or two ago.  Rebuild sh.

>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

Same as (3), below.

>3) make in /src/libexec/lfs_cleanerd:

/usr/src/sys/ufs/lfs/lfs_cksum.c is referenced by
/usr/src/libexec/lfs_cleanerd and /usr/src/sbin/{dumplfs,newlfs}.  I
worked around this problem by wrapping the

#include <ufs/lfs/lfs_extern.h>

line in lfs_cksum.c with an "#ifdef _KERNEL".
-- 
Mike Long <mike.long@analog.com>           http://www.shore.net/~mikel
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil