[opensuse] iptables.h
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? Thank you, Lucky Leavell -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <pascal.bleser@skynet.be> <guru@unixtech.be> _\_v The more things change, the more they stay insane. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFFll95r3NMWliFcXcRAmMOAJwMrGVKUjk3J7t56XFEgZ5ipPkLlACgn8xU Z54pdaShNahaJMn7LQwg2ek= =6o3o -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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. -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
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 ^^^^^^^^^^
Perhaps fix the makefile. -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 30 Dec 2006, Jan Engelhardt wrote:
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 ^^^^^^^^^^
Perhaps fix the makefile.
Which would appear to require the iptables source: (from Makefile) ifeq ($(IPTABLES_SRC),) $(warning You need to install iptables sources and maybe set IPTABLES_SRC) endif IPTABLES_INCLUDE = -I$(IPTABLES_SRC)/include ... libipt_ipp2p.so: libipt_ipp2p.c ipt_ipp2p.h $(CC) $(CFLAGS) $(IPTABLES_OPTION) $(IPTABLES_INCLUDE) -fPIC -c libipt_ipp2p.c ld -shared -o libipt_ipp2p.so libipt_ipp2p.o Thank you, Lucky -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Lucky Leavell escribió:
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
also, you don't even have a compiler. you have to install gcc....
On Dec 30 2006 14:38, Cristian Rodriguez R. wrote:
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
also, you don't even have a compiler. you have to install gcc....
...which he just did right afterwards (note the call to `yast`). And then recompiled again. If you read the mail, you see two invocations of make. -`J' -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Cristian Rodriguez R.
-
Jan Engelhardt
-
Lucky Leavell
-
Pascal Bleser