Opened 3 years ago

Closed 3 years ago

#11278 closed enhancement (fixed)

iptables-1.8.1

Reported by: Bruce Dubbs Owned by: thomas
Priority: normal Milestone: 8.4
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New point version.

Change History (3)

comment:1 by thomas, 3 years ago

...
  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.

comment:2 by thomas, 3 years ago

Owner: changed from blfs-book to thomas
Status: newassigned

comment:3 by thomas, 3 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r20663

Note: See TracTickets for help on using tickets.