cross compile error 2.6.28(about netfilter)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi guys,
     I have been trying to port a customized kernel-2.6.28(i dont know who did the customize the kernel) to ixp420 board.But I got a compile error when i put the items of networking support->network option->network packet filtering framework(netfilter) into the kernel compile option.the error description is below:
 
CHK     include/linux/compile.h
  CC      net/ipv4/netfilter/ip_tables.o
In file included from net/ipv4/netfilter/ip_tables.
c:29:
include/linux/netfilter_ipv4/ip_tables.h:112:6: warning: "__BYTE_ORDER" is not defined
include/linux/netfilter_ipv4/ip_tables.h:124:6: warning: "__BYTE_ORDER" is not defined
In file included from net/ipv4/netfilter/ip_tables.c:31:
include/net/netfilter/nf_conntrack.h:149: error: field 'ct_general' has incomplete type
include/net/netfilter/nf_conntrack.h: In function 'nf_ct_get':
include/net/netfilter/nf_conntrack.h:265: error: 'const struct sk_buff' has no member named 'nfct'
include/net/netfilter/nf_conntrack.h: In function 'nf_ct_put':
include/net/netfilter/nf_conntrack.h:272: error: implicit declaration of function 'nf_conntrack_put'
include/net/netfilter/nf_conntrack.h: In function 'nf_ct_is_untracked':
include/net/netfilter/nf_conntrack.h:371: error: 'const struct sk_buff' has no member named 'nfct'
In file included from net/ipv4/netfilter/ip_tables.c:38:
include/net/netfilter/nf_conntrack_acct.h: In function 'nf_ct_acct_ext_add':
include/net/netfilter/nf_conntrack_acct.h:42: error: 'struct net' has no member named 'ct'
net/ipv4/netfilter/ip_tables.c: In function 'nf_klog_filter':
net/ipv4/netfilter/ip_tables.c:196: error: 'struct sk_buff' has no member named 'nfct'
net/ipv4/netfilter/ip_tables.c:262: error: 'struct nf_conn' has no member named 'layer7'
net/ipv4/netfilter/ip_tables.c: In function 'nat_rules_filter':
net/ipv4/netfilter/ip_tables.c:1190: error: 'struct sk_buff' has no member named 'nfct'
net/ipv4/netfilter/ip_tables.c: In function 'ipt_do_table':
net/ipv4/netfilter/ip_tables.c:1745: error: 'struct sk_buff' has no member named 'nfct'
net/ipv4/netfilter/ip_tables.c: In function 'mtrie_init':
net/ipv4/netfilter/ip_tables.c:4640: warning: assignment from incompatible pointer type
make[3]: *** [net/ipv4/netfilter/ip_tables.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2


any ideas?thanks anyway!

--
GNU powered it...
GPL protect it...
God blessing it...

regards
HFG--Shawn the R0ck

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux