All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Haumer <andreas@xss.co.at>
To: netfilter-devel@lists.netfilter.org
Cc: andreas@xss.co.at
Subject: iptables compile problem with glibc-2.1.3 and kernel 2.4.21
Date: Tue, 08 Jul 2003 12:07:56 +0200	[thread overview]
Message-ID: <3F0A97FC.4030008@xss.co.at> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I have a compile problem with iptables 1.2.8:

[...]
make -j 1 BINDIR=/usr/bin LIBDIR=/usr/lib MANDIR=/usr/man KERNEL_DIR=/lib/modules/2.4.21-xss/build/
Making dependencies: please wait...
Extensions found: IPv6:ah IPv6:esp IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
cc -O2 -Wall -Wunused -I/lib/modules/2.4.21-xss/build//include -Iinclude/ -DIPTABLES_VERSION=\"1.2.8\"  -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
ld -shared -o extensions/libipt_ah.so extensions/libipt_ah_sh.o
cc -O2 -Wall -Wunused -I/lib/modules/2.4.21-xss/build//include -Iinclude/ -DIPTABLES_VERSION=\"1.2.8\"  -fPIC -o extensions/libipt_conntrack_sh.o -c extensions/libipt_conntrack.c
In file included from /lib/modules/2.4.21-xss/build/include/linux/bitops.h:3,
                 from /lib/modules/2.4.21-xss/build/include/linux/netfilter_ipv4/ip_conntrack.h:9,
                 from extensions/libipt_conntrack.c:12:
/lib/modules/2.4.21-xss/build/include/asm/bitops.h:410: conflicting types for `__ffs'
/usr/include/string.h:247: previous declaration of `__ffs'
make: *** [extensions/libipt_conntrack_sh.o] Error 1
[...]

Headers under "/usr/include/" come from glibc-2.1.3
"/lib/modules/2.4.21-xss/build/" is a symlink pointing to
linux-2.4.21 kernel sources (with ac4 patches)

Linux 2.4 and glibc-2.1.3 seem to have a different understanding
about __ffs(). Both use their own one...

Usually, this is not a problem, as userspace programs
don't include kernel headers, but iptables does.

I checked the mailing lists for glibc, linux-kernel and
iptables for solutions, but couldn't find any.

Any idea anyone?

- - andreas

- --
Andreas Haumer                     | mailto:andreas@xss.co.at
*x Software + Systeme              | http://www.xss.co.at/
Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
A-1100 Vienna, Austria             | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/Cpf0xJmyeGcXPhERAgV4AJ41x3dVZP28Uqf8e0Z+mH6QXXfnvACguiNf
7qNlvwr0SX/6F6kjjqga0JU=
=g7zb
-----END PGP SIGNATURE-----

                 reply	other threads:[~2003-07-08 10:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3F0A97FC.4030008@xss.co.at \
    --to=andreas@xss.co.at \
    --cc=netfilter-devel@lists.netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.