Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Compilation problem iptables
Date: Wed, 24 Oct 2018 17:11:25
Message-Id: CAJ1xhMU+YOWmAG6pMUoYOf5TCHhNLogab2PWntsNCQ=j2rxUiA@mail.gmail.com
In Reply to: [gentoo-user] Compilation problem iptables by tuxic@posteo.de
1 On Wed, Oct 24, 2018 at 7:07 PM <tuxic@××××××.de> wrote:
2 >
3 > Hi,
4 >
5 > while syncing/updateing, this happens (net-firewall/iptables-1.8.1) :
6 > ototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -D_INIT=libxt_multiport_init -DPIC -fPIC -march=native -O -pipe -o libxt_multiport.oo -c libxt_multiport.c;
7 > x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I.. -Wp,-MMD,./.libxt_nfacct.oo.d,-MT,libxt_nfacct.oo -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -D_INIT=libxt_nfacct_init -DPIC -fPIC -march=native -O -pipe -o libxt_nfacct.oo -c libxt_nfacct.c;
8 > x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I.. -Wp,-MMD,./.libxt_osf.oo.d,-MT,libxt_osf.oo -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -D_INIT=libxt_osf_init -DPIC -fPIC -march=native -O -pipe -o libxt_osf.oo -c libxt_osf.c;
9 > In file included from ../iptables/nft.h:5,
10 > from libxt_limit.c:18:
11 > ../iptables/nft-shared.h:6:10: fatal error: libnftnl/rule.h: No such file or directory
12 > #include <libnftnl/rule.h>
13 > ^~~~~~~~~~~~~~~~~
14 > compilation terminated.
15 > x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I.. -Wp,-MMD,./.libxt_owner.oo.d,-MT,libxt_owner.oo -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -D_INIT=libxt_owner_i
16 >
17 > I wanted I sent the whole bunch of logs...
18 >
19 > Cheers!
20 > Meino
21 >
22 >
23 >
24 >
25
26 The header file reported as missing belongs to the net-libs/libnftnl package.
27 Do you have it installed?

Replies

Subject Author
Re: [gentoo-user] Compilation problem iptables tuxic@××××××.de