[dpdk-dev] Build break on Ubuntu12.04

Olivier MATZ olivier.matz at 6wind.com
Thu Apr 17 10:21:07 CEST 2014


Hi,

On 04/17/2014 09:47 AM, 최강일 wrote:
> 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/l
ib/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':

I think you should post your question to dpdk-ovs at lists.01.org
instead.

Regards,
Olivier



More information about the dev mailing list