getting error whu\ile loading in netfilter hook

From: Deepti Patel
Date: Thu Feb 17 2005 - 14:59:21 EST


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

-
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/