patch netlink
thanks all for u point out my mistake. I repost my question.
I use kernel 2.4.18,patch-o-matic-20020825.I patch the kernel with netlink and nfnetlik-ctnetlink-0.11 successful. Then I install the iptabel-1.2.7a successful. When I make a new kernel image: make bzImage, the error is occured. It said:
In file included from nfnetlink_conntrack.c:44:/usr/local/linux-test/include/linux/nfnetlink_conntrack.h:61: field proto' has incomplete type /usr/local/linux-test/include/linux/nfnetlink_conntrack.h:68: field help' has incomplete type nfnetlink_conntrack.c: In function `ctnetlink_fill_info':
nfnetlink_conntrack.c:106: dereferencing pointer to incomplete type nfnetlink_conntrack.c:106: dereferencing pointer to incomplete type nfnetlink_conntrack.c:108: dereferencing pointer to incomplete type nfnetlink_conntrack.c:108: dereferencing pointer to incomplete type nfnetlink_conntrack.c:110: dereferencing pointer to incomplete type nfnetlink_conntrack.c: In function `ctnetlink_get_conntrack':
nfnetlink_conntrack.c:369: warning: implicit declaration of function ip_conntrack_put' nfnetlink_conntrack.c: In function ctnetlink_exp_fill_info':
nfnetlink_conntrack.c:416: structure has no member named seq' nfnetlink_conntrack.c:417: sizeof applied to an incomplete type nfnetlink_conntrack.c:417: sizeof applied to an incomplete type nfnetlink_conntrack.c:417: structure has no member named help' nfnetlink_conntrack.c: In function `ctnetlink_del_expect':
nfnetlink_conntrack.c:504: warning: implicit declaration of function ip_conntrack_expect_find_get' nfnetlink_conntrack.c:504: warning: assignment makes pointer from integer without a cast nfnetlink_conntrack.c:509: warning: implicit declaration of function ip_conntrack_unexpect_related' nfnetlink_conntrack.c:511: warning: implicit declaration of function ip_conntrack_expect_put' nfnetlink_conntrack.c: In function ctnetlink_exp_dump_table':
nfnetlink_conntrack.c:541: `ip_conntrack_expect_list' undeclared (first use in this function) nfnetlink_conntrack.c:541: (Each undeclared identifier is reported only once nfnetlink_conntrack.c:541: for each function it appears in.)nfnetlink_conntrack.c: In function `ctnetlink_get_expect':
nfnetlink_conntrack.c:597: warning: assignment makes pointer from integer without a cast nfnetlink_conntrack.c: In function `ctnetlink_init':
nfnetlink_conntrack.c:709: warning: label `err_unreg_subsys' defined but not used nfnetlink_conntrack.c: At top level:
nfnetlink_conntrack.c:167: warning: ctnetlink_create' defined but not used nfnetlink_conntrack.c:457: warning: ctnetlink_exp_create' defined but not used
....
what's wrong? Did I miss to patch something? Would you please help me to analyse the error? Thanks in advance.
Regards,
Amy
Quoted 4 lines
I use kernel 2.4.18,patch-o-matic-20020825.I patch thekernel with netlink and nfnetlik-ctnetlink-0.11 successful. Then I install the iptabel-1.2.7a successful. When I make a new kernel image: make bzImage, the error is occured. It said:
I too had problems (not specifically this one, but still) using the 2.4.18 kernel, but not when I used the 2.4.19 kernel. If you're bold, try a 2.4.20pre kernel, but not for a production kernel. Maybe the problem goes away if you switch to 2.4.19 (do you *need* 2.4.18 ?).
Rob