From: Peter Volkov <pva@gentoo.org>
To: Patrick McHardy <kaber@trash.net>
Cc: Netfilter Development Mailinglist <netfilter-devel@vger.kernel.org>
Subject: Some iptables-1.4.3 issues (was: Release of iptables-1.4.3)
Date: Tue, 24 Mar 2009 11:09:16 +0300 [thread overview]
Message-ID: <1237882157.9988.2533.camel@localhost> (raw)
In-Reply-To: <49C79C90.80804@trash.net>
[-- Attachment #1.1: Type: text/plain, Size: 1421 bytes --]
Hi, Patrick. Thank you for new itpables release. There are some issues I
experience with it:
1. build fails:
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -DXTABLES_LIBDIR=\"/lib/xtables\" -DXTABLES_INTERNAL -I./include -I./include -I no/include -I no/include -DIPTABLES_MULTI -DNO_SHARED_LIBS=1 -O2 -march=i686 -pipe -mtune=i686 -march=pentium-m -ggdb -U_FORTIFY_SOURCE -MT iptables_static-xtables.o -MD -MP -MF ".deps/iptables_static-xtables.Tpo" -c -o iptables_static-xtables.o `test -f 'xtables.c' || echo './'`xtables.c; \
then mv -f ".deps/iptables_static-xtables.Tpo" ".deps/iptables_static-xtables.Po"; else rm -f ".deps/iptables_static-xtables.Tpo"; exit 1; fi
xtables.c: In function 'xtables_find_target':
xtables.c:641: error: 'LOAD_MUST_SUCCEED' undeclared (first use in this function)
The following simple sed fixes this issue:
sed -e 's:\<\(LOAD_MUST_SUCCEED\)\>:XTF_\1:' -i xtables.c
2. build fails with --as-needed. Patch in attachment
(iptables-1.4.3--as-needed.patch) fixes this issue.
3. http://bugzilla.netfilter.org/show_bug.cgi?id=568 is still there,
although proposed patch fixes the issue.
Could you apply this changes?
--
Peter.
[-- Attachment #1.2: iptables-1.4.3--as-needed.patch --]
[-- Type: text/x-patch, Size: 1801 bytes --]
=== modified file 'Makefile.am'
--- Makefile.am 2009-03-23 20:36:12 +0000
+++ Makefile.am 2009-03-23 20:37:05 +0000
@@ -26,7 +26,7 @@
# iptables, dynamic
iptables_SOURCES = iptables-standalone.c iptables.c
iptables_LDFLAGS = -rdynamic
-iptables_LDADD = -lm libiptc/libiptc.la extensions/libext4.a libxtables.la
+iptables_LDADD = libiptc/libiptc.la extensions/libext4.a libxtables.la -lm
iptables_xml_LDADD = libxtables.la
iptables_multi_SOURCES = iptables-multi.c iptables-save.c \
@@ -47,14 +47,14 @@
# iptables-multi, semi-static
iptables_static_SOURCES = ${iptables_multi_SOURCES} xtables.c
iptables_static_CFLAGS = ${iptables_multi_CFLAGS} -DNO_SHARED_LIBS=1
-iptables_static_LDADD = -lm libiptc/libiptc.la extensions/libext4.a
+iptables_static_LDADD = libiptc/libiptc.la extensions/libext4.a -lm
iptables_xml_SOURCES = iptables-xml.c
# ip6tables, dynamic
ip6tables_SOURCES = ip6tables-standalone.c ip6tables.c
ip6tables_LDFLAGS = -rdynamic
-ip6tables_LDADD = -lm libiptc/libiptc.la extensions/libext6.a libxtables.la
+ip6tables_LDADD = libiptc/libiptc.la extensions/libext6.a libxtables.la -lm
ip6tables_multi_SOURCES = ip6tables-multi.c ip6tables-save.c \
ip6tables-restore.c ip6tables-standalone.c \
@@ -74,7 +74,7 @@
# iptables-multi, semi-static
ip6tables_static_SOURCES = ${ip6tables_multi_SOURCES} xtables.c
ip6tables_static_CFLAGS = ${ip6tables_multi_CFLAGS} -DNO_SHARED_LIBS=1
-ip6tables_static_LDADD = -lm libiptc/libiptc.la extensions/libext6.a
+ip6tables_static_LDADD = libiptc/libiptc.la extensions/libext6.a -lm
bin_PROGRAMS = iptables-xml
sbin_PROGRAMS =
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-03-24 8:09 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-23 14:28 [ANNOUNCE]: Release of iptables-1.4.3 Patrick McHardy
2009-03-23 16:38 ` Robby Workman
2009-03-23 16:45 ` Jan Engelhardt
2009-03-23 18:19 ` Jan Engelhardt
2009-03-23 19:19 ` Patrick McHardy
2009-03-23 19:27 ` Jan Engelhardt
2009-03-23 19:29 ` Patrick McHardy
2009-03-23 20:22 ` Pablo Neira Ayuso
2009-03-24 8:09 ` Peter Volkov [this message]
2009-03-24 8:54 ` Some iptables-1.4.3 issues (was: Release of iptables-1.4.3) Jan Engelhardt
2009-03-24 11:17 ` Some iptables-1.4.3 issues Pablo Neira Ayuso
2009-03-24 11:20 ` Jan Engelhardt
2009-03-24 11:38 ` Pablo Neira Ayuso
2009-03-24 11:46 ` Pablo Neira Ayuso
2009-03-24 11:48 ` Jan Engelhardt
2009-03-24 11:57 ` Jan Engelhardt
2009-03-24 11:49 ` Jan Engelhardt
2009-03-24 11:56 ` Pablo Neira Ayuso
2009-03-24 12:47 ` Patrick McHardy
2009-03-24 12:50 ` Pablo Neira Ayuso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1237882157.9988.2533.camel@localhost \
--to=pva@gentoo.org \
--cc=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox