2002-01-14 23:02:44

by Michael Zhu

[permalink] [raw]
Subject: Link kernel module with a library

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.

Michael

______________________________________________________________________
Web-hosting solutions for home and business! http://website.yahoo.ca


2002-01-15 01:24:45

by John Levon

[permalink] [raw]
Subject: Re: Link kernel module with a library

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 ..."