Yup -- I neglected to update the ext2fs code (which uses UFS stuff) to include the requisite include files. Please try the attached patch against src/sys/gnu/ext2fs, and let me know if it works, and I'll go ahead and commit it. I caught the weird Coda dependancy, but guess I missed this one. On Sat, 15 Apr 2000, George W. Dinolt wrote: > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > Robert: > > I compiled recent (cvsup around 9:00 A.M. PDT) sources for the 5.0 > kernel with and without > > options FFS_EXTATTR > > and obtained the following error message in both cases. > > cc -c -O -pipe -march=k6 -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. > -I../../../include -D_KERNEL -include opt_global.h -elf > -mpreferred-stack-boundary=2 ../../gnu/ext2fs/ext2_alloc.c > In file included from ../../gnu/ext2fs/ext2_alloc.c:54: > ../../ufs/ufs/ufsmount.h:90: field `um_extattr' has incomplete type > *** Error code 1 > > I have not investigated. I think this may have to do with your additions > of extended attributes. > > Hope this helps. > George Dinolt > [EMAIL PROTECTED] > > > Robert N M Watson [EMAIL PROTECTED] http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services
Index: gnu/ext2fs/ext2_alloc.c =================================================================== RCS file: /home/ncvs/src/sys/gnu/ext2fs/ext2_alloc.c,v retrieving revision 1.28 diff -u -r1.28 ext2_alloc.c --- gnu/ext2fs/ext2_alloc.c 1999/08/23 22:05:49 1.28 +++ gnu/ext2fs/ext2_alloc.c 2000/04/15 16:49:37 @@ -49,6 +49,7 @@ #include <sys/mount.h> #include <sys/syslog.h> +#include <ufs/ufs/extattr.h> #include <ufs/ufs/quota.h> #include <ufs/ufs/inode.h> #include <ufs/ufs/ufsmount.h> Index: gnu/ext2fs/ext2_inode.c =================================================================== RCS file: /home/ncvs/src/sys/gnu/ext2fs/ext2_inode.c,v retrieving revision 1.25 diff -u -r1.25 ext2_inode.c --- gnu/ext2fs/ext2_inode.c 2000/03/20 10:44:17 1.25 +++ gnu/ext2fs/ext2_inode.c 2000/04/15 16:49:37 @@ -53,6 +53,7 @@ #include <vm/vm.h> #include <vm/vm_extern.h> +#include <ufs/ufs/extattr.h> #include <ufs/ufs/quota.h> #include <ufs/ufs/inode.h> #include <ufs/ufs/ufsmount.h> Index: gnu/ext2fs/ext2_linux_balloc.c =================================================================== RCS file: /home/ncvs/src/sys/gnu/ext2fs/ext2_linux_balloc.c,v retrieving revision 1.11 diff -u -r1.11 ext2_linux_balloc.c --- gnu/ext2fs/ext2_linux_balloc.c 1999/02/25 15:54:05 1.11 +++ gnu/ext2fs/ext2_linux_balloc.c 2000/04/15 16:49:38 @@ -33,6 +33,7 @@ #include <sys/mount.h> #include <sys/vnode.h> +#include <ufs/ufs/extattr.h> #include <ufs/ufs/quota.h> #include <ufs/ufs/ufsmount.h> #include <gnu/ext2fs/ext2_extern.h> Index: gnu/ext2fs/ext2_linux_ialloc.c =================================================================== RCS file: /home/ncvs/src/sys/gnu/ext2fs/ext2_linux_ialloc.c,v retrieving revision 1.13 diff -u -r1.13 ext2_linux_ialloc.c --- gnu/ext2fs/ext2_linux_ialloc.c 1999/01/27 21:49:53 1.13 +++ gnu/ext2fs/ext2_linux_ialloc.c 2000/04/15 16:49:39 @@ -34,6 +34,7 @@ #include <sys/mount.h> #include <sys/vnode.h> +#include <ufs/ufs/extattr.h> #include <ufs/ufs/quota.h> #include <ufs/ufs/inode.h> #include <ufs/ufs/ufsmount.h> Index: gnu/ext2fs/ext2_lookup.c =================================================================== RCS file: /home/ncvs/src/sys/gnu/ext2fs/ext2_lookup.c,v retrieving revision 1.22 diff -u -r1.22 ext2_lookup.c --- gnu/ext2fs/ext2_lookup.c 2000/03/20 11:28:36 1.22 +++ gnu/ext2fs/ext2_lookup.c 2000/04/15 16:49:39 @@ -57,6 +57,7 @@ #include <sys/malloc.h> #include <sys/dirent.h> +#include <ufs/ufs/extattr.h> #include <ufs/ufs/quota.h> #include <ufs/ufs/inode.h> #include <ufs/ufs/dir.h> Index: gnu/ext2fs/ext2_vfsops.c =================================================================== RCS file: /home/ncvs/src/sys/gnu/ext2fs/ext2_vfsops.c,v retrieving revision 1.63 diff -u -r1.63 ext2_vfsops.c --- gnu/ext2fs/ext2_vfsops.c 2000/03/09 05:21:10 1.63 +++ gnu/ext2fs/ext2_vfsops.c 2000/04/15 16:49:41 @@ -56,6 +56,7 @@ #include <sys/malloc.h> #include <sys/stat.h> +#include <ufs/ufs/extattr.h> #include <ufs/ufs/quota.h> #include <ufs/ufs/ufsmount.h> #include <ufs/ufs/inode.h> Index: gnu/ext2fs/ext2_vnops.c =================================================================== RCS file: /home/ncvs/src/sys/gnu/ext2fs/ext2_vnops.c,v retrieving revision 1.51 diff -u -r1.51 ext2_vnops.c --- gnu/ext2fs/ext2_vnops.c 2000/03/03 08:00:27 1.51 +++ gnu/ext2fs/ext2_vnops.c 2000/04/15 16:49:42 @@ -68,6 +68,7 @@ #include <sys/signalvar.h> #include <ufs/ufs/dir.h> +#include <ufs/ufs/extattr.h> #include <ufs/ufs/quota.h> #include <ufs/ufs/inode.h> #include <ufs/ufs/ufsmount.h>