linux-2.6.22.1 headers break iptables-1.3.7

Alexander E. Patrakov patrakov at ums.usu.ru
Tue Jul 24 07:50:58 PDT 2007


Hello,

the following failure appears during iptables-1.3.7 compilation against 
linux-2.6.22.1 headers (spotted during a full rebuild of the LiveCD):

make[2]: Entering directory `/lfs-livecd/packages/iptables/iptables-1.3.7'
make PREFIX=/usr LIBDIR=/lib BINDIR=/bin MANDIR=/usr/share/man 
KERNEL_DIR=/usr
make[3]: Entering directory `/lfs-livecd/packages/iptables/iptables-1.3.7'
Making dependencies: please wait...
make[3]: Leaving directory `/lfs-livecd/packages/iptables/iptables-1.3.7'
make[3]: Entering directory `/lfs-livecd/packages/iptables/iptables-1.3.7'
Unable to resolve dependency on linux/netfilter_ipv4/ip_conntrack.h. Try 
'make c
lean'.
Unable to resolve dependency on linux/netfilter_ipv4/ip_nat_rule.h. Try 
'make cl
ean'.
Extensions found: IPv4:NFLOG IPv4:connbytes IPv4:dccp IPv4:recent 
IPv4:string IP
v6:NFLOG IPv6:REJECT IPv6:esp IPv6:hashlimit IPv6:sctp
cc -O2 -Wall -Wunused -I/usr/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.3.7\"  -f
PIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
cc -shared  -o extensions/libipt_ah.so extensions/libipt_ah_sh.o
cc -O2 -Wall -Wunused -I/usr/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.3.7\"  -f
PIC -o extensions/libipt_addrtype_sh.o -c extensions/libipt_addrtype.c
cc -shared  -o extensions/libipt_addrtype.so extensions/libipt_addrtype_sh.o
cc -O2 -Wall -Wunused -I/usr/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.3.7\"  -f
PIC -o extensions/libipt_comment_sh.o -c extensions/libipt_comment.c
cc -shared  -o extensions/libipt_comment.so extensions/libipt_comment_sh.o
make[3]: Leaving directory `/lfs-livecd/packages/iptables/iptables-1.3.7'
make[2]: *** [compile-stage2] Error 2

So far, I am going to try to compile iptables against raw headers in 
/lib/modules/2.6.22.1/build/include - but anyway, this is a bug in one 
of the books that has to be fixed.

-- 
Alexander E. Patrakov




More information about the blfs-dev mailing list