Re: compiling ip_set_iptree.o ( and other netfiler patches )

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

 



From: "Jozsef Kadlecsik" <kadlec@xxxxxxxxxxxxxxxxx>
> 
> That's due to a backward compatibility issue - I tested the code on
> 2.6.12.x and - as you wrote - you try to use ipset on 2.6.11.x. Please use
> the attached patch which takes care of it.
> 

As it turns out, I tried with kernel 2.6.12.6, gcc 3.4.3, it is the smoothest 
compile of all, the (edited ) messsages I got are :-

  CC [M]  net/ipv4/netfilter/ip_nat_sip.o
net/ipv4/netfilter/ip_nat_sip.c: In function `ip_nat_sip':
net/ipv4/netfilter/ip_nat_sip.c:99: warning: ISO C90 forbids mixed declarations
and code
  CC [M]  net/ipv4/netfilter/ip_conntrack_h323_core.o
  CC [M]  net/ipv4/netfilter/ip_conntrack_h323_h225.o
  CC [M]  net/ipv4/netfilter/ip_conntrack_h323_h245.o
  CC [M]  net/ipv4/netfilter/ip_nat_h323.o
  CC [M]  net/ipv4/netfilter/ip_conntrack_proto_gre.o
  CC [M]  net/ipv4/netfilter/ip_nat_proto_gre.o
  CC [M]  net/ipv4/netfilter/ip_conntrack_proto_sctp.o
  CC [M]  net/ipv4/netfilter/ip_conntrack_quake3.o
  CC [M]  net/ipv4/netfilter/ip_conntrack_pptp.o
net/ipv4/netfilter/ip_conntrack_pptp.c: In function `timeout_ct_or_exp':
net/ipv4/netfilter/ip_conntrack_pptp.c:159: warning: implicit declaration of
ction `__ip_conntrack_expect_find'
net/ipv4/netfilter/ip_conntrack_pptp.c:159: warning: assignment makes pointe
om integer without a cast
  CC [M]  net/ipv4/netfilter/ip_nat_pptp.o
  ......
  CC [M]  net/ipv4/netfilter/ip_set.o
net/ipv4/netfilter/ip_set.c: In function `ip_set_sockfn_get':
net/ipv4/netfilter/ip_set.c:1906: warning: ignoring return value of `copy_to_user', declared with attribute warn_unused_result
  CC [M]  net/ipv4/netfilter/ip_set_ipmap.o
  CC [M]  net/ipv4/netfilter/ip_set_portmap.o
  CC [M]  net/ipv4/netfilter/ip_set_macipmap.o
  CC [M]  net/ipv4/netfilter/ip_set_iphash.o
  CC [M]  net/ipv4/netfilter/ip_set_nethash.o
  CC [M]  net/ipv4/netfilter/ip_set_ipporthash.o
  CC [M]  net/ipv4/netfilter/ip_set_iptree.o
  LD [M]  net/ipv4/netfilter/ip_conntrack_h323.o
 
So conclusion is 2.6.11.x and 2.6.13.x are no good with respect to patch-o-matic-ng !

Cheers.






[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux