Hi,alls, I compile qemu on ubuntu 12.04,when "make",some error appears.the error:
migration/rdma.c: In function ‘qemu_rdma_dump_id’: migration/rdma.c:738:21: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ migration/rdma.c:739:22: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ migration/rdma.c:739:37: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first use in this function) migration/rdma.c:739:37: note: each undeclared identifier is reported only once for each function it appears in migration/rdma.c:740:24: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ migration/rdma.c:740:39: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first use in this function) migration/rdma.c: In function ‘qemu_rdma_broken_ipv6_kernel’: migration/rdma.c:839:26: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ migration/rdma.c:839:41: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first use in this function) migration/rdma.c:841:33: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ migration/rdma.c:841:48: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first use in this function) migration/rdma.c:880:18: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ make: *** [migration/rdma.o] Error 1 I have do that: apt-get build-dep qemu. when I install Recommended additional packages,two packages can't be installed,these are libseccomp-dev,libvdeplug-dev. errpr information: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libvdeplug-dev my linux kernel is 4.4.1. Could anybody know how to deal with it? Thanks!