Re: ZFS patches.

From: Adam McDougall <mcdouga9_at_egr.msu.edu>
Date: Sun, 27 Jul 2008 23:24:27 -0400
On Sun, Jul 27, 2008 at 02:54:13PM +0200, Pawel Jakub Dawidek wrote:

  Hi.
  
  	http://people.freebsd.org/~pjd/patches/zfs_20080727.patch.bz2
  
The patch applied fine for me, but I get a compile error part way through
a buildworld.  My world/kernel is from -current from Thursday, I also
tried csupping HEAD first, cleaning up my source tree, doing things with
headers I shouldn't (which I will revert).  To the best of my weak knowledge
of C, it seems like ace_t should be fine (I tried to trace it through the 
includes).  Am I doing something wrong?  Also, is this patch expected to 
apply to 7?  (I can find out for myself if I don't hear).  Thanks.

cc -O2 -pipe  -I/usr/src/cddl/lib/libzpool/../../../sys/cddl/compat/opensolaris 
-I/usr/src/cddl/lib/libzpool/../../../cddl/compat/opensolaris/include 
-I/usr/src/cddl/lib/libzpool/../../../cddl/compat/opensolaris/lib/libumem 
-I/usr/src/cddl/lib/libzpool/../../../cddl/contrib/opensolaris/lib/libzpool/common 
-I/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/sys 
-I/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs 
-I/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/common/zfs 
-I/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common 
-I/usr/src/cddl/lib/libzpool/../../../cddl/contrib/opensolaris/head 
-I/usr/src/cddl/lib/libzpool/../../../cddl/lib/libumem 
-I/usr/src/cddl/lib/libzpool/../../../cddl/contrib/opensolaris/lib/libnvpair -DWANTS_MUTEX_OWNED 
-I/usr/src/cddl/lib/libzpool/../../../lib/libpthread/thread 
-I/usr/src/cddl/lib/libzpool/../../../lib/libpthread/sys 
-I/usr/src/cddl/lib/libzpool/../../../lib/libthr/arch/amd64/include -fstack-protector 
-Wno-unknown-pragmas -c 
/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c
/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c:35: 
error: expected ')' before '*' token
/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c: 
In function 'zfs_oldacl_byteswap':
/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c:127: 
error: 'ace_t' undeclared (first use in this function)
/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c:127: 
error: (Each undeclared identifier is reported only once
/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c:127: 
error: for each function it appears in.)
/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c:129: 
error: expected expression before ')' token
/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c: 
In function 'zfs_znode_byteswap':
/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c:177: 
error: 'ace_t' undeclared (first use in this function)
/usr/src/cddl/lib/libzpool/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_byteswap.c:177: 
error: expected expression before ')' token
*** Error code 1

Stop in /usr/src/cddl/lib/libzpool.
*** Error code 1

Stop in /usr/src/cddl/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
Received on Mon Jul 28 2008 - 01:42:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC