ZFS port to FreeBSD: 2nd patchset available.

FreeBSD usergroup freebsd at amadeus.demon.nl
Mon Mar 5 11:27:30 UTC 2007


On 4-mrt-2007, at 20:33, Pawel Jakub Dawidek wrote:

> On Sun, Mar 04, 2007 at 06:52:52PM +0100, FreeBSD usergroup wrote:
>>
>> On 4-mrt-2007, at 13:38, Pawel Jakub Dawidek wrote:
>>
>>> Hi.
>>>
>>>
>>> The patch is available at:
>>>
>>> 	http://people.freebsd.org/~pjd/patches/zfs_20070303.patch.bz2
>>>
>>> To apply and compile the patch, enter your src directory and:
>>>
>>> 	# patch -p0 < /path/to/zfs_20070303.patch
>>> 	# make kernel   <-- compiles and install patched kernel and
>>> 	                    zfs module
>>> 	# cd cddl
>>> 	# make && make install   <-- compiles and install userland
>>> 	                             utilities and libraries
>>>
>>> Please report any problems ('it works without problems!' is nice  
>>> too).
>>
>> Hey Pawel,
>>
>> Do I need to start with clean sources?
>>
>> I patched the source with the new patch on top of the source that  
>> has been patched with the old patch.
>> I tried to compile the new kernel but it failed.
>
> The patch is against clean HEAD source as of 2007-03-03.

Hello,

One step further...

`patch` and `make kernel` went well without any error after cvsup-ing  
to head
then `cd cddl`, and `make`

`make` gives me an error though:

<snip>
===> lib/libuutil (all)
cc -O2 -fno-strict-aliasing -pipe  -DNATIVE_BUILD -I/usr/src/cddl/lib/ 
libuutil/../../../contrib/opensolaris/lib/libuutil/common -I/usr/src/ 
cddl/lib/libuutil/../../../sys/compat/opensolaris -I/usr/src/cddl/lib/ 
libuutil/../../../sys/contrib/opensolaris/uts/common -I/usr/src/cddl/ 
lib/libuutil/../../../compat/opensolaris/include -I/usr/src/cddl/lib/ 
libuutil/../../../contrib/opensolaris/head -D_SOLARIS_C_SOURCE  -c / 
usr/src/cddl/lib/libuutil/../../../contrib/opensolaris/common/avl/avl.c
cc -O2 -fno-strict-aliasing -pipe  -DNATIVE_BUILD -I/usr/src/cddl/lib/ 
libuutil/../../../contrib/opensolaris/lib/libuutil/common -I/usr/src/ 
cddl/lib/libuutil/../../../sys/compat/opensolaris -I/usr/src/cddl/lib/ 
libuutil/../../../sys/contrib/opensolaris/uts/common -I/usr/src/cddl/ 
lib/libuutil/../../../compat/opensolaris/include -I/usr/src/cddl/lib/ 
libuutil/../../../contrib/opensolaris/head -D_SOLARIS_C_SOURCE  -c / 
usr/src/cddl/lib/libuutil/../../../contrib/opensolaris/lib/libuutil/ 
common/uu_alloc.c
make: don't know how to make /usr/src/cddl/lib/libuutil/../../../ 
compat/opensolaris/include/unistd.h. Stop
*** Error code 2

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

Stop in /usr/src/cddl.

gr
Arno Beekman


More information about the freebsd-current mailing list