Re: Link lib to a kernel module

From: Matthias Fechner
Date: Tue Oct 24 2006 - 19:35:47 EST


Hi,

Dipti Ranjan Tarai schrieb:
> As per my knowledge kernel module can not access to a library
> function. Library function are only accessible to user level program.
> Module can access exported symbol only.

I don't want to build the module against a shared lib. I have here a lib
and I want that the lib is included into the kernel module.
I found in the documentation that it is possible to link the kernel
module with several object files (.o) and I found no source to do it
with libs (.a).

Thx
Matthias

--

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/