iptables will nicht kompilieren

Post Reply
Message
Author
lopsch
Posts: 8
Joined: 03. Aug 2002 17:58

iptables will nicht kompilieren

#1 Post by lopsch »

Hi also ich versuche gerade die neueste Version von iptables einzuspielen aber ich bekomme immer folgenden Fehler:

make BINDIR=/usr/sbin/ LIBDIR=/usr/lib MANDIR=/usr/man/

Extensions found: IPv4:recent IPv6:ah IPv6:esp IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.11\" -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
In file included from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_ah.c:8:
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: warning: no semicolon at end of struct or union
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: error: parse error before '*' token
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:259: error: parse error before '}' token
/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
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: `DECLARE_MUTEX' declared `static' but never defined
make: *** [extensions/libipt_ah_sh.o] Error 1

hat jemand eine Ahnung?

edit: Kernel ist ein Originalkernel 2.6.7 und die iptables version ist 1.2.11

rattenkind

#2 Post by rattenkind »

Hi,

- ist deine Rootshell, die du ja sicher benutzt auch eine Bash?
- wieso uebergibst du die make options am make command und nicht ueber ./configure?

ratte

lopsch
Posts: 8
Joined: 03. Aug 2002 17:58

#3 Post by lopsch »

Ja ist die bash ist hier zu Hause auf meinem Router.

So stand es in der README. Es gibt wohl kein ./configure script. Habe irgendwo gelesen, dass es wohl Probleme gibt, seitdem die nach dem 2.4.irgendwas Kernel den code umgestellt haben. Allerdings habe ich noch keine Lösung gefunden.

Post Reply