git clone -b v1.2.2 https://github.com/travelping/upg-vpp.git
cd /upg-vpp
make update-vpp
cd vpp
make install-dep
make install-ext-deps
make build-release
error:
Install prefix : /upg-vpp/vpp/build-root/install-vpp_debug-native/vpp
-- Configuring done
-- Generating done
-- Build files have been written to: /upg-vpp/vpp/build-root/build-vpp_debug-native/vpp
@@@@ Building vpp in /upg-vpp/vpp/build-root/build-vpp_debug-native/vpp @@@@
[356/2498] Building C object plugins/nat/CMakeFiles/nat_plugin_skx.dir/in2out_ed.c.o
FAILED: plugins/nat/CMakeFiles/nat_plugin_skx.dir/in2out_ed.c.o
ccache /usr/lib/ccache/gcc-9 -DHAVE_FCNTL64 -DHAVE_GETCPU -DHAVE_MEMFD_CREATE -I/upg-vpp/vpp/src -I. -Iinclude -I/upg-vpp/vpp/src/plugins -Iplugins -Iplugins/nat -Wno-address-of-packed-member -g -fPIC -Werror -Wall -march=corei7 -mtune=corei7-avx -O0 -DCLIB_DEBUG -fstack-protector -DFORTIFY_SOURCE=2 -fno-common -fPIC -DCLIB_MARCH_VARIANT=skx -march=skylake-avx512 -mtune=skylake-avx512 -mprefer-vector-width=256 -MD -MT plugins/nat/CMakeFiles/nat_plugin_skx.dir/in2out_ed.c.o -MF plugins/nat/CMakeFiles/nat_plugin_skx.dir/in2out_ed.c.o.d -o plugins/nat/CMakeFiles/nat_plugin_skx.dir/in2out_ed.c.o -c /upg-vpp/vpp/src/plugins/nat/in2out_ed.c
/upg-vpp/vpp/src/plugins/nat/in2out_ed.c: In function 'nat_controlled_alloc_addr_and_port':
/upg-vpp/vpp/src/plugins/nat/in2out_ed.c:213:7: error: variable 'block_size' set but not used [-Werror=unused-but-set-variable]
213 | u16 block_size;
| ^~~~~~~~~~
cc1: all warnings being treated as errors
[365/2498] Building C object plugins/nat/CMakeFiles/nat_plugin_icl.dir/in2out.c.o
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:693: vpp-build] Error 1
make[1]: Leaving directory '/upg-vpp/vpp/build-root'
make: *** [Makefile:354: build] Error 2
Hello
UPG version ==> I tried v2.2.0 and v2.2.2
Steps:
error:
Please, can someone help?
Bests Abderaouf