Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Compilation problem iptables
Date: Wed, 24 Oct 2018 17:22:38
Message-Id: 20181024172314.napoza5p3qdougoc@solfire
In Reply to: Re: [gentoo-user] Compilation problem iptables by Alexander Kapshuk
1 On 10/24 08:10, Alexander Kapshuk wrote:
2 > On Wed, Oct 24, 2018 at 7:07 PM <tuxic@××××××.de> wrote:
3 > >
4 > > Hi,
5 > >
6 > > while syncing/updateing, this happens (net-firewall/iptables-1.8.1) :
7 > > 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;
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_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;
9 > > 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;
10 > > In file included from ../iptables/nft.h:5,
11 > > from libxt_limit.c:18:
12 > > ../iptables/nft-shared.h:6:10: fatal error: libnftnl/rule.h: No such file or directory
13 > > #include <libnftnl/rule.h>
14 > > ^~~~~~~~~~~~~~~~~
15 > > compilation terminated.
16 > > 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
17 > >
18 > > I wanted I sent the whole bunch of logs...
19 > >
20 > > Cheers!
21 > > Meino
22 > >
23 > >
24 > >
25 > >
26 >
27 > The header file reported as missing belongs to the net-libs/libnftnl package.
28 > Do you have it installed?
29 >
30
31 No, it was not installed...
32 I would think, that portage/emerge would resolve this kind of
33 dependancies?!

Replies

Subject Author
Re: [gentoo-user] Compilation problem iptables Daniel Frey <djqfrey@×××××.com>