Re: ZFS port to FreeBSD: 2nd patchset available.

From: FreeBSD usergroup <freebsd_at_amadeus.demon.nl>
Date: Sun, 4 Mar 2007 18:52:52 +0100
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.

first errors at the beginning:

===> zfs (obj)
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 168: warning:  
duplicate script for target "zfs.ko" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 170: warning:  
duplicate script for target "zfs.ko.symbols" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 175: warning:  
duplicate script for target "zfs.ko.debug" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 191: warning:  
duplicate script for target "zfs.kld" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 195: warning:  
duplicate script for target "zfs.kld" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 202: warning:  
duplicate script for target "zfs.kld" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 247: warning:  
duplicate script for target "_at_" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 247: warning:  
duplicate script for target "machine" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 368: warning:  
duplicate script for target "vnode_if.h" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 370: warning:  
duplicate script for target "vnode_if_newproto.h" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 372: warning:  
duplicate script for target "vnode_if_typedef.h" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 435: warning:  
duplicate script for target "lint" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 442: warning:  
duplicate script for target "cleanilinks" ignored
/usr/obj/usr/src/sys/AMAKERNEL_7/modules/usr/src/sys/modules/zfs  
created for /usr/src/sys/modules/zfs



then the fatal ones after a while:
...
<snip>
/usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/ 
vdev_geom.c
cc1: error: -I- specified twice
<snip>
cc1: error: -I- specified twice
cc1: error: -I- specified twice
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/zfs.
*** Error code 1

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

Stop in /usr/obj/usr/src/sys/AMAKERNEL_7.
*** Error code 1

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

Stop in /usr/src.


thanks
Arno
Received on Sun Mar 04 2007 - 17:15:34 UTC

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