Date: Thu, 16 Nov 2006 21:15:22 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: Doug Ambrisko <ambrisko@ambrisko.com> Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS patches for FreeBSD. Message-ID: <455CB8CA.8040603@icyb.net.ua> In-Reply-To: <1163701391.00638085.1163691003@10.7.7.3> References: <1163701391.00638085.1163691003@10.7.7.3>
next in thread | previous in thread | raw e-mail | index | archive | help
on 16/11/2006 17:21 Doug Ambrisko said the following:
> I skipped the mkdir and used patch -p0.  Everything looked to compile
> okay but when I kldload zfs is fails since the kernel doesn't
> have memset:
> 	%kldload zfs
> 	link_elf: symbol memset undefined
> 	kldload: can't load zfs: No such file or directory
> 	%
> Is there another change required?
Hmm, I saw errors like this with some other 3rd party kernel module when
its sources had constructs like:
struct some_struct s = {0};
Changing the above initialization to explicit bzero() call helped in
that case, but I think that there should be some compiler flags or
something to handle this.
-- 
Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?455CB8CA.8040603>
