iptables issue

PD <[email protected]> Thu, 24 Feb 2005 09:42:19 +0700
Newsgroups gmane.linux.redhat.release.shrike
Message-ID <[email protected]>
Hi there,

For some reason, I've to remove iptables coming from Shrike package and download the last version (1.3.0) from netfilter.org.

After download and extract and patch the above last version, I face an error on compiling with messages :
# make KERNEL_DIR=/usr/src/linux-2.4.29
Extensions found: IPv4:IMQ IPv4:recent IPv6:ah IPv6:esp IPv6:frag IPv6:IMQ IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
cc -O2 -Wall -Wunused -I/usr/src/linux-2.4.29/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.0\"  -fPIC -o extensions/libipt_IMQ_sh.o -c extensions/libipt_IMQ.c
In file included from include/libiptc/libiptc.h:6,
                 from include/iptables.h:5,
                 from extensions/libipt_IMQ.c:7:
/usr/src/linux-2.4.29/include/linux/netfilter_ipv4/ip_tables.h:339: warning: type defaults to `int' in declaration of `DECLARE_MUTEX'
/usr/src/linux-2.4.29/include/linux/netfilter_ipv4/ip_tables.h:339: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.29/include/linux/netfilter_ipv4/ip_tables.h:339: warning: `DECLARE_MUTEX' declared `static' but never defined
ld -shared  -o extensions/libipt_IMQ.so extensions/libipt_IMQ_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux-2.4.29/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.0\"  -fPIC -o extensions/libipt_recent_sh.o -c extensions/libipt_recent.c
In file included from include/libiptc/libiptc.h:6,
                 from include/iptables.h:5,
                 from extensions/libipt_recent.c:8:
/usr/src/linux-2.4.29/include/linux/netfilter_ipv4/ip_tables.h:339: warning: type defaults to `int' in declaration of `DECLARE_MUTEX'
/usr/src/linux-2.4.29/include/linux/netfilter_ipv4/ip_tables.h:339: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4.29/include/linux/netfilter_ipv4/ip_tables.h:339: warning: `DECLARE_MUTEX' declared `static' but never defined

The kernel version use is 2.4.29 downloaded from kernel.org

Has anyone face the same problem before ?
If so, how to solve the above problem ?

Regards

PD

-- 
Shrike-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/shrike-list