Netfilter hook! Insert error (insmod)
Hi, i'm writting a netfilter hook module. I compiled it successfull but when i insert it into kernel then it occurs errors following:
"unresolved symbol nf_register_hook"
"unresolved symbol nf_unregister_hook"
help me, please!
Thanks a lot!
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
Quoted 6 lines · Tuan nguyen hoang anh
Hi, i'm writting a netfilter hook module. I compiled it successfull but when i insert it into kernel then it occurs errors following:
"unresolved symbol
nf_register_hook"
"unresolved symbolnf_unregister_hook"
Looks like your running kernel is not built with support for netfilter.
Make sure you run the same kernel build as the kernel headers you used when building your module.
Also make sure the compile flags are correct for your kernel.
Recommended method for building modules is to have them integrated in the kernel buildprocess. See Netfilter patch-o-matic-ng for a simple method of incorporating separately developed modules into the kernel source tree.
Regards
Henrik
--- Tuan nguyen hoang anh
Quoted 6 lines · <[email protected]> wrote:
Hi, i'm writting a netfilter hook module. I compiled it successfull but when i insert it into kernel then it occurs errors following:
"unresolved symbol
nf_register_hook"
"unresolved symbolnf_unregister_hook"
modversions related problem?
what is the kernel version?
=====
Regards,
Kiran Kumar Immidi
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html