qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] some error when compile qemu
@ 2016-03-15  6:33 高强
  2016-03-15 15:55 ` Thomas Huth
  2016-03-15 16:46 ` Alex Bennée
  0 siblings, 2 replies; 4+ messages in thread
From: 高强 @ 2016-03-15  6:33 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]

Hi,alls

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

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

[-- Attachment #2: Type: text/html, Size: 1723 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] some error when compile qemu
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2016-03-15 15:55 UTC (permalink / raw)
  To: 高强, qemu-devel

 Hi 高强,

On 15.03.2016 07:33, 高强 wrote:
> Hi,alls
> 
> I compile qemu on ubuntu 12.04,when "make",some error appears.the error:
> 
> migration/rdma.c: 在函数‘qemu_rdma_dump_id’中:
> migration/rdma.c:738:21: 错误: ‘struct ibv_port_attr’没有名为
> ‘link_layer’的成员
...

When reporting compiler errors, please make sure to switch the output of
the compiler to English language, e.g. by typing:

 LANG=C make

Thanks,
 Thomas

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] some error when compile qemu
  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
  2016-03-15 18:02   ` liang yan
  1 sibling, 1 reply; 4+ messages in thread
From: Alex Bennée @ 2016-03-15 16:46 UTC (permalink / raw)
  To: 高强; +Cc: qemu-devel


高强 <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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] some error when compile qemu
  2016-03-15 16:46 ` Alex Bennée
@ 2016-03-15 18:02   ` liang yan
  0 siblings, 0 replies; 4+ messages in thread
From: liang yan @ 2016-03-15 18:02 UTC (permalink / raw)
  To: qemu-devel



On 03/15/2016 10:46 AM, Alex Bennée wrote:
> 高强 <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

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?
>>
>> Thanks
>
> --
> Alex Bennée
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-15 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-03-15 18:02   ` liang yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).