On Sat, 30 Dec 2006, Jan Engelhardt wrote: > > On Dec 30 2006 13:45, Pascal Bleser wrote: > >Lucky Leavell wrote: > >> OS: SuSE 10.0 Pro > >> iptables v1.3.3-3 > >> > >> I installed iptables-devel so I could compile ipp2p but it fails because > >> it cannot find iptables.h. A find search of the root partition fails to > >> find it. What gives? Where can I find it? > > > >http://benjiweber.co.uk:8080/webpin/index.jsp?searchTerm=iptables.h&distro=10.2 > > > >It's in kernel-source, at least on 10.2. > >Can't find it on 10.0, which most probably means it's a new header that > >has been introduced in iptables 1.3.6 (kernel 2.6.18) and that doesnt' > >exist on previous versions. > > > >It seems ipp2p requires a newer kernel/iptables version than what you > >are using. > > Gah. People. It wants ip_tables.h (with an underscore), and that's > logically in kernel-source > (/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h) and > linux-kernel-headers > (/usr/include/linux/netfilter_ipv4/ip_tables.h) packages. > OK, here are the first lines from the make session; please note that it cannot find "iptables.h" and specifically complain about need for iptables sources, which is apparently more than just iptables-devel:
Makefile:36: You need to install iptables sources and maybe set IPTABLES_SRC make -C /lib/modules/2.6.13-15.13-default/build SUBDIRS=/home/lucky/ipp2p-0.8.2 modules make[1]: Entering directory `/usr/src/linux-2.6.13-15.13-obj/i386/default' make -C ../../../linux-2.6.13-15.13 O=../linux-2.6.13-15.13-obj/i386/default mod ules /usr/src/linux-2.6.13-15.13/scripts/gcc-version.sh: line 11: gcc: command not fo und /usr/src/linux-2.6.13-15.13/scripts/gcc-version.sh: line 12: gcc: command not fo und make[3]: gcc: Command not found CC [M] /home/lucky/ipp2p-0.8.2/ipt_ipp2p.o /bin/sh: gcc: command not found make[4]: *** [/home/lucky/ipp2p-0.8.2/ipt_ipp2p.o] Error 127 make[3]: *** [_module_/home/lucky/ipp2p-0.8.2] Error 2 make[2]: *** [modules] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.13-15.13-obj/i386/default' make: *** [ipt_ipp2p.ko] Error 2 casper:/home/lucky/ipp2p-0.8.2 # yast casper:/home/lucky/ipp2p-0.8.2 # make Makefile:36: You need to install iptables sources and maybe set IPTABLES_SRC make -C /lib/modules/2.6.13-15.13-default/build SUBDIRS=/home/lucky/ipp2p-0.8.2 modules make[1]: Entering directory `/usr/src/linux-2.6.13-15.13-obj/i386/default' make -C ../../../linux-2.6.13-15.13 O=../linux-2.6.13-15.13-obj/i386/default mod ules CC [M] /home/lucky/ipp2p-0.8.2/ipt_ipp2p.o Building modules, stage 2. MODPOST CC /home/lucky/ipp2p-0.8.2/ipt_ipp2p.mod.o LD [M] /home/lucky/ipp2p-0.8.2/ipt_ipp2p.ko make[1]: Leaving directory `/usr/src/linux-2.6.13-15.13-obj/i386/default' gcc -O3 -Wall -DIPTABLES_VERSION=\"1.3.3\" -I/include -fPIC -c libipt_ipp2p.c libipt_ipp2p.c:9:22: error: iptables.h: No such file or directory libipt_ipp2p.c:67: warning: ‘struct ipt_entry_match’ declared inside parameter l ist Thank you, Lucky
