On Tue, 20 Jan 2009, M. Warner Losh wrote:

In message: <ed8027db0901200821g4f78beeek1d6a4b489587...@mail.gmail.com>
           "Jacky Oh" <assaulter0...@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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to