[Voyage-linux] building voyage kernel source with geoip patchletfails.

David Balnaves (spam-protected)
Sun May 25 14:59:07 HKT 2008


Hi again,

Found this patch that addreses this issue:
http://bjerkeset.com/patches/geoip-match-2.6.22.patch.gz

----- Original Message ----- 
From: David Balnaves
To: voyage-linux at voyage.hk
Sent: Sunday, May 25, 2008 1:58 PM
Subject: [Voyage-linux] building voyage kernel source with geoip 
patchletfails.


Hi,
This may not be the best list for this question, but I figure that maybe 
some of you may have encountered this problem when building the voyage 
source with the geoip netfilter external patchlet.


  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

Any ideas what I'm doing wrong?

-- 
David Balnaves
david at utopia.cable.nu




_______________________________________________
Voyage-linux mailing list
Voyage-linux at list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux 





More information about the Voyage-linux mailing list