Re: Unable to build nftables from git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 30, 2019 at 10:37:21PM +0200, Mikhail Morfikov wrote:
> ...
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -DDEFAULT_INCLUDE_PATH="\"/etc\""   -g -DDEBUG  -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -Waggregate-return -Wunused -Wwrite-strings -g -O2 -fdebug-prefix-map=/build/nftables-0.9.0~git20190430=. -fstack-protector-strong -Wformat -Werror=format-security -c -o netlink_linearize.lo netlink_linearize.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DDEFAULT_INCLUDE_PATH=\"/etc\" -g -DDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wsign-compare -Winit-self -Wformat-nonliteral -Wformat-security -Wmissing-format-attribute -Wcast-align -Wundef -Wbad-function-cast -Waggregate-return -Wunused -Wwrite-strings -g -O2 "-fdebug-prefix-map=/build/nftables-0.9.0~git20190430=." -fstack-protector-strong -Wformat -Werror=format-security -c netlink_linearize.c  -fPIC -DPIC -o .libs/netlink_linearize.o
> netlink_linearize.c: In function 'netlink_gen_osf':
> netlink_linearize.c:231:26: error: 'NFTNL_EXPR_OSF_FLAGS' undeclared (first use in this function); did you mean 'NFTNL_EXPR_FIB_FLAGS'?
>   nftnl_expr_set_u32(nle, NFTNL_EXPR_OSF_FLAGS, expr->osf.flags);
>                           ^~~~~~~~~~~~~~~~~~~~
>                           NFTNL_EXPR_FIB_FLAGS
> netlink_linearize.c:231:26: note: each undeclared identifier is reported only once for each function it appears in

git pull

from your libnftnl repository.

You may hit this during development. From release, this won't happen
as we have version dependency checks.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux