compile problem with 1.2.10
Hi, I'm trying to compile 1.2.10 on a RH 7.2 box, running kernel 2.4.26. (The prior version is 1.2.9, no POM or anything fancy, just the default stuff..)
I get the following error upon running 'make KERNEL_DIR=/usr/src/linux' :
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.10\" -DIPT_LIB_DIR=\"/usr/local/lib/iptables\" -rdynamic -o iptables iptables-standalone.c iptables.o libiptc/libiptc.a -ldl -lnsl /bin/sh: -c: line 1: syntax error near unexpected token `;'/bin/sh: -c: line 1: `if [ -n "" ]; then for ext in ; do echo ".SS $ext (not supported, see Patch-O-Matic)" ; cat extensions/libipt_$ext.man ; done ; fi >>extensions/libipt_matches.man'
make: *** [extensions/libipt_matches.man] Error 2
rm libiptc/libip6tc.o libiptc/libip4tc.o
Any ideas?
regards,
jamie
Quoted 10 lines · Jamie Pratt
Hi, I'm trying to compile 1.2.10 on a RH 7.2 box, running kernel 2.4.26. (The prior version is 1.2.9, no POM or anything fancy, just the default stuff..)
I get the following error upon running 'make KERNEL_DIR=/usr/src/linux' :
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/
(quoted diff) +0
-3-DIPTABLES_VERSION=\"1.2.10\" -DIPT_LIB_DIR=\"/usr/local/lib/iptables\" -rdynamic -o iptables iptables-standalone.c iptables.o libiptc/libiptc.a -ldl -lnsl
Quoted 6 lines
/bin/sh: -c: line 1: syntax error near unexpected token;' /bin/sh: -c: line 1:if [ -n "" ]; then for ext in ; do echo ".SS $ext (not supported, see Patch-O-Matic)" ; cat extensions/libipt_$ext.man ; done ; fi >>extensions/libipt_matches.man'
make: *** [extensions/libipt_matches.man] Error 2
rmlibiptc/libip6tc.olibiptc/libip4tc.o
The bug has been fixed in the iptables cvs. The new iptables release will be issued soon.
Thank you for the reporting: iptables-1.2.10 was compiled countless times, but the possibility you tripped over never came out for the developers :-(.
Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary