Portál AbcLinuxu, 7. prosince 2025 20:05
Když jsem odpovídal, tak mě nenapadlo, že někdo chce takovou extra funkci v iptables a neví co je patch-o-matic... Příště přidám vysvětlivky
Extensions found: IPv4:recent IPv4:time 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
co ted?
__user, což se ještě dá vyřešit smazáním, protože je to beztak prázdné makro
, ale pak se snaží kompilovat kód. který je pod #ifdef __KERNEL__...?!
Nepřidával jste tam nějak moc věcí z toho POM?
Zkuste v tom Makefile k iptables přidat do proměnné CFLAGS (cca. řádek 35) --save-temps, spustit znova make a někam na web (ne sem!) dát libipt_ah.i. A radši i /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h. BTW co je to za jádro (2.6.?)?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.