All of lore.kernel.org
 help / color / mirror / Atom feed
* make iptables
@ 2004-10-21  2:30 cc
  0 siblings, 0 replies; only message in thread
From: cc @ 2004-10-21  2:30 UTC (permalink / raw)
  To: Netfilter Group

Hi,

I'm attempting to compile iptables 1.2.11, but am
not sure what I'm doing wrong.   I am currently
running iptables 1.2.8 and it's running smoothly
on a 2.4.24 machine.

I just patched it to a 2.4.27 kernel and did a
make KERNEL_DIR=/usr/src/linux

It then throwing Warnings left,right and center:

cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/
-DIPTABLES_VERSION=\"1.2.11\"  -fPIC -o extensions/libipt_physdev_sh.o
-c extensions/libipt_physdev.c
In file included from include/libiptc/libiptc.h:6,
                 from include/iptables.h:5,
                 from extensions/libipt_physdev.c:7:
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning:
type defaults to `int' in declaration of `DECLARE_MUTEX'
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning:
parameter names (without types) in function declaration

and finally choked at:

extensions/libipt_dstlimit.c: In function `save':
extensions/libipt_dstlimit.c:310: structure has no member named `cfg'
extensions/libipt_dstlimit.c:311: structure has no member named `cfg'
extensions/libipt_dstlimit.c:312: structure has no member named `cfg'
extensions/libipt_dstlimit.c:313: structure has no member named `cfg'
extensions/libipt_dstlimit.c:315: warning: unreachable code at beginning
of switch statement
extensions/libipt_dstlimit.c:327: structure has no member named `cfg'
extensions/libipt_dstlimit.c:328: structure has no member named `cfg'
extensions/libipt_dstlimit.c:329: structure has no member named `cfg'
extensions/libipt_dstlimit.c:330: structure has no member named `cfg'
extensions/libipt_dstlimit.c:331: structure has no member named `cfg'
extensions/libipt_dstlimit.c:332: structure has no member named `cfg'
extensions/libipt_dstlimit.c:333: structure has no member named `cfg'
extensions/libipt_dstlimit.c:334: structure has no member named `cfg'
extensions/libipt_dstlimit.c: At top level:
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning:
`DECLARE_MUTEX' declared `static' but never defined
make: *** [extensions/libipt_dstlimit_sh.o] Error 1

I've scanned the FAQ, the previous threads and the archives and
am quite stumped.

I used the same procedure I did with 1.2.8 against the 2.4.21 kernel.
Did something break?

Correct me if I'm wrong, but :

1)  Uncompress the iptables-1.2.11.tar.bz2 to /usr/src
2)  cd /usr/src/iptables-1.2.11
3)  make KERNEL_DIR=/usr/src/linux

At first, I even applied the POMs, but now to make things easier(?),
I deleted the /usr/src/linux-2.4.27 and uncompressed it again.
Still no go.

Any pointeres appreciated.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-21  2:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-21  2:30 make iptables cc

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.