Date: Tue, 06 Mar 2007 16:27:03 +0200 From: Danny Braniss <danny@cs.huji.ac.il> To: freebsd-fs@FreeBSD.org Cc: freebsd-current@FreeBSD.org Subject: Re: ZFS port to FreeBSD: 2nd patchset available. Message-ID: <E1HOad5-000Iru-So@cs1.cs.huji.ac.il> In-Reply-To: Your message of Sun, 4 Mar 2007 13:38:01 %2B0100 .
next in thread | raw e-mail | index | archive | help
Hi Pawel, patches applied cleanly, no .rej. after fixing Makefile1.inc I managed to make buildworld, then applied Yoshihiro Ota <ota@j.email.ne.jp> fix, but now I'm stuck in buildkernel, mainly because im using a Freebsd 6.2 to cross compile. the make failes in src/sys/modules/zfs because /r+d/7.0/src/sys/modules/zfs/../ ../compat/opensolaris/kern/opensolaris_condvar.c is including /usr/include/machine/signal.h which is from 6.2 instead. the fix is: diff -bru src/sys/modules/zfs/Makefile{.orig,} --- src/sys/modules/zfs/Makefile.orig Tue Mar 6 15:49:49 2007 +++ src/sys/modules/zfs/Makefile Tue Mar 6 15:50:01 2007 @@ -85,7 +85,7 @@ CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/common/zfs CFLAGS+=-I${.CURDIR}/../../../contrib/opensolaris/common # -CFLAGS+=-I/usr/include +CFLAGS+=-I${.CURDIR}/../../../include CFLAGS+=-O1 #CFLAGS+=-DKTR now, it fails with /r+d/7.0/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/rpc/xdr.c: In function `xdr_bytes': /r+d/7.0/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/rpc/xdr.c:497 : warning: cast to pointer from integer of different size /r+d/7.0/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/rpc/xdr.c: In function `xdr_string': /r+d/7.0/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/rpc/xdr.c:627 : warning: cast to pointer from integer of different size *** Error code 1 hum, does this copile for amd64? danny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1HOad5-000Iru-So>