Subject: Anyone else having troubles building current with ffs_subr?
To: None <current-users@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 09/12/2005 11:51:51
Anyone else seeing this?

#   compile  makefs/ffs_subr.lo
cc -O -I. -I/usr/src/tools/compat/obj.i386 -I/usr/src/tools/compat/obj.i386/include  -I/usr/src/tools/makefs/.
./compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64  -I/usr/src/tools/makefs/../../usr.sbin/makefs  -I/u
sr/src/bin/ls -I/usr/src/sbin/mknod -I/usr/src/usr.sbin/mtree -I/usr/src/sys/fs/cd9660 -c -o ffs_subr.lo.o 
/usr/src/sys/ufs/ffs/ffs_subr.c
/usr/src/sys/ufs/ffs/ffs_subr.c: In function `ffs_itimes':
/usr/src/sys/ufs/ffs/ffs_subr.c:335: error: dereferencing pointer to incomplete type
/usr/src/sys/ufs/ffs/ffs_subr.c:335: error: `IN_ACCESS' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:335: error: (Each undeclared identifier is reported only once
/usr/src/sys/ufs/ffs/ffs_subr.c:335: error: for each function it appears in.)
/usr/src/sys/ufs/ffs/ffs_subr.c:337: warning: assignment makes pointer from integer without a cast
/usr/src/sys/ufs/ffs/ffs_subr.c:338: error: `atime' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:339: error: `atimensec' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:341: error: dereferencing pointer to incomplete type
/usr/src/sys/ufs/ffs/ffs_subr.c:341: error: `IN_UPDATE' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:341: error: `IN_MODIFY' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:342: error: dereferencing pointer to incomplete type
/usr/src/sys/ufs/ffs/ffs_subr.c:342: error: `SF_SNAPSHOT' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:344: warning: assignment makes pointer from integer without a cast
/usr/src/sys/ufs/ffs/ffs_subr.c:345: error: `mtime' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:346: error: `mtimensec' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:348: error: dereferencing pointer to incomplete type
/usr/src/sys/ufs/ffs/ffs_subr.c:350: error: dereferencing pointer to incomplete type
/usr/src/sys/ufs/ffs/ffs_subr.c:350: error: `IN_CHANGE' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:352: warning: assignment makes pointer from integer without a cast
/usr/src/sys/ufs/ffs/ffs_subr.c:354: error: `ctimensec' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:356: error: dereferencing pointer to incomplete type
/usr/src/sys/ufs/ffs/ffs_subr.c:357: error: dereferencing pointer to incomplete type
/usr/src/sys/ufs/ffs/ffs_subr.c:357: error: `IN_ACCESSED' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:358: error: dereferencing pointer to incomplete type
/usr/src/sys/ufs/ffs/ffs_subr.c:359: error: dereferencing pointer to incomplete type
/usr/src/sys/ufs/ffs/ffs_subr.c:359: error: `IN_MODIFIED' undeclared (first use in this function)
/usr/src/sys/ufs/ffs/ffs_subr.c:360: error: dereferencing pointer to incomplete type

*** Failed target:  ffs_subr.lo
*** Failed command: cc -O -I. -I/usr/src/tools/compat/obj.i386 -I/usr/src/tools/compat/obj.i386/include -I/usr/src/tools/makefs/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/makefs/../../usr.sbin/makefs -I/usr/src/bin/ls -I/usr/src/sbin/mknod -I/usr/src/usr.sbin/mtree -I/usr/src/sys/fs/cd9660 -c -o ffs_subr.lo.o /usr/src/sys/ufs/ffs/ffs_subr.c
*** Error code 1


-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte