Re: About kernel module programming

From: orion@rorasa.ath.cx
Date: Sun Apr 16 2000 - 07:29:07 EST


> I wrote a kernel module.(for test how to call the kernel function in the
> kernel module)
> This module call register_tcf_proto_ops() kernel function in the
> init_module().
> when I load this module, it appears the following error message.
> "test.o: unresolved symbol register_tcf_proto_ops"
> Why??

Because the register_tcf_proto_ops() kernel function is not exported by
the kernel (I think). I've experienced the same when trying to use
find_task_by_pid(pid). Is it possible to solve this problem without an
ugly hack with System.map and direct addressing, or recompiling the
kernel?

W.J.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:08 EST