Subject: Re: DINODE_SIZE
To: Patrick Welche <prlw1@cam.ac.uk>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 10/28/1998 09:15:13
On Wed, 28 Oct 1998 16:54:44 +0000 (GMT)
prlw1@cam.ac.uk (Patrick Welche) wrote:
> Where is DINODE_SIZE defined?
in <ufs/ufs/dinode.h>. You forgot to run "make includes".
>
> all ===> sbin/fsirand
> cc -O -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Werror -c /usr/src/sbin/fsirand/fsirand.c
> /usr/src/sbin/fsirand/fsirand.c: In function `fixinodes':
> /usr/src/sbin/fsirand/fsirand.c:142: `DINODE_SIZE' undeclared (first
>
> I had a look around /usr/include to no avail...
> ... yet it appears in eg. src/sys/ufs/ffs/ffs_inode.c, and kernels
> compile fine! The above was with a make build, so make includes
> happened, and was supped this morning.
>
> Cheers,
>
> Patrick
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 940 5942