DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Build break on Ubuntu12.04
@ 2014-04-17  7:47 최강일
  2014-04-17  8:21 ` Olivier MATZ
  0 siblings, 1 reply; 2+ messages in thread
From: 최강일 @ 2014-04-17  7:47 UTC (permalink / raw)
  To: dev

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...


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] Build break on Ubuntu12.04
  2014-04-17  7:47 [dpdk-dev] Build break on Ubuntu12.04 최강일
@ 2014-04-17  8:21 ` Olivier MATZ
  0 siblings, 0 replies; 2+ messages in thread
From: Olivier MATZ @ 2014-04-17  8:21 UTC (permalink / raw)
  To: 최강일; +Cc: dev

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@lists.01.org
instead.

Regards,
Olivier

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-17  8:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-17  7:47 [dpdk-dev] Build break on Ubuntu12.04 최강일
2014-04-17  8:21 ` Olivier MATZ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).