Date: Wed, 21 Jan 2009 13:52:54 +0000 (GMT) From: Robert Watson <rwatson@FreeBSD.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-hackers@freebsd.org, assaulter0x80@gmail.com Subject: Re: KLD: program.ko: depends of kernel - no avaiable Message-ID: <alpine.BSF.2.00.0901211351580.13974@fledge.watson.org> In-Reply-To: <20090120.131627.-1717264382.imp@bsdimp.com> References: <ed8027db0901200821g4f78beeek1d6a4b489587892@mail.gmail.com> <20090120.131627.-1717264382.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Jan 2009, M. Warner Losh wrote: > In message: <ed8027db0901200821g4f78beeek1d6a4b489587892@mail.gmail.com> > "Jacky Oh" <assaulter0x80@gmail.com> writes: > : Hi, > : > : I'm writing a syscall module and he compiles well but at load time, kldload > : shows: > : > : KLD: program.ko: depends of kernel - no avaiable > : > : anyone know something about this? > > Yes. rebuild the kernel and modules to have the same __FreeBSD_version It would be nice if the kernel linker included version numbers, both expected and found, in these messages. Unfortunately, this code is rather well-abstracted, and the specific version numbers are rather inaccessible at the point where the error message is printed. Robert N M Watson Computer Laboratory University of Cambridge
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0901211351580.13974>