Re: Link kernel module with a library

John Levon (movement@marcelothewonderpenguin.com)
Tue, 15 Jan 2002 01:26:34 +0000


On Mon, Jan 14, 2002 at 06:02:07PM -0500, Michael Zhu wrote:

> Hello,everyone, can I link a kernel module with a
> library? In my module I need to call the functions
> exported from the .a library. I couldn't link that
> library with my module. Can anyone give me a hand on
> this? Thanks in advance.

(please use kernelnewbies mailing list next time, http://kernelnewbies.org/)

You can't use any user space code that relies on code not included in the kernel.
Give more detail on kernelnewbies of your problem, and we'll explain what you actually
need to do.

regards
john

-- 
"Now why did you have to go and mess up the child's head, so you can get another gold waterbed ?
 You fake-hair contact-wearing liposuction carnival exhibit, listen to my rhyme ..."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/