[ovs-dev] [PATCH 0/2] Fix DPDK build

Thomas Graf tgraf at noironetworks.com
Wed Sep 10 20:33:35 UTC 2014


WIP, this still results in an error:

/bin/bash ./libtool  --tag=CC   --mode=link env REAL_CC="gcc -std=gnu99" CHECK="sparse -I ./include/sparse -m64 -I /usr/local/include -I /usr/include/x86_64-linux-gnu  " cgcc -target=x86_64 -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wformat-security -Wno-format-zero-length -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wmissing-prototypes -Wmissing-field-initializers -I./dpdk-1.7.0/build/include  -Werror -Wno-error=bad-function-cast  -L./dpdk-1.7.0/build/lib   -o tests/ovsclient tests/ovs_client/ovs_client.o lib/libopenvswitch.la -lintel_dpdk -Wl,--whole-archive,-ldl,--no-whole-archive -lpthread -lrt -lm  -lintel_dpdk -Wl,--whole-archive,-ldl,--no-whole-archive -lpthread -lrt -lm 
libtool: link: env "REAL_CC=gcc -std=gnu99" "CHECK=sparse -I ./include/sparse -m64 -I /usr/local/include -I /usr/include/x86_64-linux-gnu  " cgcc -target=x86_64 -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wformat-security -Wno-format-zero-length -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wmissing-prototypes -Wmissing-field-initializers -I./dpdk-1.7.0/build/include -Werror -Wno-error=bad-function-cast -o tests/ovsclient tests/ovs_client/ovs_client.o -Wl,--whole-archive -Wl,-ldl -Wl,--no-whole-archive -Wl,--whole-archive -Wl,-ldl -Wl,--no-whole-archive  -L./dpdk-1.7.0/build/lib lib/.libs/libopenvswitch.a -lssl -lcrypto -lintel_dpdk -lpthread -lrt -lm
./dpdk-1.7.0/build/lib/libintel_dpdk.so: undefined reference to `dlopen'
./dpdk-1.7.0/build/lib/libintel_dpdk.so: undefined reference to `dlerror'

Thomas Graf (2):
  build: Respect CFLAGS and LDFLAGS passed to make
  travis: Fix DPDK build and treat bad-function-cast warning as
    non-error

 .travis.yml       |  2 +-
 .travis/build.sh  | 15 +++++++++++----
 Makefile.am       |  2 ++
 acinclude.m4      |  8 +++++++-
 configure.ac      |  2 ++
 m4/openvswitch.m4 |  4 ++--
 6 files changed, 25 insertions(+), 8 deletions(-)

-- 
1.9.3




More information about the dev mailing list