Here is what I get:
make -C iptables
make[1]: Entering directory
`/usr/src/iptables-p2p/iptables'
gcc -O2 -Wall -DIPTABLES_VERSION=\"1.2.11\" -I../common
-c -o libipt_p2p.o libipt_p2p.c
ld -shared -o libipt_p2p.so libipt_p2p.o
make[1]: Leaving directory `/usr/src/iptables-p2p/iptables'
make -C kernel linux-2.6
make[1]: Entering directory `/usr/src/iptables-p2p/kernel'
make -C /lib/modules/2.6.9-gentoo-r1/build
SUBDIRS=/usr/src/iptables-p2p/kernel
P2P_COMMON=/usr/src/iptables-p2p/kernel/../common modules
make[2]: Entering directory
`/usr/src/linux-2.6.9-gentoo-r1'
CC [M] /usr/src/iptables-p2p/kernel/main.o
/usr/src/iptables-p2p/kernel/main.c: In function `init':
/usr/src/iptables-p2p/kernel/main.c:148: warning:
implicit declaration of function `init_match_http'
/usr/src/iptables-p2p/kernel/main.c: In function `fini':
/usr/src/iptables-p2p/kernel/main.c:155: warning:
implicit declaration of function `destroy_match_http'
CC [M] /usr/src/iptables-p2p/kernel/match_bittorrent.o
CC [M] /usr/src/iptables-p2p/kernel/match_dc.o
CC [M] /usr/src/iptables-p2p/kernel/match_edonkey.o
CC [M] /usr/src/iptables-p2p/kernel/match_http.o
CC [M] /usr/src/iptables-p2p/kernel/utils.o
/usr/src/iptables-p2p/kernel/utils.c: In function
`fill_strtree':
/usr/src/iptables-p2p/kernel/utils.c:43: warning:
implicit declaration of function `assert'
LD [M] /usr/src/iptables-p2p/kernel/ipt_p2p.o
Building modules, stage 2.
MODPOST
*** Warning: "assert"
[/usr/src/iptables-p2p/kernel/ipt_p2p.ko] undefined!
CC /usr/src/iptables-p2p/kernel/ipt_p2p.mod.o
LD [M] /usr/src/iptables-p2p/kernel/ipt_p2p.ko
make[2]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r1'
make[1]: Leaving directory `/usr/src/iptables-p2p/kernel'
Any help is appreciated.
Costa