[ovs-discuss] ovs 2.3 kernel module build failed on rhel 7.0 GA

Gang U Xu xugangsh at cn.ibm.com
Mon Oct 27 06:37:53 UTC 2014


Hi,

I tried to build ovs 2.3 kernel module on rhel 7.0 GA but failed

My linux kernel info is below: rpm -qa | grep kernel

kernel-3.10.0-123.el7.x86_64
kernel-devel-3.10.0-123.el7.x86_64
kernel-debug-devel-3.10.0-123.el7.x86_64
kernel-tools-3.10.0-123.el7.x86_64
kernel-headers-3.10.0-123.el7.x86_64
kernel-tools-libs-3.10.0-123.el7.x86_64

OVS source tarball is from here
http://openvswitch.org/releases/openvswitch-2.3.0.tar.gz

Below is build error log

++ '[' default = default ']'
+ ../configure --with-linux=/usr/src/kernels/3.10.0-123.el7.x86_64
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for fgrep... /bin/grep -F
checking for egrep... /bin/grep -E
checking for perl... /bin/perl
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to 
x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain 
format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for library containing pow... -lm
checking for library containing clock_gettime... none required
checking for library containing timer_create... -lrt
checking for library containing pthread_sigmask... -lpthread
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking vmware.h usability... no
checking vmware.h presence... no
checking for vmware.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for linux/netlink.h... yes
checking for pkg-config... /bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking for Python 2.x for x >= 4... /bin/python
checking for uuid Python module... yes
checking whether to add python/compat to PYTHONPATH... no
checking for dot... yes
checking net/if_packet.h usability... yes
checking net/if_packet.h presence... yes
checking for net/if_packet.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking whether strtok_r macro segfaults on some inputs... no
checking whether sys_siglist is declared... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_mtimensec... no
checking for struct ifreq.ifr_flagshigh... no
checking for mlockall... yes
checking for strnlen... yes
checking for getloadavg... yes
checking for statvfs... yes
checking for getmntent_r... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking linux/if_ether.h usability... yes
checking linux/if_ether.h presence... yes
checking for linux/if_ether.h... yes
checking stdatomic.h usability... no
checking stdatomic.h presence... no
checking for stdatomic.h... no
checking for net/if_mib.h... no
checking for library containing backtrace... none required
checking whether libc supports hooks for malloc and related functions... 
yes
checking valgrind/valgrind.h usability... yes
checking valgrind/valgrind.h presence... yes
checking for valgrind/valgrind.h... yes
checking for connect in -lsocket... no
checking for library containing gethostbyname... none required
checking XenServer release... none
checking for groff... yes
checking whether make is GNU make... yes
checking whether gcc has <threads.h> that supports thread_local... no
checking whether gcc supports __thread... yes
checking for library containing __atomic_load_8... no
checking whether gcc supports GCC 4.0+ atomic built-ins... yes
checking value of __atomic_always_lock_free(1)... 1
checking value of __atomic_always_lock_free(2)... 1
checking value of __atomic_always_lock_free(4)... 1
checking value of __atomic_always_lock_free(8)... 1
checking for library containing aio_write... none required
checking for pthread_set_name_np... no
checking for pthread_setname_np() variant... glibc
checking whether __linux__ is defined... true
checking for working posix_memalign... yes
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for stdio.h... yes
checking for string.h... (cached) yes
checking whether gcc accepts -Werror... yes
checking whether gcc accepts -Wall... yes
checking whether gcc accepts -Wextra... yes
checking whether gcc accepts -Wno-sign-compare... yes
checking whether gcc accepts -Wpointer-arith... yes
checking whether gcc accepts -Wdeclaration-after-statement... yes
checking whether gcc accepts -Wformat-security... no
checking whether gcc accepts -Wno-format-zero-length... yes
checking whether gcc accepts -Wswitch-enum... yes
checking whether gcc accepts -Wunused-parameter... yes
checking whether gcc accepts -Wstrict-aliasing... yes
checking whether gcc accepts -Wbad-function-cast... yes
checking whether gcc accepts -Wcast-align... yes
checking whether gcc accepts -Wstrict-prototypes... no
checking whether gcc accepts -Wold-style-definition... no
checking whether gcc accepts -Wmissing-prototypes... yes
checking whether gcc accepts -Wmissing-field-initializers... yes
checking whether gcc accepts -Wthread-safety... no
checking whether gcc accepts -Wno-unused... yes
checking whether gcc accepts -Wno-unused-parameter... yes
checking target hint for cgcc... x86_64
checking whether make has GNU make $(if) extension... yes
checking for Linux build directory... 
/usr/src/kernels/3.10.0-123.el7.x86_64
checking for Linux source directory... 
/usr/src/kernels/3.10.0-123.el7.x86_64
checking for kernel version... 3.10.0
checking whether src_err, matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/arch/x86/include/asm/checksum_32.h... 
no
checking whether ERR_CAST matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/err.h... yes
checking whether eth_hw_addr_random matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/etherdevice.h... yes
checking whether ether_addr_copy matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/etherdevice.h... no
checking whether vlan_set_encap_proto matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/if_vlan.h... yes
checking whether ipv4_is_multicast matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/in.h... yes
checking whether dev_disable_lro matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/netdevice.h... yes
checking whether dev_get_stats matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/netdevice.h... yes
checking whether dev_get_by_index_rcu matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/netdevice.h... yes
checking whether __skb_gso_segment matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/netdevice.h... yes
checking whether can_checksum_protocol matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/netdevice.h... yes
checking whether netdev_features_t matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/netdevice.h... yes
checking whether pcpu_sw_netstats matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/netdevice.h... no
checking whether prandom_u32 matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/random.h... yes
checking whether rcu_read_lock_held matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/rcupdate.h... yes
checking whether lockdep_rtnl_is_held matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/rtnetlink.h... yes
checking whether [^@]proto_data_valid matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... no
checking whether rxhash matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether u16.*rxhash matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... no
checking whether skb_dst( matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether skb_copy_from_linear_data_offset matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether skb_reset_tail_pointer matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether skb_cow_head matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether skb_transport_header matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether icmp6_hdr matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/icmpv6.h... yes
checking whether skb_warn_if_lro matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether consume_skb matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether skb_frag_page matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether skb_has_frag_list matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether __skb_fill_page_desc matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether skb_reset_mac_len matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether skb_unclone matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether skb_orphan_frags matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether skb_get_hash matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... no
checking whether skb_clear_hash matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether l4_rxhash matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/skbuff.h... yes
checking whether bool matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/types.h... yes
checking whether __wsum matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/types.h... no
checking whether __wsum matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/uapi/linux/types.h... yes
checking whether csum_replace4 matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/net/checksum.h... yes
checking whether csum_unfold matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/net/checksum.h... yes
checking whether parallel_ops matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/net/genetlink.h... yes
checking whether gre_cisco_register matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/net/gre.h... yes
checking whether nla_get_be16 matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/net/netlink.h... yes
checking whether nla_put_be16 matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/net/netlink.h... yes
checking whether nla_put_be32 matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/net/netlink.h... yes
checking whether nla_put_be64 matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/net/netlink.h... yes
checking whether nla_find_nested matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/net/netlink.h... yes
checking whether sctp_compute_cksum matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/net/sctp/checksum.h... yes
checking whether ADD_ALL_VLANS_CMD matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/if_vlan.h... no
checking whether this_cpu_ptr matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/percpu.h... yes
checking whether u64_stats_fetch_begin_irq matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/u64_stats_sync.h... 
no
checking whether openvswitch_handle_frame_hook matches in 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/openvswitch.h... no
checking for 
/usr/src/kernels/3.10.0-123.el7.x86_64/include/linux/log2.h... yes
configure: creating ./config.status
config.status: creating lib/stdio.h
config.status: creating lib/string.h
config.status: creating Makefile
config.status: creating datapath/Makefile
config.status: creating datapath/linux/Kbuild
config.status: creating datapath/linux/Makefile
config.status: creating datapath/linux/Makefile.main
config.status: creating tests/atlocal
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include/openflow/openflow.h.stamp commands
config.status: executing utilities/bugtool/dummy commands
+ /usr/bin/make -C _default/datapath/linux -j8
make: Entering directory 
`/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux'
ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../actions.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../datapath.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../dp_notify.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow_netlink.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow_table.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../vport.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../vport-gre.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../vport-internal_dev.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../vport-lisp.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../vport-netdev.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../vport-vxlan.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/dev-openvswitch.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/exthdrs_core.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/flex_array.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/flow_dissector.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/gre.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/gso.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/genetlink-openvswitch.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/hash.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/hash-x86.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/ip_tunnels_core.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/netdevice.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/net_namespace.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/reciprocal_div.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/skbuff-openvswitch.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/vxlan.c 

ln -s 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../linux/compat/utils.c 

/usr/bin/make -C /usr/src/kernels/3.10.0-123.el7.x86_64 
M=/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux 
modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-123.el7.x86_64'
  CC [M] 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/actions.o
  CC [M] 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/datapath.o
  CC [M] 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/dp_notify.o
  CC [M] 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow.o
  CC [M] 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_table.o
  CC [M] 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_netlink.o
  CC [M] 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport.o
  CC [M] 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport-gre.o
In file included from include/linux/if_arp.h:26:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/if_arp.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/datapath.c:23:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:287:5: 
error: 
conflicting types for 'skb_zerocopy'
 int skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len,
     ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:4:0,

                 from include/linux/if_arp.h:26,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/if_arp.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/datapath.c:23:
include/linux/skbuff.h:2445:6: note: previous declaration of 
'skb_zerocopy' was here
 void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from,
      ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/actions.c:21:0:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:287:5: 
error: 
conflicting types for 'skb_zerocopy'
 int skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len,
     ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:4:0,

                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/actions.c:21:
include/linux/skbuff.h:2445:6: note: previous declaration of 
'skb_zerocopy' was here
 void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from,
      ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/netlink.h:4:0
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:24,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow.c:19:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:287:5: 
error: 
conflicting types for 'skb_zerocopy'
 int skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len,
     ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:4:0,

                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/netlink.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:24,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow.c:19:
include/linux/skbuff.h:2445:6: note: previous declaration of 
'skb_zerocopy' was here
 void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from,
      ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport-gre.c:24:0:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:287:5: 
error: 
conflicting types for 'skb_zerocopy'
 int skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len,
     ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:4:0,

                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport-gre.c:24:
include/linux/skbuff.h:2445:6: note: previous declaration of 
'skb_zerocopy' was here
 void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from,
      ^
In file included from include/linux/if_ether.h:23:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/if_ether.h:4,

                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../include/linux/if_ether.h:26,
                 from include/linux/etherdevice.h:25,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/etherdevice.h:5
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport.c:19:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:287:5: 
error: 
conflicting types for 'skb_zerocopy'
 int skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len,
     ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:4:0,

                 from include/linux/if_ether.h:23,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/if_ether.h:4,

                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../include/linux/if_ether.h:26,
                 from include/linux/etherdevice.h:25,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/etherdevice.h:5
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport.c:19:
include/linux/skbuff.h:2445:6: note: previous declaration of 
'skb_zerocopy' was here
 void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from,
      ^
In file included from include/linux/if_ether.h:23:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/if_ether.h:4,

                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../include/linux/if_ether.h:26,
                 from include/uapi/linux/ethtool.h:17,
                 from include/linux/ethtool.h:16,
                 from include/linux/netdevice.h:42,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/netdevice.h:4
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/dp_notify.c:19:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:287:5: 
error: 
conflicting types for 'skb_zerocopy'
 int skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len,
     ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:4:0,

                 from include/linux/if_ether.h:23,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/if_ether.h:4,

                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../include/linux/if_ether.h:26,
                 from include/uapi/linux/ethtool.h:17,
                 from include/linux/ethtool.h:16,
                 from include/linux/netdevice.h:42,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/netdevice.h:4
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/dp_notify.c:19:
include/linux/skbuff.h:2445:6: note: previous declaration of 
'skb_zerocopy' was here
 void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from,
      ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/datapath.c:52:0:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/genetlink.h:100:31: 
error: 
static declaration of 'genlmsg_new_unicast' follows non-static declaration
 static inline struct sk_buff *genlmsg_new_unicast(size_t payload,
                               ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/genetlink.h:7:0
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/datapath.c:52:
include/net/genetlink.h:162:17: note: previous declaration of 
'genlmsg_new_unicast' was here
 struct sk_buff *genlmsg_new_unicast(size_t payload, struct genl_info 
*info,
                 ^
In file included from include/net/ndisc.h:52:0,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../compat.h:25,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../datapath.h:29,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/datapath.c:57:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:10:8: 
error: re
definition of 'struct fast_hash_ops'
 struct fast_hash_ops {
        ^
In file included from include/linux/hash.h:18:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:4,
                 from include/net/ndisc.h:52,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../compat.h:25,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../datapath.h:29,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/datapath.c:57:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/asm/hash.h:9:8: 
note: origin
ally defined here
 struct fast_hash_ops;
        ^
In file included from include/net/ndisc.h:52:0,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from include/net/ip.h:31,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip_tunnels.h:16
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:36,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow.c:19:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:10:8: 
error: re
definition of 'struct fast_hash_ops'
 struct fast_hash_ops {
        ^
In file included from include/linux/hash.h:18:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:4,
                 from include/net/ndisc.h:52,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from include/net/ip.h:31,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip_tunnels.h:16
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:36,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow.c:19:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/asm/hash.h:9:8: 
note: origin
ally defined here
 struct fast_hash_ops;
        ^
In file included from include/net/ndisc.h:52:0,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport-gre.c:38:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:10:8: 
error: re
definition of 'struct fast_hash_ops'
 struct fast_hash_ops {
        ^
In file included from include/linux/hash.h:18:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:4,
                 from include/net/ndisc.h:52,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport-gre.c:38:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/asm/hash.h:9:8: 
note: origin
ally defined here
 struct fast_hash_ops;
        ^
In file included from include/net/ndisc.h:52:0,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from include/net/ip.h:31,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/actions.c:31:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:10:8: 
error: re
definition of 'struct fast_hash_ops'
 struct fast_hash_ops {
        ^
In file included from include/linux/hash.h:18:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:4,
                 from include/net/ndisc.h:52,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from include/net/ip.h:31,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/actions.c:31:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/asm/hash.h:9:8: 
note: origin
ally defined here
 struct fast_hash_ops;
        ^
In file included from include/net/ndisc.h:52:0,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../compat.h:25,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../datapath.h:29,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport.c:34:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:10:8: 
error: re
definition of 'struct fast_hash_ops'
 struct fast_hash_ops {
        ^
In file included from include/linux/hash.h:18:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:4,
                 from include/net/ndisc.h:52,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../compat.h:25,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../datapath.h:29,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport.c:34:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/asm/hash.h:9:8: 
note: origin
ally defined here
 struct fast_hash_ops;
        ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/gre.h:10:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport-gre.c:44:
include/net/gre.h: In function 'gre_handle_offloads':
include/net/gre.h:42:2: error: implicit declaration of function 
'iptunnel_handle_offloads' [-Werror=implicit-f
unction-declaration]
  return iptunnel_handle_offloads(skb, gre_csum, SKB_GSO_GRE);
  ^
include/net/gre.h:42:2: warning: return makes pointer from integer without 
a cast [enabled by default]
cc1: some warnings being treated as errors
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/dp_notify.c:20:0:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/genetlink.h:100:31: 
error: 
static declaration of 'genlmsg_new_unicast' follows non-static declaration
 static inline struct sk_buff *genlmsg_new_unicast(size_t payload,
                               ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/genetlink.h:7:0
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/dp_notify.c:20:
include/net/genetlink.h:162:17: note: previous declaration of 
'genlmsg_new_unicast' was here
 struct sk_buff *genlmsg_new_unicast(size_t payload, struct genl_info 
*info,
                 ^
make[2]: *** 
[/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport-gre.o] 
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** 
[/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/vport.o] 
Error 1
make[2]: *** 
[/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow.o] 
Error 1
make[2]: *** 
[/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/datapath.o] 
Error 1
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/netlink.h:4:0
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:24,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_table.c:19:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:287:5: 
error: 
conflicting types for 'skb_zerocopy'
 int skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len,
     ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:4:0,

                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/netlink.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:24,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_table.c:19:
include/linux/skbuff.h:2445:6: note: previous declaration of 
'skb_zerocopy' was here
 void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from,
      ^
make[2]: *** 
[/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/actions.o] 
Error 1
In file included from include/net/ndisc.h:52:0,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../compat.h:25,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../datapath.h:29,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/dp_notify.c:24:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:10:8: 
error: re
definition of 'struct fast_hash_ops'
 struct fast_hash_ops {
        ^
In file included from include/linux/hash.h:18:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:4,
                 from include/net/ndisc.h:52,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../compat.h:25,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../datapath.h:29,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/dp_notify.c:24:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/asm/hash.h:9:8: 
note: origin
ally defined here
 struct fast_hash_ops;
        ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/netlink.h:4:0
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:24,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_netlink.c:21:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:287:5: 
error: 
conflicting types for 'skb_zerocopy'
 int skb_zerocopy(struct sk_buff *to, struct sk_buff *from, int len,
     ^
In file included from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/skbuff.h:4:0,

                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/netlink.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:24,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_netlink.c:21:
include/linux/skbuff.h:2445:6: note: previous declaration of 
'skb_zerocopy' was here
 void skb_zerocopy(struct sk_buff *to, const struct sk_buff *from,
      ^
make[2]: *** 
[/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/dp_notify.o] 
Error 1
In file included from include/net/ndisc.h:52:0,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from include/net/ip.h:31,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip_tunnels.h:16
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:36,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_table.c:19:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:10:8: 
error: re
definition of 'struct fast_hash_ops'
 struct fast_hash_ops {
        ^
In file included from include/linux/hash.h:18:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:4,
                 from include/net/ndisc.h:52,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from include/net/ip.h:31,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip_tunnels.h:16
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:36,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_table.c:19:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/asm/hash.h:9:8: 
note: origin
ally defined here
 struct fast_hash_ops;
        ^
make[2]: *** 
[/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_table.o] 
Error 1
In file included from include/net/ndisc.h:52:0,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from include/net/ip.h:31,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip_tunnels.h:16
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:36,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_netlink.c:21:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:10:8: 
error: re
definition of 'struct fast_hash_ops'
 struct fast_hash_ops {
        ^
In file included from include/linux/hash.h:18:0,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/linux/hash.h:4,
                 from include/net/ndisc.h:52,
                 from include/net/ipv6.h:20,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ipv6.h:6,
                 from include/net/inetpeer.h:15,
                 from include/net/route.h:28,
                 from include/net/ip.h:31,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip.h:4,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/net/ip_tunnels.h:16
,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/../flow.h:36,
                 from 
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_netlink.c:21:
/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/../datapath/linux/compat/include/asm/hash.h:9:8: 
note: origin
ally defined here
 struct fast_hash_ops;
        ^
make[2]: *** 
[/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux/flow_netlink.o] 
Error 1
make[1]: *** 
[_module_/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux] 
Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-123.el7.x86_64'
make: *** [default] Error 2
make: Leaving directory 
`/home/xugang/tmp3/ovs-2.3/BUILD/openvswitch-2.3.0/_default/datapath/linux'
error: Bad exit status from /var/tmp/rpm-tmp.g6P7sy (%build)

Could you support?
Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20141027/103e8af1/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 17908 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20141027/103e8af1/attachment-0002.jpe>


More information about the discuss mailing list