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

In message: <[email protected]>
           "Jacky Oh" <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to