KLD: program.ko: depends of kernel - no avaiable
Robert Watson
rwatson at FreeBSD.org
Wed Jan 21 05:52:57 PST 2009
On Tue, 20 Jan 2009, M. Warner Losh wrote:
> In message: <ed8027db0901200821g4f78beeek1d6a4b489587892 at mail.gmail.com>
> "Jacky Oh" <assaulter0x80 at 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
More information about the freebsd-hackers
mailing list