[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] some error when compile qemu

From: liang yan
Subject: Re: [Qemu-devel] some error when compile qemu
Date: Tue, 15 Mar 2016 12:02:30 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

On 03/15/2016 10:46 AM, Alex Bennée wrote:
高强 <address@hidden> writes:


I compile qemu on ubuntu 12.04,when "make",some error appears.the
Start by ensuring you have all your build dependencies installed. On

     apt-get build-dep qemu

Yes, according to your error message, you may miss your libnuma.so library.
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?


Alex Bennée

reply via email to

[Prev in Thread] Current Thread [Next in Thread]