All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: 高强 <mrgao.buffoon@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] some error when compile qemu
Date: Tue, 15 Mar 2016 16:46:05 +0000	[thread overview]
Message-ID: <87fuvradv6.fsf@linaro.org> (raw)
In-Reply-To: <CAJR0vrGiFdOWKB+e__RX_uZf2HzQeLXKwCEWdFe_rkhh+EOJWQ@mail.gmail.com>


高强 <mrgao.buffoon@gmail.com> writes:

> Hi,alls
>
> I compile qemu on ubuntu 12.04,when "make",some error appears.the
> error:

Start by ensuring you have all your build dependencies installed. On
Ubuntu:

    apt-get build-dep qemu

>
> migration/rdma.c: 在函数‘qemu_rdma_dump_id’中:
> migration/rdma.c:738:21: 错误: ‘struct ibv_port_attr’没有名为‘link_layer’的成员
> migration/rdma.c:739:22: 错误: ‘struct ibv_port_attr’没有名为‘link_layer’的成员
> migration/rdma.c:739:37: 错误: ‘IBV_LINK_LAYER_INFINIBAND’未声明(在此函数内第一次使用)
> migration/rdma.c:739:37: 附注: 每个未声明的标识符在其出现的函数内只报告一次
> migration/rdma.c:740:24: 错误: ‘struct ibv_port_attr’没有名为‘link_layer’的成员
> migration/rdma.c:740:39: 错误: ‘IBV_LINK_LAYER_ETHERNET’未声明(在此函数内第一次使用)
> migration/rdma.c: 在函数‘qemu_rdma_broken_ipv6_kernel’中:
> migration/rdma.c:839:26: 错误: ‘struct ibv_port_attr’没有名为‘link_layer’的成员
> migration/rdma.c:839:41: 错误: ‘IBV_LINK_LAYER_INFINIBAND’未声明(在此函数内第一次使用)
> migration/rdma.c:841:33: 错误: ‘struct ibv_port_attr’没有名为‘link_layer’的成员
> migration/rdma.c:841:48: 错误: ‘IBV_LINK_LAYER_ETHERNET’未声明(在此函数内第一次使用)
> migration/rdma.c:880:18: 错误: ‘struct ibv_port_attr’没有名为‘link_layer’的成员
> make: *** [migration/rdma.o] 错误 1
>
> look at the source code,maybe some head file is lossed,anybody knows how to
> deal with it?
>
> Thanks


--
Alex Bennée

  parent reply	other threads:[~2016-03-15 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-15  6:33 [Qemu-devel] some error when compile qemu 高强
2016-03-15 15:55 ` Thomas Huth
2016-03-15 16:46 ` Alex Bennée [this message]
2016-03-15 18:02   ` liang yan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fuvradv6.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=mrgao.buffoon@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.