Dear Beiser,
I currently build (and actually create a package for SUSE distro) for VPP 17.10
compiling against a shared DPDK installation without any issues.
First of all, I apply the below patch:--- build-data/platforms/vpp.mk.old       
2017-08-21 16:05:45.202038250 +0200+++ build-data/platforms/vpp.mk      2017-
08-21 16:05:59.794798235 +0200@@ -40,10 +40,10 @@  # DPDK configuration
parameters # vpp_uses_dpdk_mlx5_pmd = yes-# vpp_uses_external_dpdk = yes-#
vpp_dpdk_inc_dir = /usr/include/dpdk-# vpp_dpdk_lib_dir = /usr/lib-#
vpp_dpdk_shared_lib = yes+vpp_uses_external_dpdk = yes+vpp_dpdk_inc_dir =
/usr/include/dpdk+vpp_dpdk_lib_dir = /usr/lib+vpp_dpdk_shared_lib = yes  # load
balancer plugin is not portable on 32 bit platform ifeq ($(MACHINE),i686)
After doing that, the steps I follow are pretty straight forward:$ make V=1
bootstrap$ make V=1 build-release
Can you try the above?
Cheers,Marco
On Thu, 2017-11-09 at 15:10 +0000, Shachar Beiser wrote:
> Hi ,
>       I am trying to compile with DPDK external . it fails to compile.
>  
>                  -Shachar Beiser
> 
>  
> Both on master branch and on origin/stable/1710 the following procedure is not
> working
> ------------------------------------------------------------------------------
> ------------------------------
> export CFLAGS="-g -DFORTIFY_SOURCE=2 -fstack-protector -fPIC
> -march=sandybridge -O2 -I/home/ubuntu/dpdk.org/x86_64-native-linuxapp-
> gcc/include  -L/home/ubuntu/dpdk.org/x86_64-native-linuxapp-gcc/lib"
> sudo autoreconf -fis
> sudo ./configure -disable-japi
> sudo make -j32
>  
> Failure
> --------
>  
> CC       vnet/interface_cli.lo
> (null):48 syntax error
> Makefile:8077: recipe for target 'vnet/geneve/geneve.api.h' failed
> make[2]: *** [vnet/geneve/geneve.api.h] Error 1
> make[2]: *** Waiting for unfinished jobs....
>   CC       vnet/interface_format.lo
> (null):48 syntax error
> Makefile:8077: recipe for target 'vnet/dns/dns.api.h' failed
> make[2]: *** [vnet/dns/dns.api.h] Error 1
> make[2]: Leaving directory '/home/ubuntu/vpp.bin/src'
> Makefile:7068: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/ubuntu/vpp.bin/src'
> Makefile:3597: recipe for target 'all' failed
> make: *** [all] Error 2
>  
>  
>  
>  
> 
> 
> 
> 
> _______________________________________________
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to