Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2017 09:47:41 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Ngie Cooper <yaneurabeya@gmail.com>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   Re: zfs.ko no longer loads after r320156: unresolved symbol: abd_is_linear
Message-ID:  <d948a8c3-7bdb-e4cf-40e0-5e148b58554a@FreeBSD.org>
In-Reply-To: <780A67EE-C3F1-46E5-A213-E253B710338E@gmail.com>
References:  <780A67EE-C3F1-46E5-A213-E253B710338E@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/08/2017 02:31, Ngie Cooper wrote:
> Hi,
> 	I tried upgrading my host from 11.1-STABLE to 12.0-CURRENT, and it didn’t work because abd_is_linear is an undefined symbol (it exists in sys/conf/files, but not sys/modules/zfs/Makefile). I tried adding abd.c to sys/modules/zfs/Makefile and it didn’t immediately fix my compilation problem (ran into a linker error instead).
> 	If it isn’t fixed in the next few hours I’ll try my hand at fixing the problem.

I am not sure what exact problem you have...
abd.c should be added to the list of source files via
.include "${SUNW}/uts/common/Makefile.files"

Perhaps something to do with "inline"...

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d948a8c3-7bdb-e4cf-40e0-5e148b58554a>