geoip won't compile on 2.6.22

Nick Pasich NewsLetters at NickAndBarb.net
Wed Jul 11 04:23:11 CEST 2007


Samuel,

Geoip has problems when compiling for Linux Kernel 2.6.22

Geoip is a great module....

     Thanks,

     Nick Pasich

*************************************************************************
*************************************************************************


  CC      net/ipv4/netfilter.o
  LD      net/ipv4/netfilter/built-in.o
  CC [M]  net/ipv4/netfilter/nf_nat_rule.o
  CC [M]  net/ipv4/netfilter/nf_nat_standalone.o
  CC [M]  net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o
  CC [M]  net/ipv4/netfilter/nf_conntrack_proto_icmp.o
  CC [M]  net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o
  CC [M]  net/ipv4/netfilter/nf_nat_core.o
  CC [M]  net/ipv4/netfilter/nf_nat_helper.o
  CC [M]  net/ipv4/netfilter/nf_nat_proto_unknown.o
  CC [M]  net/ipv4/netfilter/nf_nat_proto_tcp.o
  CC [M]  net/ipv4/netfilter/nf_nat_proto_udp.o
  CC [M]  net/ipv4/netfilter/nf_nat_proto_icmp.o
  LD [M]  net/ipv4/netfilter/nf_conntrack_ipv4.o
  LD [M]  net/ipv4/netfilter/nf_nat.o
  CC [M]  net/ipv4/netfilter/nf_nat_ftp.o
  CC [M]  net/ipv4/netfilter/nf_nat_snmp_basic.o
  CC [M]  net/ipv4/netfilter/nf_nat_tftp.o
  CC [M]  net/ipv4/netfilter/ip_tables.o
  CC [M]  net/ipv4/netfilter/iptable_filter.o
  CC [M]  net/ipv4/netfilter/iptable_mangle.o
  LD [M]  net/ipv4/netfilter/iptable_nat.o
  CC [M]  net/ipv4/netfilter/iptable_raw.o
  CC [M]  net/ipv4/netfilter/ipt_iprange.o
  CC [M]  net/ipv4/netfilter/ipt_owner.o
  CC [M]  net/ipv4/netfilter/ipt_tos.o
  CC [M]  net/ipv4/netfilter/ipt_recent.o
  CC [M]  net/ipv4/netfilter/ipt_geoip.o
net/ipv4/netfilter/ipt_geoip.c: In function `match':
net/ipv4/netfilter/ipt_geoip.c:113: error: structure has no member named `nh'
net/ipv4/netfilter/ipt_geoip.c: In function `init':
net/ipv4/netfilter/ipt_geoip.c:291: warning: implicit declaration of function `ipt_register_match'
net/ipv4/netfilter/ipt_geoip.c: In function `fini':
net/ipv4/netfilter/ipt_geoip.c:296: warning: implicit declaration of function `ipt_unregister_match'
make[3]: *** [net/ipv4/netfilter/ipt_geoip.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

*************************************************************************
*************************************************************************




More information about the netfilter-devel mailing list