[dpdk-dev] Build break on Ubuntu12.04

최강일 forerunner at etri.re.kr
Thu Apr 17 09:47:41 CEST 2014


Hello,

For DPDK 1.6.0,

cd $(DPDK_DIR)
make install T=x86_64-ivshmem-linuxapp-gcc

=> No Errors.

However, for Openvswitch,

cd $(OVS_DIR)/openvswitch
./boot.sh
./configure RTE_SDK=$(DPDK_DIR)
make

I got following ERROR message.

gcc -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wmissing-prototypes -Wmissing-field-initializers  -Wno-bad-function-cast -g -O2 -export-dynamic -lpthread  -o tests/test-dpdk-link tests/test-dpdk-link.o tests/dpdk-ring-stub.o lib/libopenvswitch.a /home/snp/dpdk-ovs/DPDK-1.6.0/x86_64-ivshmem-linuxapp-gcc/lib/librte_mbuf.a /home/snp/dpdk-ovs/DPDK-1.6.0/x86_64-ivshmem-linuxapp-gcc/lib/librte_eal.a /home/snp/dpdk-ovs/DPDK-1.6.0/x86_64-ivshmem-linuxapp-gcc/lib/librte_pmd_ring.a /home/snp/dpdk-ovs/DPDK-1.6.0/x86_64-ivshmem-linuxapp-gcc/lib/libethdev.a /home/snp/dpdk-ovs/DPDK-1.6.0/x86_64-ivshmem-linuxapp-gcc/lib/librte_cmdline.a /home/snp/dpdk-ovs/DPDK-1.6.0/x86_64-ivshmem-linuxapp-gcc/lib/librte_hash.a /home/snp/dpdk-ovs/DPDK-1.6.0/x86_64-ivshmem-linuxapp-gcc/lib/librte_lpm.a /home/snp/dpdk-ovs/DPDK-1.6.0/x86_64-ivshmem-linuxapp-gcc/lib/librte_mempool.a /home/snp/dpdk-ovs/DPDK-1.6.0/x86_64-ivshmem-linuxapp-gcc/lib/librte_ring.a /home/snp/dpdk-ovs/DPDK-1.6.0/x86_64-ivshmem-linuxapp-gcc/lib/librte_malloc.a /home/snp/dpdk-ovs/DPDK-1.6.0/x86_64-ivshmem-linuxapp-gcc/lib/librte_ivshmem.a  -lpthread -lrt -lm
lib/libopenvswitch.a(stream-ssl.o): In function `interpret_queued_ssl_error':
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:516: undefined reference to `ERR_get_error'
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:518: undefined reference to `ERR_error_string'
lib/libopenvswitch.a(stream-ssl.o): In function `interpret_ssl_error':
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:562: undefined reference to `ERR_get_error'
lib/libopenvswitch.a(stream-ssl.o): In function `read_cert_file':
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:1136: undefined reference to `PEM_read_X509'
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:1140: undefined reference to `ERR_get_error'
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:1140: undefined reference to `ERR_error_string'
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:1143: undefined reference to `X509_free'
lib/libopenvswitch.a(stream-ssl.o): In function `log_ca_cert':
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:1207: undefined reference to `EVP_sha1'
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:1207: undefined reference to `X509_digest'
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:1218: undefined reference to `X509_get_subject_name'
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:1218: undefined reference to `X509_NAME_oneline'
/home/snp/dpdk-ovs/openvswitch/lib/stream-ssl.c:1221: undefined reference to `CRYPTO_free'
lib/libopenvswitch.a(stream-ssl.o): In function `ssl_wait':

Please help me...



More information about the dev mailing list