Looks to me like a bug involving conditional compilation -- the vnet.am has the ipsec.api.h file generated only when WITH_LIBSSL is true, but vnet_all_api_h.h has ipsec.api.h included unconditionally. I recall Eric you were doing something recently with WITH_LIBSSL turned off/0'd. Maybe something like this works but I have not tested it:
diff --git a/src/vnet/vnet_all_api_h.h b/src/vnet/vnet_all_api_h.h index 0b225340..70525fdd 100644 --- a/src/vnet/vnet_all_api_h.h +++ b/src/vnet/vnet_all_api_h.h @@ -44,7 +44,9 @@ #include <vnet/lldp/lldp.api.h> #include <vnet/vxlan-gpe/vxlan_gpe.api.h> #include <vnet/bfd/bfd.api.h> +#if WITH_LIBSSL > 0 #include <vnet/ipsec/ipsec.api.h> +#endif #include <vnet/ipsec-gre/ipsec_gre.api.h> #include <vnet/lisp-cp/lisp.api.h> #include <vnet/lisp-gpe/lisp_gpe.api.h> Burt On Fri, Aug 25, 2017 at 7:03 AM, Eric Chen <eri...@marvell.com> wrote: > Hi > > > > I am building fd.io w/ dpdk natively on an am64 box, however encounters > below error, > > I didn’t find ipsec.api.h under the package, > > Shouldn’t have such a basic problem, what did I miss? > > Could anyone help me out? > > > > > > CC vnet/policer/xlate.lo > > In file included from /home/ericxh/work/git_work/fd. > io_vpp/build-data/../src/vnet/vnet_msg_enum.h:24:0, > > from /home/ericxh/work/git_work/fd. > io_vpp/build-data/../src/vnet/interface_api.c:30: > > /home/ericxh/work/git_work/fd.io_vpp/build-data/../src/vnet/vnet_all_api_h.h:47:34: > fatal error: vnet/ipsec/ipsec.api.h: No such file or directory > > compilation terminated. > > > > > > Thanks > > Eric > > _______________________________________________ > 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