On 27/05/11 09:52, Arkadiusz Miskiewicz wrote: > On Thursday 26 of May 2011, Patrick McHardy wrote: >> Am 26.05.2011 18:53, schrieb Patrick McHardy: >>> The netfilter coreteam presents: >>> iptables version 1.4.10 >> >> That's supposed to read 1.4.11 of course :) > > Too bad it breaks iproute2 build, hope to see fixed iproute2 release then > > gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - > DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -DCONFIG_GACT -DCONFIG_GACT_PROB - > DIPT_LIB_DIR=\"/usr/lib64/xtables\" -Wl,-export-dynamic -shared -fpic -o > q_atm.so q_atm.c -latm > gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include - > DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -DCONFIG_GACT -DCONFIG_GACT_PROB - > DIPT_LIB_DIR=\"/usr/lib64/xtables\" -Wl,-export-dynamic -shared -fpic -o > m_xt.so m_xt.c -lxtables > m_xt.c: In function âparse_iptâ: > m_xt.c:167:31: warning: passing argument 2 of âxtables_merge_optionsâ discards > âconstâ qualifier from pointer target type [enabled by default] > /usr/include/xtables.h:395:23: note: expected âstruct option *â but argument > is of type âconst struct option *â > m_xt.c:167:31: warning: passing argument 3 of âxtables_merge_optionsâ from > incompatible pointer type [enabled by default] > /usr/include/xtables.h:395:23: note: expected âconst struct option *â but > argument is of type âunsigned int *â > m_xt.c:167:31: error: too few arguments to function âxtables_merge_optionsâ > /usr/include/xtables.h:395:23: note: declared here > m_xt.c:127:6: warning: variable âresâ set but not used [-Wunused-but-set- > variable] > m_xt.c: In function âprint_iptâ: > m_xt.c:312:30: warning: passing argument 2 of âxtables_merge_optionsâ discards > âconstâ qualifier from pointer target type [enabled by default] > /usr/include/xtables.h:395:23: note: expected âstruct option *â but argument > is of type âconst struct option *â > m_xt.c:312:30: warning: passing argument 3 of âxtables_merge_optionsâ from > incompatible pointer type [enabled by default] > /usr/include/xtables.h:395:23: note: expected âconst struct option *â but > argument is of type âunsigned int *â > m_xt.c:312:30: error: too few arguments to function âxtables_merge_optionsâ > /usr/include/xtables.h:395:23: note: declared here > make[1]: *** [m_xt.so] BÅÄd 1 > rm emp_ematch.lex.c emp_ematch.yacc.c Backward compatibility was broken in the following iptables commit: >From 600f38db82548a683775fd89b6e136673e924097 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt <jengelh@xxxxxxxxxx> Date: Fri, 29 Oct 2010 18:57:42 +0200 Subject: [PATCH] libxtables: change option precedence order to be intuitive -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html