Re: [kbuild-devel] Link lib to a kernel module

2006-11-12 Thread Matthias Fechner
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 a

Re: [kbuild-devel] Link lib to a kernel module

2006-10-25 Thread Matthias Fechner
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 i;

Re: [kbuild-devel] Link lib to a kernel module

2006-10-25 Thread Oleg Verych
On 2006-10-25, Matthias Fechner wrote: [] Makefile: KDIR:= /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) there's $(CURDIR), just in case... - Using Tomcat but need to do more? Need to support web

Re: [kbuild-devel] Link lib to a kernel module

2006-10-24 Thread Oleg Verych
Hallo, Matthias. On 2006-10-24, Matthias Fechner wrote: I tried today to link a lib (.a) to my kernel module but I could not found howto do it. `Documentation/kbuild' directory in your linux sources. `makefiles.txt' about `lib-y', `modules.txt' about modules. Good luck.