AnsweredAssumed Answered

ovs-dpdk build failure

Question asked by Srinivas Bangalore on Jul 17, 2018

I am trying to build ovs-dpdk using flex-builder (LSDK version 18.06)

> flex-builder -c ovs-dpdk -a arm64

The build fails due to several undefined references (example below):

lib/.libs/libopenvswitch.a(stream-ssl.o): In function `sk_X509_num':
/home/srinivas/flexbuild/build/rfs/rootfs_ubuntu_bionic_arm64/usr/include/openssl/x509.h:97: undefined reference to `OPENSSL_sk_num'
lib/.libs/libopenvswitch.a(stream-ssl.o): In function `do_ssl_init':
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:954: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:955: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:997: undefined reference to `TLS_method'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:1008: undefined reference to `SSL_CTX_set_options'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:954: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:955: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:997: undefined reference to `TLS_method'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:1008: undefined reference to `SSL_CTX_set_options'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:954: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:955: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:997: undefined reference to `TLS_method'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:1008: undefined reference to `SSL_CTX_set_options'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:954: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:955: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:997: undefined reference to `TLS_method'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:1008: undefined reference to `SSL_CTX_set_options'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:954: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:955: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:997: undefined reference to `TLS_method'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:1008: undefined reference to `SSL_CTX_set_options'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:954: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:955: undefined reference to `OPENSSL_init_ssl'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:997: undefined reference to `TLS_method'
/home/srinivas/flexbuild/packages/apps/ovs-dpdk/lib/stream-ssl.c:1008: undefined reference to `SSL_CTX_set_options'

 

Would appreciate any help/pointers to resolve this.

Thanks!

Outcomes