#11278: iptables-1.8.1
-------------------------+------------------------
Reporter: bdubbs | Owner: blfs-book
Type: enhancement | Status: new
Priority: normal | Milestone: 8.4
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------
Comment (by thomas):
{{{
...
CC libxt_length.oo
CCLD libxt_length.so
CC libxt_limit.oo
In file included from ../iptables/nft.h:5,
from libxt_limit.c:18:
../iptables/nft-shared.h:6:10: schwerwiegender Fehler: libnftnl/rule.h:
Datei oder Verzeichnis nicht gefunden
#include <libnftnl/rule.h>
^~~~~~~~~~~~~~~~~
Kompilierung beendet.
make[2]: *** [GNUmakefile:107: libxt_limit.oo] Fehler 1
make[2]: Verzeichnis „/tmp/iptables/build/iptables-1.8.1/extensions“ wird
verlassen
make[1]: *** [Makefile:507: all-recursive] Fehler 1
make[1]: Verzeichnis „/tmp/iptables/build/iptables-1.8.1“ wird verlassen
make: *** [Makefile:414: all] Fehler 2
}}}
The sed in the book does not fix that failure. There is a small patch at
https://www.spinics.net/lists/netfilter-devel/msg56597.html which makes
iptables building.
To do it sedish:
{{{
sed -e "/iptables\/nft\.h/d" -i extensions/libxt_limit.c
sed -e "/^struct nftnl_rule;/a struct iptables_command_state;" -i iptables
/nft-bridge.h
}}}
Thats enough, the patch in GNUmakefile.in isn't required.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/11278#comment:1>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page