fix compilation of xtables 1.37
PATCH 1/1 fix compilation of xtables 1.37
Hi,
the attached patch fixes compilation of xtables 1.37.
My scenario is:
1) xtables.h is in /usr/local/iptables/include
2) configure was done as:
export PKG_CONFIG_PATH=/usr/local/iptables/lib/pkgconfig
./configure --with-xtlibdir=/usr/local/iptables/libexec/xtablesThe error was:
libxt_ACCOUNT.c:13:21: warning: xtables.h: No such file or directory
HTH
cheers,
Frank Reppin
Signature · 3 lines
43rd Law of Computing:
Anything that can go wr
fortune: Segmentation violation -- Core dumpedextensions/ACCOUNT/Makefile.in +1 -1
@@ -247,7 +247,7 @@ top_srcdir = @top_srcdir@ xtlibdir = @xtlibdir@ AM_CPPFLAGS = ${regular_CPPFLAGS} -I${abs_top_srcdir}/extensions -AM_CFLAGS = ${regular_CFLAGS} +AM_CFLAGS = ${regular_CFLAGS} ${libxtables_CFLAGS} XA_SRCDIR = ${srcdir} XA_TOPSRCDIR = ${top_srcdir} XA_ABSTOPSRCDIR = ${abs_top_srcdir}
extensions/pknock/Makefile.in +1 -1
@@ -216,7 +216,7 @@ top_srcdir = @top_srcdir@ xtlibdir = @xtlibdir@ AM_CPPFLAGS = ${regular_CPPFLAGS} -I${abs_top_srcdir}/extensions -AM_CFLAGS = ${regular_CFLAGS} +AM_CFLAGS = ${regular_CFLAGS} ${libxtables_CFLAGS} XA_SRCDIR = ${srcdir} XA_TOPSRCDIR = ${top_srcdir} XA_ABSTOPSRCDIR = ${abs_top_srcdir}
Quoted 6 lines · Frank Reppin
Hi,
the attached patch fixes compilation of xtables 1.37.
My scenario is:
Quoted 8 lines
1)
xtables.his in/usr/local/iptables/include
2) configure was done as:export PKG_CONFIG_PATH=/usr/local/iptables/lib/pkgconfig ./configure --with-xtlibdir=/usr/local/iptables/libexec/xtablesThe error was:
libxt_ACCOUNT.c:13:21: warning:
xtables.h: No such file or directory
Fixed now in master.