From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahvRl-000118-KW for qemu-devel@nongnu.org; Mon, 21 Mar 2016 04:44:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahvRk-0005Zd-Jw for qemu-devel@nongnu.org; Mon, 21 Mar 2016 04:44:21 -0400 Received: from mail-oi0-x229.google.com ([2607:f8b0:4003:c06::229]:36509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahvRk-0005ZP-DZ for qemu-devel@nongnu.org; Mon, 21 Mar 2016 04:44:20 -0400 Received: by mail-oi0-x229.google.com with SMTP id r187so134185003oih.3 for ; Mon, 21 Mar 2016 01:44:19 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 21 Mar 2016 16:44:19 +0800 Message-ID: From: Yunqiang Gao Content-Type: multipart/alternative; boundary=001a1137c99c406014052e8b1a15 Subject: [Qemu-devel] (no subject) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" --001a1137c99c406014052e8b1a15 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,alls, I compile qemu on ubuntu 12.04,when "make",some error appears.the error: migration/rdma.c: In function =E2=80=98qemu_rdma_dump_id=E2=80=99: migration/rdma.c:738:21: error: =E2=80=98struct ibv_port_attr=E2=80=99 has = no member named =E2=80=98link_layer=E2=80=99 migration/rdma.c:739:22: error: =E2=80=98struct ibv_port_attr=E2=80=99 has = no member named =E2=80=98link_layer=E2=80=99 migration/rdma.c:739:37: error: =E2=80=98IBV_LINK_LAYER_INFINIBAND=E2=80=99= 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: =E2=80=98struct ibv_port_attr=E2=80=99 has = no member named =E2=80=98link_layer=E2=80=99 migration/rdma.c:740:39: error: =E2=80=98IBV_LINK_LAYER_ETHERNET=E2=80=99 u= ndeclared (first use in this function) migration/rdma.c: In function =E2=80=98qemu_rdma_broken_ipv6_kernel=E2=80= =99: migration/rdma.c:839:26: error: =E2=80=98struct ibv_port_attr=E2=80=99 has = no member named =E2=80=98link_layer=E2=80=99 migration/rdma.c:839:41: error: =E2=80=98IBV_LINK_LAYER_INFINIBAND=E2=80=99= undeclared (first use in this function) migration/rdma.c:841:33: error: =E2=80=98struct ibv_port_attr=E2=80=99 has = no member named =E2=80=98link_layer=E2=80=99 migration/rdma.c:841:48: error: =E2=80=98IBV_LINK_LAYER_ETHERNET=E2=80=99 u= ndeclared (first use in this function) migration/rdma.c:880:18: error: =E2=80=98struct ibv_port_attr=E2=80=99 has = no member named =E2=80=98link_layer=E2=80=99 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! --001a1137c99c406014052e8b1a15 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,alls,

=C2=A0I compile qemu on ubuntu 12.04,when "make= ",some error appears.the=C2=A0er= ror:

migration= /rdma.c: In function =E2=80=98qemu_rdma_dump_id=E2=80=99:
= migration/rdma.c:738:21: error: =E2=80=98struct ibv= _port_attr=E2=80=99 has no member named =E2=80=98link_layer=E2=80=99=
migration/rdma.c:739:22: error: =E2=80= =98struct ibv_port_attr=E2=80=99 has no member named =E2=80=98link_layer=E2= =80=99
migration/rdma.c:739:37: er= ror: =E2=80=98IBV_LINK_LAYER_INFINIBAND=E2=80=99 undeclared (first use in t= his function)
migration/rdma.c:739= :37: note: each undeclared identifier is reported only once for each functi= on it appears in
migration/rdma.c:= 740:24: error: =E2=80=98struct ibv_port_attr=E2=80=99 has no member named = =E2=80=98link_layer=E2=80=99
migra= tion/rdma.c:740:39: error: =E2=80=98IBV_LINK_LAYER_ETHERNET=E2=80=99 undecl= ared (first use in this function)
= migration/rdma.c: In function =E2=80=98qemu_rdma_broken_ipv6_kernel=E2=80= =99:
migration/rdma.c:839:26: erro= r: =E2=80=98struct ibv_port_attr=E2=80=99 has no member named =E2=80=98link= _layer=E2=80=99
migration/rdma.c:8= 39:41: error: =E2=80=98IBV_LINK_LAYER_INFINIBAND=E2=80=99 undeclared (first= use in this function)
migration/r= dma.c:841:33: error: =E2=80=98struct ibv_port_attr=E2=80=99 has no member n= amed =E2=80=98link_layer=E2=80=99
= migration/rdma.c:841:48: error: =E2=80=98IBV_LINK_LAYER_ETHERNET=E2=80=99 u= ndeclared (first use in this function)
migration/rdma.c:880:18: error: =E2=80=98struct ibv_port_attr=E2=80=99= has no member named =E2=80=98link_layer=E2=80=99
make: *** [migration/rdma.o] Error 1

I have do = that:=C2=A0apt-get build-dep qemu.

<= /font>
when I install=C2=A0Recommend= ed additional packages,two packages can't be installed,these are=C2=A0<= /span>libseccomp-dev,libvdeplug-dev.
<= font color=3D"#000000">errpr information:
Reading pa= ckage lists... Done
Building dependency tree =C2=A0 = =C2=A0 =C2=A0=C2=A0
Reading state information... Don= e
E: Unable to locate package libvdeplug-dev<= /font>

my linux kernel is 4.4.1.

Could anybody know how to dea= l with it?

Thanks!

--001a1137c99c406014052e8b1a15--