Skip to contentSkip to conversation

nfnetlink for kernel

DISCUSSION yang 1 participant 1 message Oct 22, 2002

lore
Share & tools
lore

yang

author
#0 lore raw

Hi,all.

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 something? Would you please help me to analyse the error? Thanks in advance.

Regards,
Amy

----------------------------------------------
发送twins到210022,答问题赢取50张twins歌迷会门票
http://sms.21cn.com/weekend/twins/index2.html
想要告别寂寞,结束单身,就要参加你的燃情约会
http://sms.21cn.com/weekend/
免费邮箱升级,保留原用户名,交费方便简单
http://mall.21cn.com/economical/2.asp
高速稳定高效30兆大邮箱3折30元/年(校园价)!
http://mail.21cn.com/huodong/9yue/