From: "David Balnaves" Subject: Re: Building geoip against voyage kernel source fails Date: Sun, 25 May 2008 16:58:32 +1000 Message-ID: <74BD5BE091304EFC96F804EB2869AA99@Gamma> References: <5AEFF5D121FC4228B90797FB303741CD@Gamma> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5AEFF5D121FC4228B90797FB303741CD@Gamma> Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; format="flowed"; charset="us-ascii"; reply-type="response" To: David Balnaves , Mail List - Netfilter Hi, Incase any body is interested, I found a patch that seems to address this issue: http://bjerkeset.com/patches/geoip-match-2.6.22.patch.gz Unfortunately, not sure about who is the author. ----- Original Message ----- From: "David Balnaves" To: "Mail List - Netfilter" Sent: Sunday, May 25, 2008 3:11 PM Subject: Building geoip against voyage kernel source fails > Hi, > > I'm trying to build the voyage kernel source with after applying the group > external patchlet. i see this error. Can anybody suggest what I'm doing > wrong? Also, where is the latest geoip patchlet? Thanks > > 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: 'const struct sk_buff' has no > member named 'nh' > net/ipv4/netfilter/ipt_geoip.c: At top level: > net/ipv4/netfilter/ipt_geoip.c:280: warning: initialization from > incompatible pointer type > net/ipv4/netfilter/ipt_geoip.c:284: warning: initialization from > incompatible pointer type > net/ipv4/netfilter/ipt_geoip.c: In function 'init': > net/ipv4/netfilter/ipt_geoip.c:291: error: implicit declaration of > function 'ipt_register_match' > net/ipv4/netfilter/ipt_geoip.c: In function 'fini': > net/ipv4/netfilter/ipt_geoip.c:296: error: implicit declaration of > function 'ipt_unregister_match' > make[4]: *** [net/ipv4/netfilter/ipt_geoip.o] Error 1 > make[3]: *** [net/ipv4/netfilter] Error 2 > make[2]: *** [net/ipv4] Error 2 > make[1]: *** [net] Error 2 > make[1]: Leaving directory `/usr/src/linux-source-2.6.23-voyage' > make: *** [debian/stamp-build-kernel] Error 2 > voyage:/usr/src/linux-source-2.6.23-voyage# cd .. > voyage:/usr/src# rm -rf linux-source-2.6.23-voyage > > -- > David Balnaves > david@utopia.cable.nu > > -- > To unsubscribe from this list: send the line "unsubscribe netfilter" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >