qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] (no subject)


From: John Snow
Subject: Re: [Qemu-devel] (no subject)
Date: Mon, 21 Mar 2016 14:00:14 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0


On 03/21/2016 04:44 AM, Yunqiang Gao wrote:
> 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!
> 

If you don't need the RDMA feature, you could always just --disable-rdma
for now to see if you can get QEMU to build.

Looks like one of your libraries is outdated, for me
'IBV_LINK_LAYER_INFINIBAND' is defined in
/usr/include/infiniband/verbs.h; provided by
libibverbs-devel-1.1.8-3.fc22.x86_64.

Maybe your libibverbs is too old.

--js



reply via email to

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