Unable to build nftables from git

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

 



...
/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
make[4]: *** [Makefile:719: netlink_linearize.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
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.c -o netlink.o >/dev/null 2>&1
make[4]: Leaving directory '/build/nftables-0.9.0~git20190430/src'
make[3]: *** [Makefile:497: all] Error 2
make[3]: Leaving directory '/build/nftables-0.9.0~git20190430/src'
make[2]: *** [Makefile:484: all-recursive] Error 1
make[2]: Leaving directory '/build/nftables-0.9.0~git20190430'
make[1]: *** [Makefile:393: all] Error 2
make[1]: Leaving directory '/build/nftables-0.9.0~git20190430'
dh_auto_build: make -j2 returned exit code 2
make: *** [debian/rules:14: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
root@morfikownia:/build/nftables-0.9.0~git20190430#

Attachment: signature.asc
Description: OpenPGP digital signature


[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