On amd64 I am getting # compile makefs/ffs_bswap.lo cc -O -I. -I/test-bed/tools/include/nbinclude -I/test-bed/tools/include -I/test-bed/obj/tools/compat -I/test-bed/obj/tools/compat/include -I/test-bed/src/tools/makefs/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I/test-bed/src/tools/makefs/../../usr.sbin/makefs -I/test-bed/src/sbin/mknod -I/test-bed/src/usr.sbin/mtree -I/test-bed/src/sys/fs/cd9660 -c -o ffs_bswap.lo.o /test-bed/src/sys/ufs/ffs/ffs_bswap.c In file included from /test-bed/src/sys/ufs/ffs/ffs_bswap.c:41: /test-bed/tools/include/nbinclude/ufs/ufs/quota.h:39:29: error: quota/quotaprop.h: No such file or directory In file included from /test-bed/src/sys/ufs/ffs/ffs_bswap.c:41: /test-bed/tools/include/nbinclude/ufs/ufs/quota.h: In function 'ufsclass2qtype': /test-bed/tools/include/nbinclude/ufs/ufs/quota.h:62: error: 'QUOTA_CLASS_USER' undeclared (first use in this function) /test-bed/tools/include/nbinclude/ufs/ufs/quota.h:62: error: (Each undeclared identifier is reported only once /test-bed/tools/include/nbinclude/ufs/ufs/quota.h:62: error: for each function it appears in.) /test-bed/tools/include/nbinclude/ufs/ufs/quota.h:64: error: 'QUOTA_CLASS_GROUP' undeclared (first use in this function) /test-bed/tools/include/nbinclude/ufs/ufs/quota.h: In function 'qtype2ufsclass': /test-bed/tools/include/nbinclude/ufs/ufs/quota.h:76: error: 'QUOTA_CLASS_USER' undeclared (first use in this function) /test-bed/tools/include/nbinclude/ufs/ufs/quota.h:78: error: 'QUOTA_CLASS_GROUP' undeclared (first use in this function) On Fri, 25 Mar 2011, Manuel Bouyer wrote:
On Thu, Mar 24, 2011 at 08:02:32PM +0000, bch%methodlogic.net@localhost wrote:More complete paste: # compile makefs/ffs_bswap.lo^M cc -O -I. -I/usr/src/obj/tooldir.NetBSD-5.99.48-amd64/include/nbinclude -I/usr/src/obj/tooldir.NetBSD-5.99.48-amd64/include -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/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/sbin/mknod -I/usr/src/usr.sbin/mtree -I/usr/src/sys/fs/cd9660 -c -o ffs_bswap.lo.o /usr/src/sy s/ufs/ffs/ffs_bswap.c^M In file included from /usr/src/sys/ufs/ffs/ffs_bswap.c:41:^M /usr/src/obj/tooldir.NetBSD-5.99.48-amd64/include/nbinclude/ufs/ufs/quota.h:39:29: error: quota/quotaprop.h: No such file or directory^MStrange, it builds fine for me. On what host is this ? can you try the attached patch ? -- Manuel Bouyer <bouyer%antioche.eu.org@localhost> NetBSD: 26 ans d'experience feront toujours la difference -- !DSPAM:4d8bd1962449875510920!
------------------------------------------------------------------------- | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net | | Kernel Developer | | pgoyette at netbsd.org | -------------------------------------------------------------------------