OpenWrt Forum Archive

Topic: problems in compiling openvswitch

The content of this topic has been archived on 27 Feb 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Help!
I git the openwrt trunk, and when I compile openvswitch over octeon platform, some errors occurred.

make  all-recursive
make[4]: Entering directory `/samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1'
Making all in /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux
make[5]: Entering directory `/samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux'
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../actions.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../datapath.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../dp_notify.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../flow.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../flow_netlink.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../flow_table.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../vport.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../vport-gre.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../vport-internal_dev.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../vport-lisp.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../vport-netdev.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../vport-vxlan.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/dev-openvswitch.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/exthdrs_core.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/flex_array.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/flow_dissector.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/gre.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/gso.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/genetlink-openvswitch.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/hash.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/hash-x86.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/ip_tunnels_core.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/netdevice.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/net_namespace.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/reciprocal_div.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/skbuff-openvswitch.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/vxlan.c
ln -s /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/../linux/compat/utils.c
make -C /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/linux-octeon/linux-3.14.28 M=/samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux modules
make[6]: Entering directory `/samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/linux-octeon/linux-3.14.28'
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/actions.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/datapath.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/dp_notify.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow_netlink.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow_table.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-gre.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-internal_dev.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-lisp.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-netdev.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-vxlan.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/dev-openvswitch.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/exthdrs_core.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flex_array.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow_dissector.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/gre.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/gso.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/genetlink-openvswitch.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/hash.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/hash-x86.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/ip_tunnels_core.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/netdevice.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/net_namespace.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/reciprocal_div.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/skbuff-openvswitch.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vxlan.o
  CC [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/utils.o
  LD [M]  /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/openvswitch.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/actions.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/actions.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/datapath.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/datapath.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/dp_notify.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/dp_notify.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow_netlink.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow_netlink.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow_table.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow_table.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-gre.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-gre.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-internal_dev.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-internal_dev.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-lisp.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-lisp.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-netdev.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-netdev.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-vxlan.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vport-vxlan.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/dev-openvswitch.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/dev-openvswitch.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/exthdrs_core.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/exthdrs_core.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flex_array.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flex_array.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow_dissector.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/flow_dissector.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/gre.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/gre.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/gso.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/gso.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/genetlink-openvswitch.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/genetlink-openvswitch.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/hash.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/hash.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/hash-x86.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/hash-x86.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/ip_tunnels_core.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/ip_tunnels_core.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/netdevice.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/netdevice.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/net_namespace.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/net_namespace.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/reciprocal_div.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/reciprocal_div.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/skbuff-openvswitch.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/skbuff-openvswitch.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vxlan.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/vxlan.o
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/utils.o: ABI is incompatible with that of the selected emulation
mips64-openwrt-linux-uclibc-ld: failed to merge target specific data of file /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/utils.o
mips64-openwrt-linux-uclibc-ld: Attempt to do relocatable link with elf64-tradbigmips input and elf32-ntradbigmips output
mips64-openwrt-linux-uclibc-ld: /samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/actions.o: file class ELFCLASS64 incompatible with ELFCLASS32
mips64-openwrt-linux-uclibc-ld: final link failed: File in wrong format
make[7]: *** [/samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux/openvswitch.o] Error 1
make[6]: *** [_module_/samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux] Error 2
make[6]: Leaving directory `/samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/linux-octeon/linux-3.14.28'
make[5]: *** [default] Error 2
make[5]: Leaving directory `/samba/work/openwrt/build_dir/target-mips64_octeon_64_uClibc-0.9.33.2/openvswitch-2.3.1/datapath/linux'

(Last edited by zeech on 31 Jan 2015, 12:30)

file class ELFCLASS64 incompatible with ELFCLASS32
mips64-openwrt-linux-uclibc-ld: final link failed: File in wrong format

This means that your cross compiling goes wrong, not openwrt trunk. Did you install cross compilation tools and libs?

bogdanul2003 wrote:

file class ELFCLASS64 incompatible with ELFCLASS32
mips64-openwrt-linux-uclibc-ld: final link failed: File in wrong format

This means that your cross compiling goes wrong, not openwrt trunk. Did you install cross compilation tools and libs?

Yes. I compiled the whole openwrt.
make dirclean
make menuconfig
make V=s

and it works when I did it over ar71xx.

Anybody can help me?

Please file a bug report.

In that report state that the buildbot has the same error:
http://buildbot.openwrt.org:8010/broken … ompile.txt

ar71xx isnt a 64bit platform
There might be some error in openvswitch configure/makefiles or OpenWrt that uses the wrong commands to create file with different ABI/incompatible ABI (" ABI is incompatible with that of the selected emulation")

zloop wrote:

Please file a bug report.

In that report state that the buildbot has the same error:
http://buildbot.openwrt.org:8010/broken … ompile.txt

ar71xx isnt a 64bit platform
There might be some error in openvswitch configure/makefiles or OpenWrt that uses the wrong commands to create file with different ABI/incompatible ABI (" ABI is incompatible with that of the selected emulation")

It hasn't been resolved yet. But thanks!

It's been resolved temporary.

I exported an env "LDEMULATION" to force the ld to choose a 64bit emulation.

It's very ugly, and I hope someone can provide a perfect solution.

(Last edited by zeech on 4 Feb 2015, 09:21)

It hasn't been resolved yet. But thanks!

did you file a bug ? I cannot find anything

this upstream patch to libtool is related to this problem:
http://git.savannah.gnu.org/cgit/libtoo … 8357f79951

however I cannot get this to work and asked on the mailing list
since this is a Toolchain Issue

I dont know if its an issue with openvswitch itself / I dont know if it would make sense to report this issue to openvswitch

(Last edited by zloop on 5 Feb 2015, 10:39)

The discussion might have continued from here.