Hi,
I am using fedora 2.6.5 and trying to load a module in netfilter's hook. But it is giving me error and could not find out what needs to be done.
Error:
[root@marieke Deepti]# make -f Makefile_lkm
make -C /lib/modules/2.6.5-1.358/build SUBDIR=/root/Deepti modules
make[1]: Entering directory `/lib/modules/2.6.5-1.358/build'
CHK include/asm-i386/asm_offsets.h
make[2]: *** No rule to make target `arch/i386/kernel/msr.c', needed by `arch/i3 86/kernel/msr.o'. Stop.
make[1]: *** [arch/i386/kernel] Error 2
make[1]: Leaving directory `/lib/modules/2.6.5-1.358/build'
Makefile:
KDIR := /lib/modules/2.6.5-1.358/build
PWD := $(shell pwd)
obj-m := Hook_LKM.o
default:
$(MAKE) -C $(KDIR) SUBDIR=$(PWD) modules
Appritiate your suggestions.
Thanks in advance
--
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10