Hi Chuan,

Thanks for your interest. So far I have found it is not straight forward way to 
build and bring up VPP with the plugins and that is required for FRR to work 
with VPP.

Let me start a new thread to resolve the current issues with netlink and router 
plugins compilation errors, I see the same issue is being discussed in the 
past. Hopefully we can get a resolution on this.

Yes, I can volunteer to put together the steps in an email or wiki if once I am 
able to bring-up VPP with FRR.

Thanks,
Kausik

From: Chuan Han <chuan...@google.com>
Sent: Wednesday, February 26, 2020 7:43 AM
To: Ray Kinsella <m...@ashroe.eu>
Cc: Majumdar, Kausik <kausik.majum...@commscope.com>; vpp-dev 
<vpp-dev@lists.fd.io>; vppsb-...@lists.fd.io
Subject: Re: [vpp-dev] VPP Plugins build errors from IPSec module

Message received from external source. Exercise caution when opening 
attachments, clicking links, or exchanging information.

I am also interested in frr integration with vpp. Could you please share 
detailed steps once you figure it out?

On Tue, Feb 25, 2020, 11:34 PM Ray Kinsella 
<m...@ashroe.eu<mailto:m...@ashroe.eu>> wrote:


I am not sure how accurate / current the information from the wiki is.

However looks like you are missing the Intel Multi-buffer Crypto Library.
Try a `make install-ext-deps`, then wipe and rebuild.

Ray K

On 25/02/2020 22:34, Majumdar, Kausik wrote:
> 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<https://secure-web.cisco.com/1ifNrQ2u1inEzXoO8GhOR89qpSUGwoqj2kArmFFKVtHMx_B27I_KVv642S4_AMbdQNN0E2VQMFCosTeFjObP78_rFGYR99WSJECyjDxPX5ISjlSUldqADm0VR2bPyq6EpMiCQzTEgwrlTVm8-YagNsFcxM-inO3yDWVnppveQ7pwpkinoqz-mZSPlThW7ymoGFsGHkbvSjVsM5OVK-zVhSwyhsvyLmsJ5dOQJ7iCNzgDXw_Tvr3Domj_CMxrJMIwAsQx5-W4DSlXIDn8R7RpWntgiWGDCUn7qDCqi43ImMld7k_oMjSzbOuguhanWOg_nReFqES3qSzbcroUy_bry6Q/https%3A%2F%2Fgithub.com%2FFRRouting%2Ffrr%2Fwiki%2FAlternate-forwarding-planes%3A-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<http://secure-web.cisco.com/1ZBGQG2r-isaK7c0yVgYVguPqUxgVipOrkANz-1c5obHxgV-V_BLqgzPK4249_v8Wei4QOAD2qvBn_BwFKaUVQalyPd_ao26Gt8-_YwC__sszjgOBKiEgbVrBohAnIpmdxWlJVjqN9ju6vuwZWt6uaZVEua-X2uP1BNjOjn-g9S-qvnX3t_haqQ5nzwbOBNgOkIAFOlg1xF8nN3qW9oJo0fyNEuAOfdKVh_US6sr--NQvt1b4fRFODbDUuPLr1f9MqGOxnEGjsMLbILKaRCuaEuhuiBPCYPmXnZbGbPYuqxdX8QhD_qS4onIPn5AObgoo/http%3A%2F%2Fexternal.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<http://secure-web.cisco.com/1xgmLdDktNGh69JtisCB0H8-3PUOJ-8-k1Gus9zobi3lc9nclJ1rsBMP756a76umf95xLk3R1RnQ1Bl07FRDjkEcsRK0Utv9Dgz8Yy4cSvLhd-IAiiyhjWjrbzQwvu3UDajwi9ZGixFikCKqzn09H6gPDJZWXNIbXa68zUtTIMZrjpyik-soDUYq5UqFnGy3M-y4m6cxg9F3DWhZKvfNSN890wiP-bwJh06R23cCtrw3hc-bfHC0ZlOzlvjAbDNQuH__AAUCb4k-DiWobzubsdzyuBIZLMtUnSRhRl1KXmEhBnxNJIRtGVAK03WmF-TUX/http%3A%2F%2Fvpp.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<http://secure-web.cisco.com/1EwGAWT7777BCjPeTiC9J0Duk6vk-LMqhR8jIavKSuoAkEPtTSY4e45M_lTF0cOMdjuPo6hteO8YtdcgwzxHDEvsfmPkVFY1EhEHMBHs2vNXn-8KX5d10auGsDDjbBjKWinJTsMZkYggBnDe7jjtNYjyDRbkRfYutwFU6RorKQ7_gr57L051wYP6HMVrL6dW5qzlqdp1U74VVu-_51VqN7uAuV9L9-dOsncYUfopc0NGfxAFSXV_bG6g_pASmLpTI76bnDCPWHbWeIe4aPrwCllXiz7bSWmRZ75CvvFgkBFEq1moX-hWH_SOOshnDE8ME/http%3A%2F%2Fnetlink.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 (#15566): https://lists.fd.io/g/vpp-dev/message/15566
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