Hello Dipti,
* Dipti Ranjan Tarai <[EMAIL PROTECTED]> [24-10-06 16:42]:
>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.
hm, it seems that it is possible to build
Hello Oleg,
* Oleg Verych <[EMAIL PROTECTED]> [24-10-06 12:11]:
> `Documentation/kbuild' directory in your linux sources.
> `makefiles.txt' about `lib-y',
> `modules.txt' about modules.
I was now successfull with:
hello_lib.h:
int printHello(int);
hello_lib.c
int printHello(int count)
{
int
Hi,
I tried today to link a lib (.a) to my kernel module but I could not
found howto do it.
I prepared a little example:
hello.c:
#include
#include
#include
#include
#include "hello_lib.h"
MODULE_LICENSE("GPL");
int init_module(void)
{
printHello();
return 0;
}
void cleanup