Hi Kausik,

Did you run:
  make install-ext-dep

/neale

From: <vpp-dev@lists.fd.io> on behalf of "Majumdar, Kausik" 
<kausik.majum...@commscope.com>
Date: Tuesday 25 February 2020 at 23:35
To: "vpp-dev@lists.fd.io" <vpp-dev@lists.fd.io>
Cc: "vppsb-...@lists.fd.io" <vppsb-...@lists.fd.io>, "Majumdar, Kausik" 
<kausik.majum...@commscope.com>
Subject: [vpp-dev] VPP Plugins build errors from IPSec module

Hi folks,
 
I am trying to build VPP netlink and router plugins based on vpp branch v20.01 
to integrate and run with routing control plane FRR. I am following the 
guidelines based on 
https://github.com/FRRouting/frr/wiki/Alternate-forwarding-planes:-VPP 
 
I am finding issues while trying to compile the IPSec plugin code, it is 
exiting with the below error. I have tried with latest VPP master branch, the 
result is pretty much same. Is there any resolution to this issue or am I 
missing something? If I try to use VPP v18.10 branch then I hit other netlink 
issue which I think discussed in this thread in the past. Hence moved to latest 
VPP code base, tried to link VPPSB and build the netlink-install and 
router-install plugins, hitting IPSec build failures. Any recommendation would 
be helpful.
 
I am running Centos 7.4 machine. 
 
[root@localhost build-root]# git branch
* (detached from v20.01)
  master
 
[root@localhost build-root]# make V=0 PLATFORM=vpp TAG=vpp_debug 
netlink-install router-install
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for external @@@@
@@@@ Makefile fragment found in /root/vpp/build-data/packages/external.mk @@@@
@@@@ Source found in /root/vpp/build @@@@
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for vpp @@@@
@@@@ Makefile fragment found in /root/vpp/build-data/packages/vpp.mk @@@@
@@@@ Source found in /root/vpp/src @@@@
@@@@ Arch for platform 'vpp' is native @@@@
@@@@ Finding source for netlink @@@@
@@@@ Makefile fragment found in /root/vpp/build-data/packages/netlink.mk @@@@
@@@@ Source found in /root/vpp/netlink @@@@
@@@@ Configuring external: nothing to do @@@@
@@@@ Building external: nothing to do @@@@
@@@@ Installing external: nothing to do @@@@
@@@@ Configuring vpp: nothing to do @@@@
@@@@ Building vpp in /root/vpp/build-root/build-vpp_debug-native/vpp @@@@
[1/660] Building C object 
plugins/crypto_ipsecmb/CMakeFiles/crypto_ipsecmb_plugin.dir/ipsecmb.c.o
FAILED: plugins/crypto_ipsecmb/CMakeFiles/crypto_ipsecmb_plugin.dir/ipsecmb.c.o 
/opt/rh/devtoolset-7/root/bin/cc -Dcrypto_ipsecmb_plugin_EXPORTS 
-I/root/vpp/src -I. -Iinclude -I/root/vpp/src/plugins -Iplugins 
-I/opt/vpp/external/x86_64/include -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   -march=silvermont 
-maes -MD -MT 
plugins/crypto_ipsecmb/CMakeFiles/crypto_ipsecmb_plugin.dir/ipsecmb.c.o -MF 
plugins/crypto_ipsecmb/CMakeFiles/crypto_ipsecmb_plugin.dir/ipsecmb.c.o.d -o 
plugins/crypto_ipsecmb/CMakeFiles/crypto_ipsecmb_plugin.dir/ipsecmb.c.o   -c 
/root/vpp/src/plugins/crypto_ipsecmb/ipsecmb.c
/root/vpp/src/plugins/crypto_ipsecmb/ipsecmb.c:20:10: fatal error: 
intel-ipsec-mb.h: No such file or directory
 #include <intel-ipsec-mb.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
[4/660] Building C object 
plugins/ct6/CMakeFiles/ct6_test_plugin.dir/ct6_test.c.o
ninja: build stopped: subcommand failed.
make: *** [vpp-build] Error 1
[root@localhost build-root]# 
 
Thanks,
Kausik

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15536): https://lists.fd.io/g/vpp-dev/message/15536
Mute This Topic: https://lists.fd.io/mt/71543494/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to